#1
|
|||
|
|||
Access to Geometry Data in a c++ plugin for vizard.
Hello,
I am trying to write a plugin for worldviz as a dll (or dlc) plugin in c++. Is there a way to access the geometry data of a worldviz node3d object in my c++ code? I need to get access to the VertexArray of an object. I thought about handling it as an osg::node in my code, but I am not sure if the data structure used in the python domain of vizard iss the same. thx in advance ... |
#2
|
|||
|
|||
Our SDK has an example of creating a modifier plugin. This plugin will be given access to the underlying osg::Node object. Once you a handle to this object you can create a osg::NodeVisitor that traverses it and collects all the geometry data from it. Let me know if you have any specific questions about this.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a Vizard Sensor Plugin | farshizzo | Plug-in development | 25 | 08-01-2019 12:24 AM |
Could not find plugin to load objects... | halley | Vizard | 1 | 05-30-2006 11:01 AM |
Direct access to phantom omni data | vsully | Vizard | 1 | 03-14-2006 09:44 AM |
tracking using quaternarion data | jfreeman | Vizard | 2 | 06-01-2005 08:48 AM |