From: Paolo Farinelli (paolo++at++sgi.com)
Date: 05/22/2003 16:52:12
Hi Tal,
You could use GState tables. Take a look at the man pages
for pfGeoSet::setGStateIndex and pfChannel::setGStateTable
for more info.
Also note that you will need to create multiple
pfMPClipTexture objects, and assign each one to a different
pipe (see man pfuAddMPClipTextureToPipes).
Regards,
Paolo
Tal Segal wrote:
>Hello
>
>I'm trying to develop a Performer application which has multiple windows on
>multiple pipes.
>Each window should have an individual independent view of a cliptextured
>terrain.
>I know I need multiple cliptextures since the clip centers are different.
>I guess the cliptextures should not be slaved because of the different clip
>centers.
>
>I still wish to use the same geometry and run in one application.
>Is this possible?
>
>How can I make the geometry refer to different cliptextures (The gstate has
>only one pfClipTexture pointer)?
>
>Thank you for the help
>
>Best regards
>
>Tal Segal
>otwdb++at++netvision.net.il
>
>
>-----------------------------------------------------------------------
> List Archives, Info, FAQ: 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
>-----------------------------------------------------------------------
>
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Thu May 22 2003 - 16:52:20 PDT