Multipass rendering sample code

New Message Reply Date view Thread view Subject view Author view

Jean-Sebastian Monzani (jmonzani++at++ligsg29.epfl.ch)
Wed, 12 Feb 1997 17:18:49 +0000


Hi Performers !

 Here is my problem : I've got multiple pfLightSources used as texture
projectors. I would like to render my scene only with projector 1, then
only with projector 2 ,...etc... and to mix the images, I am planning to using
something like :
blendfunction(BF_ONE,BF_ONE);

 So, I need to compute a multi-pass rendering. Is there anybody here who can
help me ? I don't manage to use multi-pass, even when setting :
pfMultiprocess(PFMP_CULL_DL_DRAW);
as described in the manual.

How can I draw my channel many times ? Is there something else than pfDraw(),
like : channel.Draw() ?

  I would be REALLY glad to here from you, if you can help me or tell me where
I could find some doc/sample code on this topic.

     THANK YOU !

         Jean-Sebastien Monzani

PS : I haven't seen the answer in the monthly-archives...
=======================================================================
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:39 PDT

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