Page 1 of 1

Shadow on XSI models? How?

Posted: Thu Nov 29, 2007 8:50 am
by Redline
Hi people , i am again.
My question is how become i a shadow on a new xsi modell ?

:? what must i do ? pls help me

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 8:51 am
by DarthD.U.C.K.
Youre back!! :D i love your deathstar map
do you mean a shadowvolume?

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 9:16 am
by Redline
I don,t know what you mean with shadowvolume, but here is picture.
This shadow is not on my modells , but why ?

Image

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 9:29 am
by DarthD.U.C.K.
because of the shadowvolume,
you have to make a layer called: yourmodel_shadowvolume and put a copy of your models mesh into it
did you read the playermodelintoswbf2tutorial? it could be helpfull for you

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 9:29 am
by Caleb1117
Because you need a shadowvolume. :)

Make a duplicate of your final merged mesh, for example we will say your final mesh is called: "death_sphere"
You would name the duplicate sv_death_sphere.

Then you might want to lower the poly count on the shadow volume, so under the polymesh deforms, use filter polygons.

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 9:39 am
by DarthD.U.C.K.
DarthD.U.C.K. wrote:because of the shadowvolume
Caleb1117 wrote:Because you need a shadowvolume. :)
:?

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 10:06 am
by Caleb1117
Models needs a shadowvolume to cast a shadow. :|

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 10:08 am
by DarthD.U.C.K.
Caleb1117 wrote:Models needs a shadowvolume to cast a shadow. :|
sorry,i meant this and wondered why youre writing the same. :runaway:

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 10:33 am
by FragMe!
cause you both posted at the same time :D

anyway both are correct about needing a shadowvolume but as Caleb and I have found out recently don't alway believe the docs. This is from the art_guide.doc I changed step 2 to what works.

Code: Select all

Shadowvolumes are special meshes that are created to mimic the model in shape and profile to cast shadows onto terrain and other objects. It can also be used for self-shadowing. Follow these steps to create a shadowvolume: 
1. Create a low-poly mesh that is slightly smaller in scale than the original model's mesh. When both the original mesh and the shadowvolume are unhidden, you should not see any of the shadowvolume sticking out of the original model. Try to keep it as low-poly as possible, but pay special attention to the profile from the top down view or whatever angle the sun will be at in relation to the model. The silhouette is what needs the most attention, because this is what gets cast onto other objects. Also, the mesh must be completely closed without any open ends or polygons, and its global center is 0,0,0. 
2. Once created, name the shadowvolume mesh "sv_whatever". If there is more than one, name them "sv_whatever", "sv_whatever1", "sv_whatever2", etc. 
3. Make the shadowvolume mesh a child of the actual mesh to which it is related. This is especially important when there are multiple shadowvolumes and bones and animated parts in the model. If the original mesh is skinned, then the shadowvolumes should be children of their respected bones. Otherwise, they should just be children of the individual objects. 
4. Select the shadowvolume mesh. 
5. In the Animate menu, select Create -> Parameter -> New Custom Parameter. 
6. In the dialogue box, rename the Parameter Name to shadowvolume. Uncheck the Animatable Characteristic Button. 
7. Hide the shadowvolume mesh before export 
Steps 4,5,6 are not required

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 6:05 pm
by Redline
thx you all ! :D It works , but how i hide the shadow modell? (befor i export)

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 6:08 pm
by AceMastermind
Select it and press the H key to hide it.

Re: Shadow on Xsi modells? how?

Posted: Thu Nov 29, 2007 6:11 pm
by Redline
ok ,thx for help . i will try it :wink: