Problem with OpenGL calls

New Message Reply Date view Thread view Subject view Author view

Javier Muņoz Lagaron (jml++at++mail2.udc.es)
Thu, 10 Dec 1998 12:22:04 +0100


Hello,

We are developing a Performer application.
In this application, we want to make OpenGL
calls in the draw process.

But it doesnīt work if I use certain calls as
glRasterPos2i. I donīt know if I must change
something in the configuration of pfWindow
or pfPipeWindow for working with that
calls.

For example these lines donīt work:

GLint vals[4];
GLboolean val;

glGetIntegerv(GL_CURRENT_RASTER_POSITION,vals); <-1
glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID,&val);
glRasterPos4i(0,0,0,1);
glGetIntegerv(GL_CURRENT_RASTER_POSITION,vals); <-2
glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID,&val);
glDrawPixels(nave->ns,nave->nt,GL_RGB,GL_UNSIGNED_BYTE,nave->imagen);

1 and 2 returns the same values, and the imagen isnīt displayed.

Can anyone give us any clue?

Many thanks


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Dec 10 1998 - 03:23:26 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.