Shadow model specs?

Go down

Shadow model specs?

Post  DANDY on 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?
avatar
DANDY
Veteran
Veteran

Number of posts : 323
Age : 41
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

View user profile http://www.race2play.com/team/prw

Back to top Go down

Re: Shadow model specs?

Post  DonaemouS on 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"

_________________
join #tRc.clan @ irc.quakenet.org
---
Third place in RRL Winter 2007
First place in See Flat Invitational RLTCC
First place in ::: Porsche 550 Rumble Cup :::
Second place in Time Trial Tournament Fall 2008 - 5848 points
Third place in GT3 Championship
4th in Redline Touring Car Championship
Second place in Redline Mini Trophy 2010
avatar
DonaemouS
Moderator
Moderator

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

View user profile http://www.games4mac.it

Back to top Go down

Re: Shadow model specs?

Post  slowDan on 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
avatar
slowDan
Addict
Addict

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

View user profile http://slowdan.co.nr

Back to top Go down

Re: Shadow model specs?

Post  DANDY on 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.
avatar
DANDY
Veteran
Veteran

Number of posts : 323
Age : 41
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

View user profile http://www.race2play.com/team/prw

Back to top Go down

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