|
|
UsingOsgswig
Using osgswig
Simple Python OsgViewer
import osgDB, osgViewer
loadedModel = osgDB.readNodeFile("cow.osg")
viewer = osgViewer.Viewer()
viewer.setSceneData(loadedModel)
viewer.addEventHandler(osgViewer.StatsHandler());
viewer.run()Included examples (Python)
- osgpick - simple mouse picking
- pyramid - drawing geometry
- osgART - osg and ARToolkit integration
- osgviewerWX - osgViewer embedded in a wx-windows widget
- osgviewerGTK - osgViewer embedded in a gtk widget
- todaysimages - scrapes web content (BBC's today in images) for display in an image rotor
Users of the wrappers
- HITlab, New Zealand (Hartmut Seichter)
- Data Visualisation and VR group, Delft University of Technology, The Netherlands (Gerwin de Haan)
- CINECA consortium, Italy (Luigi Calori)
Sign in to add a comment
