Hi Peter,

On Wed, Jun 16, 2010 at 10:08 AM, Peter Wrobrl <[email protected]> wrote:
> Hi,
>
> Think I'm talking about glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ... )
>
> http://www.opengl.org/wiki/Vertex_Buffer_Objects
>
>>
>> I suggest that you make a VBO for your vertices (vertex, normals, texcoords, 
>> perhaps other things) and another VBO for indices (IBO).
>>

Sigh, just scanned that article, IHMO it's pretty dumb for them to
come up with an acronym that doesn't relate to the actual feature
name.  VBO, EBO and PBO's are the all buffer objects and are directly
related, so the article confuses this too which is disappointing.

For yourself, just enable VBO's on the osg::Geometry and it'll do the
rest for you, you won't need to worry about how it manages the VBO's
and EBO's internally.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to