Game Development Community

Shadow??

by Andrea Pasciuta · in Artist Corner · 02/12/2007 (7:13 pm) · 6 replies

I've a problem with my first mesh exported.
In the game don't appear the shadow, any ideas?

http://img481.imageshack.us/img481/1808/senzanome1jq3.png

#1
02/13/2007 (10:27 am)
Nobody know how to make a shadow in a object in the world editor?
#2
02/13/2007 (10:35 am)
I cant see your picture so you talking dif or dts.
#3
02/13/2007 (11:15 am)
Sorry, imageshack seem have any problem..

I've upload others images.

http://img156.imageshack.us/my.php?image=senzanome1dt8.jpg
http://tinypic.com/view/?pic=2upxpw0
http://tinypic.com/view/?pic=3ygoepg

Thanks for reply
#4
02/13/2007 (11:31 am)
Did you relight the scene?
#5
02/13/2007 (11:34 am)
You need to make sure none of your DIFs are aligned to the Sun's X or Y axis. More specifically, if you have your Sun's azimuth 0, any DIF that has Z rotation 0, 90, 180 or -90 will not cast shadows, due to a possible divide by zero avoiding code somewhere. You either rotate all your DIFs, or change the Sun's azimuth to a value that is less likely to cause problems (I use 7 or 17, and elevation to 35 never had a DIF not cast shadows). Click the sun under SimGroup - MissionGroup top right window in the world editor then check the properties in the bottom right window the Sun azimuth and elevation.
#6
02/13/2007 (2:54 pm)
Thank you Fucifer! work perfecly ;-)

http://tinypic.com/view/?pic=446q5qq