[osg-users] VBO static_draw and memory

Julien Valentin julienvalentin51 at gmail.com
Sat Jan 19 11:43:30 PST 2019


Oy
fill an Image with vertex data, setup a TextureBuffer with this image and setunrefImageafterapply(true) and pull vertices from this texturebuffer in the vertex shader...
Cheers


knowthyself wrote:
> Hi,robert
>     I have the same problem.  I have a very big vertex array constructed from float* data; Now I want to upload the vertice data to GPU and then delete the vertex array. All the geometric operation will not rely on that vertex array, but rely on the customized algorithym which uses float* data.
>    Could it be done without changing OSG source code now ?
> ... 
> 
> Thank you!
> 
> Cheers,
> Claude


------------------------
Twirling twirling twirling toward freedom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75515#75515







More information about the osg-users mailing list