viewport resizing

New Message Reply Date view Thread view Subject view Author view

Doug Price (doug++at++ren.paradigmsim.com)
Tue, 8 Jul 1997 05:39:49 -0500


        I am trying to perform a two pass rendering of sorts using a single
pfChannel. The first pass draws a normal perspective channel. Then when the
first pass is completed, I generate a texture of the perspective image which is
then mapped to a 2-D tmesh. The channel is then cleared and the 2-D tmesh
drawn as an orthographic image. This all seems to work fine, however, I would
like to have the ability to have the orthographic image be a different size
(possibly overlapping) the perspective image. When I call glViewport it seems
to ignore the command. If I compile irisgl and use viewport instead, my code
works fine.

        Is performer doing something different in regards to viewport resizing
for open gl that would prevent me from doing this? Has anyone else ran into
this problem? Is there a way around it?

-- 
     **********************************************************************

Doug Price Phone: (972) 960 - 2301 Program Manager Fax: (972) 960 - 9049 Paradigm Simulation Email: doug++at++paradigmsim.com

********************************************************************** ======================================================================= 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:55:35 PDT

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