Re: [Algorithms] Stopping shadow volumes from going through geometry
Brought to you by:
vexxed72
From: Gilles M. <gil...@fr...> - 2002-11-21 21:12:48
|
MessageHi, I think the ledge should also cast its shadow onto the ground, no ? If so, it doesn't matter if the shadow volume is extruded past the = ledge. If fillrate is your bottleneck, think about clipping (cpu intensive), or = try setting the far side=20 of the shadow volume nearer from the character. If it's a sun-like light, radiosity of the environment should make look = that=20 correct to your eyes. Gilles. ----- Original Message -----=20 From: Fong, Jay=20 To: 'gda...@li...'=20 Sent: Thursday, November 21, 2002 9:29 PM Subject: [Algorithms] Stopping shadow volumes from going through = geometry Hello, I was wondering if there is some way to prevent shadows, generated by = the stencil shadow volume technique, from being extruded through other = objects in the scene? e.g. a character standing on an overhanging ledge = above ground casts a shadow on the ledge but also onto the ground below = the ledge. I thought about clipping the extruded shadow polys against the world = geometry but I'm hoping for a more elegant (i.e. simpler) solution since = our world geometry is quite dense. Any solutions or links/pointers to papers related to this issue would = be much appreciated! Thanks, Jay |