#1
|
|||
|
|||
How to access scene information in a C++ modifier
Hi,
I am building a new C++ modifier for Vizard. I am intending to handle the whole scen at once. modifier=viz.add('modifier.dlm') logo1=viz.add('logo1.wrl') logo2=viz.add('logo2.wrl') viz.modify(modifier) Well, the last command calls a native code in the dlm file in the function named "void SceneModifier(void *modifier)" In this function i can get the whole scene through the modifier parameter. VizModifierObj* pscenemodifier=(VizModifierObj*)modifier; osg::Node* pnode=pscenemodifier->node.get(); The question is how to get seperate nodes declared in this scene? Thanks alot for time, Bye. |
|
|