[osg-users] what should I dirty when I change ColorArray on the fly?

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Wed May 3 12:16:54 PDT 2017


yes :) .. Thanks Glenn .. I totally missed that

On Wed, May 3, 2017 at 8:54 PM, Glenn Waldron <gwaldron at gmail.com> wrote:

> 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
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170503/0b825fdd/attachment-0002.htm>


More information about the osg-users mailing list