Non addictive light sources

New Message Reply Date view Thread view Subject view Author view

Jean-Sebastian Monzani (jmonzani++at++lig.di.epfl.ch)
Sun, 9 Feb 97 13:41 MET


Hello !

  I would like to solve the following problem with Performer : I'm using two
pfLightSources as texture projectors. Each projector has its own picture
(RGB file) and intensity.
Now, imagine that I've got these two pics :

22222 66666
22222 and 66666
22222 66666

Projecting them on my 3D object makes their intersection look like this :

        66666
     22288666
     22288666
     22222

which is an addictive operation (2+6=8).

Is their a way to make a mean instead ? With the preceding example (2+6)/2=4 :

        66666
     22244666
     22244666
     22222

The only method I know to do this is to manually modify the textures :

22211 66666
22211 and 33666
22222 33666

but requires to know the intersection, and can not be used in real-time.
I would be really glad to here from you, if you've got an idea.

      Thanks,

               Jean-Sebastien Monzani

Hardware used : O2 workstation.

e-mail : jmonzani++at++lig.di.epfl.ch

=======================================================================
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:54:37 PDT

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