Hi Glenn,

Right now the OSG just supports updating an entire VBO when used via
the osg::Array class.

You could implement your own subrange copying by getting the VBO
handle yourself and then manually doing the copying that you need to
do.

The other alternative would be to look at how one might conveniently
add support for uploading sub ranges.  So far I've avoiding tackling
this as the API for is potentially quite cumbersome.

Robert.

On Sun, May 2, 2010 at 1:59 PM, Glenn Waldron <[email protected]> wrote:
> Robert et al,
>
> Does OSG have support for updating a sub-range in a VBO, as with
> glBufferSubData? I see some hints of this in GLBufferObject:BufferEntry, but
> not an obvious way to use it from the Geometry interface. My goal is to
> update a subset of a large VBO without having to re-transmit the entire
> array.
>
>
> Glenn Waldron : Pelican Mapping
>
> _______________________________________________
> 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