Page 1 of 1

Dynamic Light disappeared p3dv4

Posted: Sun Jul 16, 2017 7:13 am
by maz-liea
Good Morning

I have created this file .fx whith fxtool:

Code: Select all

[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0

[Properties]

[Emitter.0]
Lifetime=1.00, 1.00
Delay=0.00, 0.00
Bounce=0.00
Rate=1.00, 1.00
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=27
X Scale=5.00, 5.00
Y Scale=0.00, 0.00
Z Scale=0.00, 0.00
X Scale Rate=1.00, 1.00
Y Scale Rate=1.00, 1.00
Z Scale Rate=1.00, 1.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=0, 0, 0, 0
Color End=236, 253, 255, 70
Bounce=0.00
X Scale Goal=80.00
Y Scale Goal=80.00
Z Scale Goal=0.00
Falloff Exponent=2.00
Inner Cone Angle=30.00
Outer Cone Angle=80.00
Attached to an object (lightpole 13 meters) and works in the sim, But if I travel 250 miles and return to the airport, the light does not work.

Any idea?

Best Regards

Re: Dynamic Light disappeared p3dv4

Posted: Sun Jul 16, 2017 1:19 pm
by marcon8122
Probably you need a controller like other effects for poles but seem that other sceneries with dynamic lights have this iussue

Re: Dynamic Light disappeared p3dv4

Posted: Mon Jul 17, 2017 12:49 pm
by JetStreamDesigns
Hello,

I get the same issue, despite adding a controller to the effect file. The effect will not load when arriving at the airport. I'll let you know if I can find a workaround.

Best regards,
Thomas

Re: Dynamic Light disappeared p3dv4

Posted: Mon Jul 17, 2017 5:15 pm
by JetStreamDesigns
Hi again,

I could solve the issue by modifying the controller's settings. I decreased both distance and delay settings:

distance=4000.00, 4000.00
delay=80000.00, 80000.00

Hope this helps! :)

Re: Dynamic Light disappeared p3dv4

Posted: Tue Jul 18, 2017 8:47 am
by marcon8122
Hi Thomas also 100000 delay will work too now week that there is a solution

Re: Dynamic Light disappeared p3dv4

Posted: Wed Jul 19, 2017 8:44 am
by JetStreamDesigns
Oh then it was maybe the distance setting that was making it disappear. At least we found a workaround anyway ;)

Re: Dynamic Light disappeared p3dv4

Posted: Thu Jul 20, 2017 8:00 pm
by maz-liea
I have attached this controller

Code: Select all

 
[Library Effect]
Lifetime=5
Version=2.00
Radius=-1
Priority=0

[controller.0]
lifetime=0.0, 0.0
type=3
distance=4000.00, 4000.00
delay=80000.00, 80000.00
x offset=0.00, 0.00
y offset=0.00, 0.00
z offset=0.00, 0.00
effect.0=fari_sap.fx, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00
the light does not work.

Re: Dynamic Light disappeared p3dv4

Posted: Sat Jul 22, 2017 2:29 am
by bekesdd
Is there also a possibility to limit for performance the distance up to which the dynamic lights are loaded? Changing the distance to 1500 in the controller fx sort of does it but only around the initial position of user where flight is loaded and does not load or unload the lights based on movement of user position. Changing lifetime and delay to 1 didn't have an effect on this. Also a further option to set dynamic light illumination of ground, buildings and simobjects separately with their shadows based on distance from viewpoint would be useful to optimizing their performance.

Re: Dynamic Light disappeared p3dv4

Posted: Sat Nov 18, 2017 3:23 am
by OldGuy19
Hi;

I'm new to this forum and new with P3DV4

i have copied the effects for the light mentionned «up here» and i can see it in the sim.

But i have one probleme with it

If i'm heading east = i have light
if i'm heading west = i have no light

i would like to add image here to show the probleme, but do not know how !

Re: Dynamic Light disappeared p3dv4

Posted: Mon Nov 27, 2017 4:50 am
by OldGuy19
I have narrow my probleme

If i use your light effect alone or with some other effect, it work fine with no probleme.

But; if i use your light effect and the volcan effect «Cntrl_KilaueaEruption.fx» in the same scenery, then i have the probleme i mantioned before. As soon as the volcan effect start and i move the light goes off.

I'm still locking for the cause , but i'm getting closer.

Maybe that can help you !