Hi Filip,

On 15 November 2011 10:17, Filip Arlet <[email protected]> wrote:
> I think I have similar problem. I studied osg code and find out, that 
> NodeCallback set as Node->CullCallback is called only if node is not culled 
> therefore (osgUtil::CullVisitor*)(nv->isCulled(node)) always return false.
> I want to implement dynamic line style lod, where shoud I start ?

You'll need to make sure that the bounding volume of the geometry you
are updating is being updated as well - call geometry->dirtyBound()
and it'll updated the itself whole parental path that it's size has
changed and needs recomputing.

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

Reply via email to