Re: Projected Texture Advice

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Tue, 17 Jun 1997 09:55:49 -0700 (PDT)


Mark Baranowski wrote:
>
> On Mon, 16 Jun 1997 17:15:45 -0700 (PDT), Remi wrote:
>
> <snip>
> >>=20
> >> 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)?
> >>=20
> >> Thanks in advance for any advice,
> >>=20
> >
> >
> > 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.=20
>
> You have me slightly confused. I thought this *would* introduce
> another rendering pass on the toy (which is definitely what I don't
> want). Are you saying that the toy would only be rendered once in this
> situation?
>
> If so, I do not want the toy to glow in the dark, so would have to
> make the emmisive properties small. Would the toy still be illuminated
> by other light sources (I anticipate having one other infinite light
> source in the scene).
>
 No, the toy will not have any light source applied to it. the result
 will be the same as if you turn off lights in performer. You will have
 to change the colors of the object, using pfColortable for example.
 the object will be rendered once after the multipass algorithm that
 will be applied on all non emissive objects.
 If you want to do something specific, you will have to use bins,
 and pfDrawBins, and do your own multipass algorithm.

    _ / _ _
|_) _ ._ _ 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.