P3Dv5.1 Special effect
How to stop an illuminated particle on a deck of a boat?
The particle go through to the deck and stop in the water.
What we have to add in this fx file for not having light on the water?
Can you have a look here to see what I say.
http://royalefrenchnavy.restauravia.fr/ ... Effect.jpg
Best regards
Michel
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0
[Properties]
[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.50, 0.50
Bounce=1.00
No Interpolate=1
Rate=0.01, 0.01
X Emitter Velocity=0.00, 0.00
Y Emitter Velocity=0.00, 0.00
Z Emitter Velocity=0.00, 0.00
Drag=0.00, 0.00
X Particle Velocity=0.00, 0.00
Y Particle Velocity=0.00, 0.00
Z Particle Velocity=0.00, 0.00
X Rotation=0.00, 0.00
Y Rotation=0.00, 0.00
Z Rotation=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Pitch=0.00, 0.00
Bank=0.00, 0.00
Heading=0.00, 0.00
[Particle.0]
Lifetime=0.00, 0.00
Type=28
X Scale=80.00, 260.00
Y Scale=30.00, 30.00
Z Scale=00.00, 00.00
X Scale Rate=0.00, 0.00
Y Scale Rate=0.00, 0.00
Z Scale Rate=0.00, 0.00
Drag=0.00, 0.00
Color Rate=0.00, 0.00
X Offset=0.00, 0.00
Y Offset=0.00, 0.00
Z Offset=0.00, 0.00
Fade In=0.00, 0.00
Fade Out=0.00, 0.00
Static=1
Face=0, 0, 0
[ParticleAttributes.0]
Color Start=240, 240, 180, 0
Color End=255, 199, 150, 50
Bounce=1.00
X Scale Goal=0.00
Y Scale Goal=0.00
Z Scale Goal=0.00
Falloff Exponent=0.075
Inner Cone Angle=15.00
Outer Cone Angle=45.00
P3Dv5.1 Special effect
Re: P3Dv5.1 Special effect
Seems to be more explicit:
http://royalefrenchnavy.restauravia.fr/ ... ect_02.jpg
http://royalefrenchnavy.restauravia.fr/ ... ect_02.jpg
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: P3Dv5.1 Special effect
Hi Michel,
Have you tried increasing your Falloff Exponent value? This should reduce the distance that the light will draw.
Regards,
Clifton
Have you tried increasing your Falloff Exponent value? This should reduce the distance that the light will draw.
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
Re: P3Dv5.1 Special effect
Thank you very much Clifton
I try as you say.
Regards
Michel
I try as you say.
Regards
Michel
Re: P3Dv5.1 Special effect
Wonderful!!!
You are an expert.
Thank you very much.
I am happy because it is exactly that we want.
Have a look on the result.
Water is not illuminated.
http://royalefrenchnavy.restauravia.fr/ ... hite_1.mkv
http://royalefrenchnavy.restauravia.fr/ ... hite_2.mkv
http://royalefrenchnavy.restauravia.fr/ ... /Amber.mkv
Best regards
MichelP
You are an expert.
Thank you very much.
I am happy because it is exactly that we want.
Have a look on the result.
Water is not illuminated.
http://royalefrenchnavy.restauravia.fr/ ... hite_1.mkv
http://royalefrenchnavy.restauravia.fr/ ... hite_2.mkv
http://royalefrenchnavy.restauravia.fr/ ... /Amber.mkv
Best regards
MichelP
Re: P3Dv5.1 Special effect
Looks like you had a "Falloff Exponent" value of 0.075 in the code sample above.
What did you change the value to for the improved results?
I can think of another big ship that could benefit from this. :-)
What did you change the value to for the improved results?
I can think of another big ship that could benefit from this. :-)
Frank Safranek
Virtavia Paint Crew | Team SDB
Virtavia Paint Crew | Team SDB
Re: P3Dv5.1 Special effect
Hi Frank
Maximum value is 2 in the SDK section Light N tab
But there is no limit in the [ParticleAttributes.0]
So you can try with a higher value.
I put 10 for a good result.
Thank you very much to Clifton Crane.
Michel
Maximum value is 2 in the SDK section Light N tab
But there is no limit in the [ParticleAttributes.0]
So you can try with a higher value.
I put 10 for a good result.
Thank you very much to Clifton Crane.
Michel