PDA

View Full Version : Yay for 3D


Diniden
07-07-2009, 06:09 AM
No flash forum, so you all shall suffer with my productivity!

New 3D engine being put together:

www.diniden.com/3D3.html

*click the box at the top left for the control panel

if anyone here understands shadow calculations and world space to texture space conversions, lemme know what you know :P I'm kinda too lazy to figure out an amazing algo myself atm.
I figure ray tracing in the direction of the vertices of the faces from the light source should give an idea on where to place shadows...but even if I did find out where to put shadows, I'm a bit confused how to relate it to the texture space of the model ;~;. The only thing I can think of is scaling vectors in the same scaling relation as would take place in the world space...

*rambles on in jargon that many would not even care to consider*