[osg-users] Help needed with cleaning colour arrays when VBOs in use.
Robert Osfield
robert.osfield at gmail.com
Fri Nov 13 09:58:29 PST 2009
Hi Roger,
On Fri, Nov 13, 2009 at 5:46 PM, Roger James
<roger at beardandsandals.co.uk> wrote:
> Thanks for the quick response. I had a look at SVN trunk and I see that the
> dirty() function on arrays on longer exists. Any chance of a quick heads up
> on what I should set to say that an individual colour array's data on a
> geometry has changed as should be re-loaded into its VBO.
osg::Array is now subclassed from osg::BufferData, so Array now gets
it's dirty() from BufferData. Just calling dirty() on the colour
array should get it to update.
Robert.
More information about the osg-users
mailing list