Hi, every:

I am very confused with the VBO in osg.
what is the euqal funcs to the codes followed in OSG?

  glGenBuffers(1, vboID);
  glBindBuffer(GL_ARRAY_BUFFER, *vboID);
  
  // initialize buffer object
  unsigned int size = mesh_width * mesh_height * typeSize;
  glBufferData(GL_ARRAY_BUFFER, size, 0, GL_DYNAMIC_DRAW);
  
  glBindBuffer(GL_ARRAY_BUFFER, 0);


I want to specify and use the vboID, but I dont know how to get the number.   

Thank you very much for your any reply!!!!
... 

Thank you!

Cheers,
shl

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to