Hi Tyler,
if you set a new vertex array or change an existing on in a drawable of the 
scene graph it should show the changes in the next render frame. There is no 
need for doing something special. Maybe you have to set the modified array 
sorry. That's all.

On 10. Juni 2018 09:53:34 MESZ, Tyler Durden <mynewphonea...@gmail.com> wrote:
>Hi,
>
>I like to know how to redraw geometry on demand.
>I have a osg:geometry with attached VertexArray and PrimitiveSet.
>I need to send draw command to redraw geometry.
>I see there is a "draw" method in DrawElements class, but that wants 
>an osg::State that i dont know how to get. 
>Or alternatively is there any other procedure how to do that, like some
>UpdateCallback?
>Can anyone help me?
>
>Thank you!
>
>Cheers,
>Tyler
>
>------------------
>Read this topic online here:
>http://forum.openscenegraph.org/viewtopic.php?p=74018#74018
>
>
>
>
>
>_______________________________________________
>osg-users mailing list
>osg-users@lists.openscenegraph.org
>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to