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, s
Hi, everyone,
I applied by this way, does anyone have any more good idea?
Code:
class MyDrawable : public osg::Drawable
{
public:
MyDrawable() {}
/** Copy constructor using CopyOp to manage deep vs shallow copy.*/
MySmokeDrawable(const MyDrawable& MyDrawable,const
hi,Jean-Sebastien Guay ,
Thank you for your quick reply, and sorry for my delayed response.
Maybe I got the values from the previous frame, but I dont know how to
correct it. Because I just know to use getOceanSurfaceHeightAt to get the
surface height.
I modified the oceanExample
3 matches
Mail list logo