Search code examples
pythonc++openscenegraph

How can I use C++ OSG objects from Python?


I am working with an embedded python system which requires a C++ frontend using OpenSceneGraph for rendering visualizations. My question is:

Is there any possible way to perform this task? I need to modify C++ osg nodes from Python. Would it be an option to create wrappers for this osg nodes? If this is the answer could you provide some guidance?


Solution

  • Finally I managed to solve this issue by creating a new python type (python extension) and using Node Visitors to assign node references upon creation.