Jaa


IronPython Sample: Direct3D

This sample, written by Lee Culver, provides a step-by-step, comprehensive tutorial on creating graphical applications using managed DirectX API(s) from IronPython. It will teach you how to:

  • Load and render DirectX meshes
  • Position, rotate, and move objects
  • Auto-track objects with cameras

The readme.htm in the download (download page: IronPython-1.0-Samples-Direct3D.zip) is quintessential to understanding this sample. It is written in tutorial format and walks you through various exercises that teach you DirectX API manipulation and usage. You do not need prior knowledge of DirectX or WinForms to follow the tutorial, although having some basic Python knowledge is highly advisable. By the time you finish with the tutorial, you should be able to comfortably work with basic Direct3D classes from Python.