Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 27 Apr 1998 20:28:03 +0200 (MET DST)
I try to get shadows with Iris Performer 2.0 on an Onyx Re2 with
IRISGL.
I have used shadows.c as a start but has found that there are a few
problems. I have made a terrain with a couple of cubes on it.
You can find this text with a couple of pictures at the following URL
http://vtd.fel.tno.nl/~fveraart/shadow/problem.html
In the following pictures the small green cube is the position of the
lightsource.
On the terrrain are a few large red cubes with a small green cube next
to it. The large terrain square is 80x80 meters and I have used a shadow map
size of 512 pixels.
1)
For a setting off the light I see that the small green cubes don't
cast any shadow.
2)
Depending on the distance of the large cube to the light the geometry
that is in shadow
is further away from the object. All of the small green cubes should
be in shadow.
3)
The objects that are in shadow are not lit with the ambient lighting
term. They are drawn black.
4)
The back side of the cubes are not in shadow.
If anyone can help me solve these problems?
Mario Veraart
=======================================================================
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:57:18 PDT