Hi Vinicius,

You need to call dirty() on the Array that you are updating so that the OSG
knows that it has been changed and the updates need to be passed onto the
the VBO's.

Robert.

On 12 September 2014 00:45, Vinicius Schmidt <[email protected]>
wrote:

> Hi, could someone help me with this issue?
>
> I'm trying to make a dynamic vertex array, but it's not working as it
> should.
> For some reason the array don't plot after the first frame. If I set all
> vertices after the first iteration it won't work either.
>
> I'm new at this, if someone could see my source code (attached) and help
> me, I would appreciate it a lot!
>
> Thank you!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=61022#61022
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/array_166.cpp
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to