This
tutorial intends to teach you how to have the shadow on your model. It's
not a hard thing to do :
1.
Displaying the "named property" windows.
In
oxygen, click "window", then check "named properties".
A new window will appear :
2. Editing the Lods.
You
are supposed to have a bunch of lods for displaying the model, which names
are numbers like "0.00000", "5.0000", etc... As the
following:
In
OFP, the display lods are used to display the shadow as well. Unfortunatly,
when a lod is higher than a certain number of faces (around 300 I'm not
100% sure), it will not display the shadow. So what we will do is to indicate
to the OFP engine we dont want this high details lods to display the shadow
by a special named property. So the engine will try the lower lod etc...
until it finds a lod which doesn't have that named property, so it indicates
it can be used as a shadow lod.
To
indicate the engine not to use a lod as shadow lod, right click in the
named property box and add a new named property called "lodnoshadow"
and value set to 1 :
Do that for every lods except the last one. For exemple :
0.000: lodnoshadow = 1
1.500: lodnoshadow = 1
3.500: lodnoshadow = 1
5.250: lodnoshadow = 1
7.875: lodnoshadow = 1
11.813: nothing !
If you dont see any shadow in the game, it's probably because your last
display lod got too high number of faces, so reduce it untill you see
that nice shadow. To check the number of faces for a lod, select the lod,
then press CTRL+A (select all) and have a look at the status bar at the
bottom of the screen, it indicates how many points and faces you have
selected. good luck !
back
to the news
|