LEGACYOFLIES.COM - FORUMS
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Shadow model specs?

3 posters

Go down

Shadow model specs? Empty Shadow model specs?

Post  DANDY Sun Sep 07, 2008 2:58 pm

Not much turned up in searches so....

....I took my first crack at a lo-poly shadow model, textured with black, transparency set to 75% or so, Normals facing out. Added it to the .car. With Alphas either drawn or not, I don't see the shadow model. I haven't verified that it fits inside the body -- would parts external to the body be invisible? Is anything above wrong?
DANDY
DANDY
Veteran
Veteran

Number of posts : 323
Age : 46
Location : Long Island, Soviet Canuckistan
Interests : Auto/Moto (Virtual and actual), Tunes
Humor : Saint-Louis du Ha! Ha!
Favorite Car : 2002 tii
Favorite Track : Schwarzer Wald
Registration date : 2008-08-28

http://www.race2play.com/team/prw

Back to top Go down

Shadow model specs? Empty Re: Shadow model specs?

Post  DonaemouS Sun Sep 07, 2008 3:43 pm

I didn't texturized my shadow. slowDan wrote me you need to have a closed mesh. Then import in MI. At this point you need to uncheck disable shadow and choose from "Edit Menu->Generate Shadowing Info".

Now save your .mdl and add this string in .car:

Code:
shadowModel "yourcar_shadow.mdl"
DonaemouS
DonaemouS
Moderator
Moderator

Number of posts : 742
Age : 49
Favorite Car : BMW M Coupe
Favorite Track : Nordschleife
Registration date : 2008-08-28

http://www.games4mac.it

Back to top Go down

Shadow model specs? Empty Re: Shadow model specs?

Post  slowDan Sun Sep 07, 2008 3:47 pm

DANDY wrote:....I took my first crack at a lo-poly shadow model,
You don't need any sort of texture, just leave it as default white. The important part is that it should be a closed shape. This means no holes or slits, as it you were trying to make it watertight.

In Model Importer, uncheck the disable shadows check box and choose generate shadow information (or something! Wink ) from the edit menu. You should then see a bunch of lines shooting down-left across the screen which are the shadows it will cast. If there are any problems with the model (holes or disconnected edges) they will show up as green lines. Go back fix them and re-import. Its a good idea to generate shadows before you scale the model down to normal size (if you need to!)

It will be invisible in game apart from the shadows it creates. So if it is larger than the car you will see it as a patch of body that is permanently in shadow.

Don beat me to most of it. I'll post it anyway, I'm not wasting all that typing! Very Happy
slowDan
slowDan
Addict
Addict

Number of posts : 92
Age : 51
Location : UK
Interests : Design/Racing!
Favorite Car : Porsche 968 RS Turbo
Favorite Track : Spa Francorchamps
Registration date : 2008-08-28

http://slowdan.co.nr

Back to top Go down

Shadow model specs? Empty Re: Shadow model specs?

Post  DANDY Sun Sep 07, 2008 3:55 pm

Ahhh, thx! It was the generate shadows I was missing, thinking the custom model would self-generate them in-game. Or something like that. It should be good to go once I get back to it.
DANDY
DANDY
Veteran
Veteran

Number of posts : 323
Age : 46
Location : Long Island, Soviet Canuckistan
Interests : Auto/Moto (Virtual and actual), Tunes
Humor : Saint-Louis du Ha! Ha!
Favorite Car : 2002 tii
Favorite Track : Schwarzer Wald
Registration date : 2008-08-28

http://www.race2play.com/team/prw

Back to top Go down

Shadow model specs? Empty Re: Shadow model specs?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum