[osg-users] Changing indexing at runtime

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Thu Feb 4 15:51:33 PST 2016


Hi Roberto,

if you have the Geometry pointer somewhere you can change the attached 
primitive sets as long as you are doing this during update only and set 
its state to dirty.

Cheers
Sebastian
> Hi,
>
> at runtime, i need to switch the DrawElementsUInt array attached to geometry with another one . How can i that?
>
> Thank you!
>
> Cheers,
> Roberto
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66198#66198
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list