Am 10.12.10 16:32, schrieb Gabriel Nützi: > Hi everybody > > I have a quite strange problem, I am a newbie, and probably it is a simple > setting, which I do not know: > > I have subclassed from osg:Geometry and have set up in this class my Mesh > which I want to render... the thing works fine, except, that when I use > setUseDisplayList(false), (because I update my vertices every rendering loop > in this viewer loop) , my mesh is rendered, but it seems that there is a > somehow ,depending on the camera position, a bounding volume and the mesh > gets sometimes not rendered looks like it is culled somehow...
if you update your geometry, you must update its boundingbox. just call dirtyBound() on your geometry, implement computeBound() in your subclass or provide a "maximum" boundingbox with setInitialBound() when creating your object. HTH, Stephan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

