Re: Using PFDECAL_BASE_STENC

New Message Reply Date view Thread view Subject view Author view

Marcus (giraffe.asd.sgi.com!sgi.sgi.com!uunet.uu.net!multigen!Marcus)
Tue, 25 Jul 1995 11:55:08 PST


        Reply to: RE>Using PFDECAL_BASE_STENCIL?
>Date: Thu, 20 Jul 1995 11:50:43 +1000 (EST)
>From: Robert Webb <robertw++at++wormald.COM.AU>
>Subject: Using PFDECAL_BASE_STENCIL?
>To: Performer mailing list <info-performer++at++sgi.com>
>Message-Id: <Pine.3.89.9507201107.A7832-0100000++at++krusty>
>
>Hi all, it's me again,
>
>By default, pfLayer nodes (as loaded from a multigen model,
>in our case) use PFDECAL_BASE_DISPLACE, which uses the
>GL displacepolygon() function.
>
>How do I make them all use PFDECAL_BASE_STENCIL
>instead? The obvious thing to try would be:
> pfDecal(PFDECAL_BASE_STENCIL);
> pfOverride(PFSTATE_DECAL, PF_ON);
>

R14.1 and R14.2 revisions of the OpenFlight loader have a
loader mode to enable PFDECAL_BASE_HIGH_QUALITY, which
currently enables stencil layering:

  LoadFltMode( PFFLT_LAYER, TRUE );

or from perfly's command line:
% perfly -O9 file.flt

<snip>

>Thanks,
>Rob.
>

Regards,
Marcus Barnes, Member Technical Staff
MultiGen Inc., 550 S. Winchester Blvd. Suite 500, San Jose CA, 95128
PH: 1-408-556-2654 FX: 1-408-261-4102
EMAIL: multigen!marcus++at++uunet.UU.NET


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:51:42 PDT

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