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 ... |
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.
|
All times are GMT -7. The time now is 08:21 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC