Re: viewport resizing
Angus Dorbie (dorbie++at++multipass.asd.sgi.com)
Tue, 8 Jul 1997 10:56:51 -0700
On Jul 8, 5:39am, Doug Price wrote:
> Subject: viewport resizing
> 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?
You really don't want to be doing this.
Use a separate pfChannel which is drawn after the first and build geosets &
geostates and add to a separate scene on the second channel.
Cheers,Angus.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:55:35 PDT