Re: projected texture

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Fri, 3 Oct 1997 10:06:55 -0700 (PDT)


I.Fukuoka wrote:
>
> Hello,
>
> I am trying to make multiple spotlights using pfLightSource's
> projected texture on our O2.
> I was able to get one spotlight correctly, but when I try to make
> more than one spotlight, I only get the one spotlight effect, as
> if other pfLightSources are not set to PFLS_PROJTEX_ENABLE mode.
> I found out that I can seem to get multiple spotlights on
> non_textured scene, but not on the textured scene.
> Is it possible to get multiple spotlights on O2? If it is,
> what do I have to do to get the right result?
>

 2.0.x 2.1.x is using the alpha plane to accumulate the intensity
 of the projected textures to do more than one projected texture.
 So you need to have a visual with alpha plane enabled to see more
 than one projected texture.

 This is unfortunatly slower than a non alpha plane more, and also
 cannot do two different color projtex lights as only the intensity
 is accumulated.

 Soon to be available 2.2 does not use the alpha plane, and rather
 use a different algorithm that accumulate the projtex in the RGB
 plane before blending it with the database. 2.2 supports shadows
 as well.

 So I include here an advance warning to projtex users that 2.2
 results are sightly different than 2.1 results, and that the
 pfLightSource parameters, as well as the IA texture will have to
 be different. If you are more than concern about that,
 let me know now.

    _ / _ _
|_) _ ._ _ 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:56:03 PDT

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