• Welcome to PiBoSo Official Forum. Please login or sign up.
 
December 08, 2024, 07:48:13 PM

trubles on shadows (solved)

Started by Hellboga, April 16, 2020, 11:06:18 PM

Previous topic - Next topic

Hellboga

April 16, 2020, 11:06:18 PM Last Edit: April 18, 2020, 06:27:07 PM by Hellboga
hi guys,
in my mod, FZR 750, i have a problem with shadow...
i use the same model for bike body and shadows and initially look fine.
next i add analogic gauges and animated levers, refresh body and shadow model but...
in 1p if the gauges in the .gxf is "enabled=1" the shadow disappear
if the lever is enebled the shadows disappare  in 1p and 3p.
shadow model have levers and gauges

some one can help me?
thanks in advance

h106frp

You should simplify your shadow model, remove all detail parts that will not add to the shado w cast like bits of engine, gauge faces, needles etc and then decimate your model down to maybe a third of the poly level, pretty sure you need to move the chain from the wheel to the swingarms to stop it spinning in the shadow model as well.

Hellboga

April 17, 2020, 11:03:17 AM #2 Last Edit: April 17, 2020, 12:19:14 PM by Hellboga
thanks for the tip h106 but...
removed details, removed meedles and lever, decimated model to 1\3 but nothing.
ok, forget the levers and 3p shadows works, my real problem is 1p with analogic gauges.
i try to use the cbr 900 chasse shadow and it work! so i think the problem is my shadow model.
then i try with needles on shadow model... nothing

... WTF... any ideas
 


 

Myst1cPrun3

What I did was apply a white texture to everything I wanted to have a shadow.

Then I exported it as an fbx with _s at the end, and converted that to a new EDF.

Such as Yamaha_FZR_750_s, then set that as the model for the shadows in the gfx

Don't know if that's any help, but unused a separate model/EDF for the shadows.

Blackheart

Quote from: Myst1cPrun3 on April 17, 2020, 01:48:44 PMWhat I did was apply a white texture to everything I wanted to have a shadow.

Or just remove any materials with: $.mat=null


h106frp

This is a working gfx script entry for analog gauge, double check you brackets {} as missing one out causes all sorts of problems. The other possible cause is the parent declarations in the script relative to your model construct the 'name=' bit is not required for the root object.

gauges
{
analog_scene = 0 ; gauges mounted to chassis
rpm_analog
{
enable = 1
needle = rpmneedle
axis = z
step0value = 0
step0angle = 0
step1value = 13000
step1angle = -230
}

speed_analog
{
enable = 1
needle = speedneedle
axis = z
step0value = 15
step0angle = 0
step1value = 320
step1angle = -300
}

Hellboga

April 17, 2020, 05:38:28 PM #6 Last Edit: April 17, 2020, 05:41:41 PM by Hellboga
Quote from: h106frp on April 17, 2020, 03:33:57 PMThe other possible cause is the parent declarations in the script relative to your model construct the 'name=' bit is not required for the root object.


yeah! is the parental attribute the problem!
removed and finally that "flying man" have something under his butt.
probably now i can use animated lever.

thanks all of you
100 science points for H106frp