Re: impact decal questions

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Fri, 7 Jun 1996 10:40:10 -0700


On Jun 7, 10:09am, Angus Dorbie wrote:
> Subject: Re: impact decal questions
> Try calling
>
> pfdCombineLayers
>
> on the nodes where your decals don't work.
>
> Angus Henderson came up with this workaround & I've seen it repair decal
> problems in loaded flt files.

pfdCombineLayers does a couple of good things.

With regard to decal problems, it changes pfLayerMode from
PFDECAL_BASE_DISPLACE or PFDECAL_BASE_FAST to PFDECAL_BASE_DISPLACE ... but
only if PFQFTR_DISPLACE_POLYGON reports PFQFTR_FAST.

You can tell the OpenFlight loader to use that same mode by calling:

    pfdConverterMode ( "flt", PFFLT_LAYER, PFDECAL_BASE_DISPLACE );

Obviously the 2.x loader's current default choice of PFDECAL_BASE_FAST isn't
the best choice in all conditions, hence the loader mode ... curtesy of John
Rohlf.

I've changed the loader's default several times ... from the old _DISPLACE to
_STENCIL to _HIGH_QUALITY (my favorite until I learned that it's just _STENCIL)
to the defunct [_DISPLACE + _OFFSET] (new _DISPLACE I believe) and finally to
_FAST because Performer's first priority is performance. If the consensus
opinion is to go with another default, I'd be happy to make the change.

Regards.

--
   ____ ___  ____  _    Marcus Barnes, Member Technical Staff
  / __ `__ \/ __ `( )   MultiGen Inc. 550 S. Winchester Blvd. STE 500
 / / / / / / /_/ / /    San Jose CA 95128 WEB: http://www.multigen.com
/_/ /_/ /_/\__, /_/     PH:1-408-556-2654 FX:1-408-261-4102
          /____/        EMAIL: marcus++at++multigen.com
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer.html
            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:52:59 PDT

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