topical media & game development

talk show tell print

lib-game-delta3d-sdk-examples-testPython-readme.txt / txt



  

##############################

# # # Delta3D Examples: testPython # # #

##############################

Uses modules: dtCore, dtABC, dtPython, dtUtil Purpose ------- To demonstrate the Python interface to Delta3D. There are several scripts: flyhelo.py: Should be triggered from testPython by hitting the 'S' key to fly the helicopter in a circle. testpathedcamera.py: Flies the camera along a series of waypoints. testpythongui.py: Opens a Tk GUI and displays the helo. Bug: user may need to click on the menu before helo appears. Note: this doens't work on Linux due to X11/Tk/Producer problems. testpython.py: Flies a helo in a circle. This should be run straight from Python instead of being triggered from the testPython C++ application. There are a few other examples re-implemented in Python: examples/testLights/testlights.py examples/testMap/testmap.py examples/testSound/testsound.py Instructions ------------ Note: Set the environment variable PYTHONPATH to the folder that contains the Delta3D .pyd files. Otherwise the scripts will not be able to import the modules. Controls -------- <Esc> - Exit 's' - Triggers flyhelo.py and makes the helo fly in a circle.


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.