Re: Running demo cliptex in MP mode

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Wed, 7 May 1997 12:22:09 -0700


On May 7, 2:29pm, Rambabu wrote:
> Marcus Barnes wrote:
> >
> > The loader's centering functions requires that the cliptexture be projected
> > so the loader mode PFFLT_USETEXMAP must be enabled and the modeler must
have
> > created a texture mapping entry in MultiGen for that texture.
>
> So, does that mean that we don't have to do anything more to adjust the
> clipcenter ?

Yup, the setup and centering is complete. Each frame the callback queries the
channel's pipe to see if a pfMPClipTexture has been bound yet. If not it does
some the setup. The idea was to allow people to use cliptextures in perfly with
no additional effort wrt using classic textures.

> If, incase we wish to, we have to find the node and attach
> the a new callback to the node. is it ?

The centering node isn't very distinguished. It happens to have a TRAV_APP
prenode callback and its userdata is a pfGeoState.

Areas of improvement I know of are: A loader mode to disable the setup. The
setup logic needs to be more robust in the face of "cliptexture centering
competition" with an application (perfly even). Ownership of the
pfMPClipTexture isn't well defined and right now effectively belongs to the
pfPipe.

Regards.

--
+ Marcus Barnes, Technical Staff        mailto:marcus++at++multigen.com +
+ Multigen Inc.                         http://www.multigen.com    +
+ 550 S. Winchester Blvd.               phoneto:1-408-556-2654     +
+ Suite 500 San Jose CA 95128           faxto:1-408-261-4102       +
=======================================================================
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:12 PDT

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