-
Notifications
You must be signed in to change notification settings - Fork 26
PythonExamples
**Last revision:** ver. 3.4 - 4 March 2013
*<wiki:toc max_depth="4" />
This documents lists all of the python examples included in the omegalib distribution. The examples can be found in the data/examples
directory. They can be started using the orun
command, like the
following:
orun -s examples/picking.py
In general, orun should be launched from its containing binary directory, to make sure all libraries and data paths are set up correctly. In linux, this is not as important, and examples should run regardless of the starting directory.
Screenshot| Script name| Techniques |---|---| | loadModel.py| simple model loading, point and spot lights. | billboard.py| camera facing nodes and interactors. | embeddedShader.py| Custom object shaders embedded in python script. Custom shader uniforms. | fxdemo.py| Various rendering effects. Custom multilevel menus. Picking. | headlight.py| Scene hierarchy. Camera-attached lights. Trackable objects. | lightFunction.py| CUstom shader light functions. Interactors. | multilight.py| Multple scene lights. Event Handling. Interactors. Scene hierarchy. Menus. Context Menus. | picking.py| Object ray picking. Ui-to-texture rendering. | spincube.py| Basic shape creation. Using the update function. | uitotexture.py| Render-to-texture ui. Using the update function.