Re: Bug with shadow in stereo application

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Wed, 10 Feb 1999 14:09:40 -0800


Check your clear call in the channel draw callback.

I'm not sure where the light source shadow map is drawn w.r.t. the
channel itself.

Could you send your channel draw callback code so we (probably Marcin)
can follow up?

Cheers,Angus.

Mario Veraart wrote:
>
> Hello,
>
> I have another error with the shadow pfLightSource.
> I want to have shadows in my application that also has stereo in a
> window. The first test of the application showed me a complete red screen.
> In case the shadow lightsource is disabled the images are OK.
>
> I made a test program of combining shadow.c and stereo.c and that had
> the same visual artefact.
> It turns out that the calculation of the shadow map is done in a
> channel and the Z-buffer isn't reset to the original value.
> The red square I see is the shadowmap.
> The area outside the shadowmap has stereo and shadow.
>
> I use Performer 2.2.2 on iR2 Irix6.5.
>
> Can anybody say if this is a bug?
> In case yes, what to do about it.
>
> Mario Veraart
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Only the mediocre are always at their best." -- Jean Giraudoux

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Feb 10 1999 - 14:09:46 PST

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