Hi Erlend,

You may need to set an appropriate bounding box/sphere for the custom
drawable ... otherwise it will get clipped out of the scene.

-Justin

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 11:20 AM
To: [email protected]
Subject: [osg-users] creating custom drawables

 

i have a hierarcy of classes which i want to make osg compatible, so
initially i let the base class of my class hieracy inherit from
osg::Drawable and overrided the drawImplementation method with my own gl
rendering, I also create a osg::Geode for each Drawable.  but it nothing
get's rendered, are there any more steps in the creating your custom
drawables?  (tutorials on this?)

 

i also implmented empty cloneType and clone methods as for now.

 

Erlend

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to