From: Lawrence bertoldi (lberto++at++md.prestige.net)
Date: 09/06/2001 20:24:04
Create a second channel, set the fov to what you want to see
point the channel at what you want to see and add the channel
to the scenegraph!
Basically your doing the same thing that you do for your regular view
except the view is different. but be sure that you don't create another graphic
context (pfPipeWindow),as this will kill your performance due to context
switching
Mark Evans wrote:
> What is the best way to render in a subwindow of a
> Performer window?
> What I need is to render only in one rectangular
> subwindow of my application (say a rectangle at 200
> pixels up and 200 pixels to the right of the bottom
> left corner of the main window, and which is, say
> 200x200 pixels wide. I would need that everything that
> is out of this subwindow to be culled, since my
> application is Transform limited. I need to do this no
> matter the azimuth, pitch and roll of the viewpoint.
> Of course, if I change the parameters of the subwindow
> to make it adiacent to the first one, the generated
> images should collate perfectly.
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Sep 06 2001 - 20:15:22 PDT