[osg-users] osg::Billboard positions

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed Feb 12 06:35:09 PST 2020


Hi,

I have an issue, might not be related to osg::Billboard it self.

At every frame, I delete all the drawables for a osg::Billboard:
tags->removeDrawables(0, size);

and I add them again, possible with different values for position:
tags->addDrawable(osg::Geometry, osg::Vec3(pos.x, pos.y, pos.z));

but in the view I still see the old positions of the tags!

Does OSG has some kind of cache? Do I have to invalidate something?

Greetings,
Catalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200212/4ffc6eb4/attachment.html>


More information about the osg-users mailing list