Jonathan
I am not a leet hax0r :(

Posts: 692
Registered: 05-00 |
Clearly what Carwank is trying to say is that the next iteration involved attempting to "preload" the standard stencil shadow algorithm by the number of clipped away planes. So first he drew the shadow volumes with depth test disabled, incrementing for back sides and decrementing for front sides. This finished with a positive value in the stencil buffer for each plane that was clipped away at the view plane. The normal depth tested shadow volume was drawn next, with the change polarity reversed, decrementing for back sides and incrementing for front sides. The areas not equal to the initial clear value were in shadow.
To demonstrate imagine we were shining a bright light into Fredrik's face:
code:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ |/
___/|~ ~ ~ ~ ~|||||||| |/
[___ | ~ ~A~ ~ |o) (o)| |/
\|~ ~ ~ ~ ~| ( ) | B |/
~ ~ ~ ~ ~\____ | |/
| | |/
Now apart from the fact that Fred is now permanently blind due to the power of the 2 million candlepower light being shone directly into his eyes from a distance of 30cm, we can see that:
o Area A is lit up
o Area B is in shadow
Now imagine Carwank was to "preload" (drop) the standard stencil shadow (10 ton weight) by the number of clipped away planes (onto Fred's head). The result would be something like this:
code:
~ ~ ~ ~ ~ ~ __~ ~ ~ ~ ~ |/
___/|~ ~ ~ ~ ~ __(__)_ _ |/
[___ | ~ ~A~ ~ / | \ B |/
\|~ ~ ~ ~ / 10 TON | \ |/
~ ~ ~ /_________|___\ |/
$%&^^%&$%$%%^ |/
Now if we were to measure the new area B compared with the old area B and then factor in the weight of the ten ton weight, using a formula something like this
code:
/ (B.x^10 * B.y^10) \
| ------------------ * B.z^10 * B.y^10 | * 1337E10 * $666 & 110110110
\ (B.z^10 * B.x^10) /
We'd get the sextant coordinates to the secret map showing the location of the lost city of atlantis, in the centre of which lies the great lost oracle database containing the shadow values for every possible situation in any fps game EVER, all within a 12k zip file, searchable with only a 0.004 second delay.
I hope this explanation clears up any confusion, feel free to contact JC himself for any clarification, through the healing power of prayer! You CAN change your life!
|