Hi RHX,
You just using an osg::Texture2D class. Have a search throw the
example directories for instances of Texture2D. Also have a browse
through the include/osg/Texture and include/osg/Texture2D headers as
this will provide lots of OpenGL familiar methods and enums so you
should feel at home.
Hi!
I wrote a program with opengl, now I want to rewrite the program with OSG.
But I don't know how to rewrite the following code:
glGenTextures(1, &texture[l]);
glBindTexture(GL_TEXTURE_2D, texture[l]);
glTexParameteri(GL_TEXTURE_2D,GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
glTexParameteri(GL_TEX
2 matches
Mail list logo