Game Development Community

Dissapearing FXLights

by Cinder Games · in Torque Game Engine · 10/17/2005 (6:20 pm) · 4 replies

Seems like if i add more then 2 lights to my scene.... one of them goes away, and i can rotate the camera or move around and they switch on and off.


Everything is DTS objects, btw. Is there some sorta limitation of the number of active lights per object?

Anyone want a video of it?

#1
10/17/2005 (6:24 pm)
ramensama.dyndns.org:8000/lightsout.avi

small file size.. so quality's not so hot.. but you can easily see what's going on.
#2
10/17/2005 (6:26 pm)
Think it may be due to the origin of the light moving out of the camera's view?
#3
10/17/2005 (6:31 pm)
Does the same in first person view as well. i can look towards two of the lights, move around and one will disappear.
#4
10/18/2005 (5:59 am)
datablock fxLightData(fxDefaultLight)
{

   LightOn = true;
   Radius = 100.0;
   Brightness = 1.0;
   Colour = "1 1 1";

   FlareOn = false;
   FlareTP = false;
   FlareBitmap = "common/lighting/corona";
   FlareColour = "1 1 1";
   ConstantSizeOn = false;
   ConstantSize = 1.0;
   NearSize = 3.0;
   FarSize = 0.5;
   NearDistance = 10.0;
   FarDistance = 30.0;
   FadeTime = 0.1;
   BlendMode = 0;

   AnimColour = false;
   AnimBrightness = false;
   AnimRadius = false;
   AnimOffset = false;
   AnimRotation = false;
   LinkFlare = true;
   LinkFlareSize = false;
   MinColour = "0 0 0";
   MaxColour = "1 1 1";
   MinBrightness = 0.0;
   MaxBrightness = 1.0;
   MinRadius = 0.1;
   MaxRadius = 20.0;
   StartOffset = "-5 0 0";
   EndOffset = "5 0 0";
   MinRotation = 0;
   MaxRotation = 350;
   SingleColourKeys = true;
   RedKeys = "AZA";
   GreenKeys = "AZA";
   BlueKeys = "AZA";
   BrightnessKeys = "AZA";
   RadiusKeys = "AZA";
   OffsetKeys = "AZA";
   RotationKeys = "AZA";
   ColourTime = 1.0;
   BrightnessTime = 1.0;
   RadiusTime = 5.0;
   OffsetTime = 5.0;
   RotationTime = 5.0;
   LerpColour = true;
   LerpBrightness = true;
   LerpRadius = true;
   LerpOffset = true;
   LerpRotation = true;
};


here's my FXLight data block anything look funky?