Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Tue, 21 Jan 1997 13:27:11 +0000
Brian,
For the sake of avoiding confusion:
Remi clearly stated that you need patch 1355 for shadows in OpenGL.
If you have shadows in OpenGL you can support this yourself
using performer but the support Remi is talking about is automatic
shadows using performers multipass capability; PFTRAV_MULTIPASS and
the pflightsource; PFLS_SHADOW_ENABLE. This works for an IrisGL
compile in Performer but not OpenGL.
I hope this is clearer now.
Cheers,
Angus.
> Angus,
> I think Remi was trying to say that performer does not have a node that
> implements OpenGL shadows. Not that OpenGL shadow extension would not work.
> Even with the OpenGL shadow extension you still have to do two passes one
> to render to the depth buffer from the point view of the light source. Then
> in the final pass you load the depth buffer information into the texture
> memory using the OpenGL extension and render from the point of view of the
> observer. You can read about this in glintro. SO you will need to draw the
> channel twice with two different viewpoints. The OpenGL calls can be put
> into a post-draw callback.
>
> Brian
>
> --
> o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
>
> Brian Furtaw (brian++at++sgi.com)
> VisSim Technical Consultant
> 12200-G Plum Orchard Drive Office: (301)572-3293 Fax: (301)872-3293
> Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer
>-- End of excerpt from Brian Furtaw
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:24 PDT