You need to dirty the display lists to tell OSG to send the new positions to
the graphics card
Code:
geometry-dirtyDisplayList();
Or you can set the geometry to dynamic and it will dirty it on each pass.
Can't remember the exact syntax, but search for dynamic.
Martin
--
Hi
By default OSG will have display list turned on which means the drawing
is cached and thus when you change something it will not be reflected,
if your changing tings a lot you might want to disable display list
alternatively you can tell OSG to rebuild the display list with a call
like
I used some different keyword google searches and ran across this post
(http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg31811.html).
Making these changes fixed the problem.
Thanks for the help everyone.
David
--
Read this topic online here:
3 matches
Mail list logo