OpenGL use within Performer

New Message Reply Date view Thread view Subject view Author view

Neil Witcomb (NWITCOMB++at++spar.ca)
Fri, 24 Jul 1998 11:05:35 -0400


I have search the net and have experimented myself but I have yet to find an example or succeed in my own attempts to create an object a simple plane using OpenGL within Performer.

What I have tried is to open two channels and two windows. The first window displays a model loaded, that works find. The second window contains no seen but I have create a culling function and a draw funtion, which work. In the draw function I clear the screen and set it to blue(that works) I then create a GL_QUADS with four glVertex calls which in straight OpenGL works, but in Performer nothing displays.

Is this possible to create a plane using OpenGL within Performer the way I want? If so could you please provide me with some sample code.

Also, Is it possible to use GLUT in Performer the same way I want to use OpenGL?

Thanks

Neil Witcomb
nwitcomb++at++spar.ca

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:43 PDT

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