PDA

View Full Version : Shadow error on model



Linker Split
Sep 9 2007, 11:26
Hi all, I have this little problem.
I'm converting our BHD MOD weapons to ArmA, and when I do this, I add the ShadowVolume LOD 1.000 since the first LOD is 1.000.

http://img525.imageshack.us/img525/2299/shadowerrornr1.jpg

But as you can see, I got some problems with shadows, they seem a bit "stretched". This thing doesn't occur with the original BI M16.
Pls help me!!! http://forums.bistudio.com/oldsmileys/sad_o.gif
Still can't find the way to fix it

simba
Sep 9 2007, 12:00
triangulate all the faces properly, "streched" shadows will disappear.
do no forget to sharp all faces too !

Jackal326
Sep 9 2007, 12:07
triangulate all the faces properly, "streched" shadows will disappear.
do no forget to sharp all faces too !
...in the shadow LOD, not the main resolution LOD, just so there is no confusion.

simba
Sep 9 2007, 12:09
^ yes, shadowVolume lod.

Linker Split
Sep 9 2007, 12:13
yeah thanks, I'll try it again, since I did it already... wait some seconds, I'll show again a pic of the result... Hope it will be fixed this time! http://forums.bistudio.com/oldsmileys/wink_o.gif

#EDIT
nothing happened. the result is the same.
I:

1)Opened the model
2)Creted ShadowVolume1.000 LOD
3)copied and pasted the model from the LOD 2.000 to the shadowVolume one
4)Triangulize \ (I also did Triangulize /)
5) Sharped all edges
6)sharped also the main model in the first LOD 1.000

this is the ShdowVolumeLOD:
http://img251.imageshack.us/img251/5074/shadowerrorsz0.jpg


what have I done wrong? http://forums.bistudio.com/oldsmileys/sad_o.gif

simba
Sep 9 2007, 12:18
since we are talking shadows, do you think it is possible that the model binarization influence shadows ( wasn't it the case in ofp) ?

for exemple :

rotor shadow only appears in high shadow settings for my chopper model while it appears in normal settings for BIS helicopters...

simba
Sep 9 2007, 12:33
check

if geometry is closed. (double sided planes work)
if some vertrices aren't linked to any face
get rid of the textures and all properties should be on normal
double check if there aren't any squares
look for non planar faces

did you load it in game to see the result ?


Quote[/b] ]6)sharped also the main model in the first LOD 1.000

not necessary

Linker Split
Sep 9 2007, 12:35
I still haven't tried it ingame, I thought that the buldozzer should be the same... I'll try it, and make you know http://forums.bistudio.com/oldsmileys/smile_o.gif

Linker Split
Sep 9 2007, 12:47
thanks! Now I fixed the problem!
thanks all http://forums.bistudio.com/oldsmileys/thumbs-up.gif

Synide
Sep 10 2007, 01:53
thanks! Now I fixed the problem!
thanks all  http://forums.bistudio.com/oldsmileys/thumbs-up.gif
... fyi, when you find a solution, it's nice if you write up what you did to rectify it... eg. did you follow Simba's last post suggestions and everything came right?

makes it easier for others that come along after you...

Maa
Sep 10 2007, 07:33
All objects in Shadow volume LOD MUST be closed. Opened objects causes problem shown on pic in first post.... shadows to infinity.