Dynamic Light disappeared p3dv4

Discussion related to terrain/scenery design.
Locked
maz-liea
Posts: 6
Joined: Sat Sep 17, 2011 3:10 pm
Location: Italy

Dynamic Light disappeared p3dv4

Post 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
Bye Massimiliano Sarotto
marcon8122
Posts: 28
Joined: Sat Jul 06, 2013 10:25 am

Re: Dynamic Light disappeared p3dv4

Post by marcon8122 »

Probably you need a controller like other effects for poles but seem that other sceneries with dynamic lights have this iussue
JetStreamDesigns
Posts: 4
Joined: Wed Jan 01, 2014 3:41 pm

Re: Dynamic Light disappeared p3dv4

Post 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
JetStreamDesigns
Posts: 4
Joined: Wed Jan 01, 2014 3:41 pm

Re: Dynamic Light disappeared p3dv4

Post 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! :)
marcon8122
Posts: 28
Joined: Sat Jul 06, 2013 10:25 am

Re: Dynamic Light disappeared p3dv4

Post by marcon8122 »

Hi Thomas also 100000 delay will work too now week that there is a solution
JetStreamDesigns
Posts: 4
Joined: Wed Jan 01, 2014 3:41 pm

Re: Dynamic Light disappeared p3dv4

Post by JetStreamDesigns »

Oh then it was maybe the distance setting that was making it disappear. At least we found a workaround anyway ;)
maz-liea
Posts: 6
Joined: Sat Sep 17, 2011 3:10 pm
Location: Italy

Re: Dynamic Light disappeared p3dv4

Post 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.
Bye Massimiliano Sarotto
bekesdd
Posts: 77
Joined: Wed Oct 02, 2013 10:02 am

Re: Dynamic Light disappeared p3dv4

Post 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.
OldGuy19
Posts: 12
Joined: Sat Nov 18, 2017 2:56 am

Re: Dynamic Light disappeared p3dv4

Post 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 !
OldGuy19
Posts: 12
Joined: Sat Nov 18, 2017 2:56 am

Re: Dynamic Light disappeared p3dv4

Post 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 !
Locked