I'm still learning about stencils, pixelformats, buffers, blah blah, slowly but surely things are beginning to 'click' in my head with regards to the DX7 SDK (only been at it for 3 evenings or so!)
Dock: Here's an example of what I think you meant, I've encoded it to the old divx (seems to be the only format I could screencap to without stopping), 750k, Divx 5.x should play it
http://www.tomspeed.com/sv.avi
There's 3 'pre made' shadow volumes, each one in turn is shown by itself and a renderworld called to update the stencil buffer. This is neccessary for overlapping shadow volumes, and not possible to do on (older cards) with a 1bit stencil buffer AFAIK.
Loop time on my PC was 1-2ms @ 800,600 with debug on, which aint bad for (I think 6 or 7 renderworlds!)
Cya
Tom
Dock: Here's an example of what I think you meant, I've encoded it to the old divx (seems to be the only format I could screencap to without stopping), 750k, Divx 5.x should play it
http://www.tomspeed.com/sv.avi
There's 3 'pre made' shadow volumes, each one in turn is shown by itself and a renderworld called to update the stencil buffer. This is neccessary for overlapping shadow volumes, and not possible to do on (older cards) with a 1bit stencil buffer AFAIK.
Loop time on my PC was 1-2ms @ 800,600 with debug on, which aint bad for (I think 6 or 7 renderworlds!)
Cya
Tom