Re: Using different textures in each channel

New Message Reply Date view Thread view Subject view Author view

Michael T. Jones (mtj++at++babar.asd.sgi.com)
Thu, 1 Aug 1996 12:52:35 -0700


On Aug 1, 3:02pm, Marko Srdanovic wrote:
> Subject: Using different textures in each channel
> Hi,
>
> I'm trying to create an application that has two channels that each view the
> same scene. I seem to have that much working fine. Now I'd like to have
each
> channel use a different set of textures on entire scene. The geometry in
each
> channel will be the same, only the textures will differ. For example one
> channel will use a set of textures and the other will use a completely
> different set of textures. What is the best way to go about this?

Indexed pfGeoStates are described in the pfGeoState man page.

"In addition, pfGeoStates can be indexed through a global table so a
single database can have multiple appearances while avoiding database
duplication."

Take a look at the pfChannel man page's description of the
pfChanGStateTable function (a.k.a. pfChannel::setGStateTable).

This should directly address your needs.

=======================================================================
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:53:18 PDT

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