[osg-users] Replace pure OpenGL method by OSG
Hi, I've got following code: Code: glMatrixMode (GL_PROJECTION); glLoadIdentity (); GLfloat verts[] = { -1.0f, -1.0f, 1.0f, -1.0f,1.0f, 1.0f, -1.0f, 1.0f }; GLfloat texcoords[] = { 0.0f, 0.0f, 1.0f, 0.0f, 1.0
Re: [osg-users] Replace pure OpenGL method by OSG
Hi, have a look at the osggeometry example Nick On Fri, Dec 12, 2014 at 3:42 PM, Marcin Kolny wrote: > > Hi, > I've got following code: > > > Code: > > glMatrixMode (GL_PROJECTION); > glLoadIdentity (); > > GLfloat verts[] = { -1.0f, -1.0f,