Re: Stencil question

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 30 May 1997 10:59:27 -0400


> I have already used a pfLayer whith stencil mode, and the decal children
> is correctly drawn only over the base children, so all works fine.
> However, every time the viewpoint is moved or the window resized, the
> decal node begins drawing incorrectly outside the base geometry. I am
> using perfly code to try this but I don't know if something is overriding
> the stencil value. Any suggestion about what's going wrong?
>
>-- End of excerpt from Joaquin Casillas Melendez

One thing that perfly does is to call pfdCombineLayers wich actually
forces all your pfLayer mode to DISPLACE instead of STENCIL!
This might explain the results you are getting.

The bad news is that there is no command line option in perfly to disable
this behavior so you will need to comment it out and recompile.
pfTeam: It would be nice if perfly would ship with a command line option for
this which could be on by default.

Which version of Performer are you using exactly?

-- 
Nicolas Gauvin              CAE Electronics Ltd., 8585 Cote De Liesse
3D Graphics Software        Saint-Laurent, Quebec, Canada, H4L-4X4
nicolas++at++cae.ca              Tel: (514) 341-2000 x2275, Fax: (514) 340-5496 
=======================================================================
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:19 PDT

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