Angus Dorbie (dorbie++at++sgi.com)
Fri, 11 Dec 1998 17:38:05 -0800
Cheers,Angus.
Javier Muņoz Lagaron wrote:
>
> 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
>
> =====================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Fri Dec 11 1998 - 17:38:10 PST