[osg-users] what should I dirty when I change ColorArray on the fly?
Glenn Waldron
gwaldron at gmail.com
Wed May 3 11:54:23 PDT 2017
Nick,
If you have VBOs enabled, I think you just have to call dirty() on the
color array itself.
Glenn Waldron
On Wed, May 3, 2017 at 2:43 PM, Trajce Nikolov NICK <
trajce.nikolov.nick at gmail.com> wrote:
> Hi community,
>
> this is simple question. I am updating the Color array of a osg::Geometry
> on the fly. It is not having effect. The Geometry is not using displaylist.
> How/What should I do to have the color mods "updated" in the rendering
> correctly?
>
> Thanks a bunch as always?
>
> --
> trajce nikolov nick
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170503/a7b14b63/attachment-0003.htm>
More information about the osg-users
mailing list