Hello. Niu:
You need to set the class niuhm : public
osg::Drawable::UpdateCallback object to your node to update; by:
geom-setDataVariance( ); geom-setUpdateCallback( );
You can refer to the osgcallback in the osgExamples.
xiaodong
2008/3/19 Niuheming [EMAIL
Hi, I want to write a class from osg::Drawable::UpdateCallback to update a
Geometry call named geom,but there is no update happen.I dot't know what's
wrong.Does someone knows?Thanks in advance!NiuHeming
class niuhm : public osg::Drawable::UpdateCallback{public:
niuhm(const
2 matches
Mail list logo