Re: Projected Texture Advice

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Mon, 16 Jun 1997 17:15:45 -0700 (PDT)


Mark Baranowski wrote:
>
> Hi Performers,
>
> I am looking for some advice/info from those of you who are familiar
> with the projected texture mode for a pfLightSource.
>
> I want to use this feature to implement a spotlight which is part of a
> childs toy. The (very detailed) toy model will contain about 90% of
> the triangles in the scene, is untextured and will never be
> illuminated by the spotlight. The other 10% of triangles will be
> textured.
>
> The man page for pfLightsource says that textured geometry is rendered
> twice when using PROJTEX mode. Can I safely assume that the toy model
> will not be part of the second pass. If not is there anything I can do
> to stop the toy being considered in the second pass (e.g. something
> clever with traversal masks and/or traversal mode PFTRAV_MULTIPASS)?
>
> Thanks in advance for any advice,
>

 You could set the object Emissive, so no lights are applied to it using
 the PFMPASS_EMISSIVE_PASS bit in the PFTRAV_MULTIPASS flag, and set the
 material of the toy to be emissive.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
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:27 PDT

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