Game Development Community

Radiosity effects

by Desmond Fletcher · in Torque Game Engine · 05/11/2005 (11:19 am) · 32 replies

John,
How feasible would it be to "attach" a static light to a surface to simulate the glow effect of texture flagged as a light source?
Page«First 1 2 Next»
#21
05/13/2005 (8:03 pm)
Hi Jackie,
I tried to call you! Long time no see. Your project looks great! LOL, I see you found my grid texture--works great for layout doesn't it.

I didn't have any prob posting above...did you try and post a bunch of stuff--perhaps its too long?
#22
05/14/2005 (6:05 am)
Hey Desmond..... I made this grid texture about a year and half ago. I guess like minds think alike...:) although I think I got the idea from you way back then .:)

www.igysoft.com/gg/image3.jpg
Your right though. It makes placing objects allot easier.

I just emailed you my phone numbers. Call me anytime.

I'll try and post the datablock again.
#23
05/14/2005 (6:23 am)
I tried again and all I get is:

Forbidden
You don't have permission to access /mg/forums/result.thread.php on this server.


--------------------------------------------------------------------------------

Apache Server at www.garagegames.com Port 80

I don't understand. Maybe the GG folks can pick up on this and let me know what I might be doing wrong.

I diffed your post above with my sgOutsideSpot and other than a few param settings I only found two that were different

YOURS - FlareBitmap = "~/lighting/corona";
MINE - FlareBitmap = "common/lighting/corona"; Which is just a location.

YOURS - AdvancedLightingModel = "1";
MINE - AdvancedLightingModel = "0"; This one you might try.
#24
05/14/2005 (7:35 am)
@Jackie - take out any Tabs in your code and it will work.
#25
05/14/2005 (7:40 am)
Hi Desmond,

The leaves are self-illuminating, which means they won't receive any other lighting that's why the trunk looks ok, but the leaves are unaffected. The way to handle this type of setup is to adjust the tree's custom ambient color (set it to only affect the self-illuminating surfaces) to look illuminated by the spotlight, and then position the spotlight to were it *would have* illuminated all of the leaves (so it properly illuminates the branches).

-John
#26
05/14/2005 (7:46 am)
datablock sgUniversalStaticLightData(sgOutsideSpot) {   
   className = "sgUniversalStaticLightData";  
   LightOn = "1";   
   radius = "20";   
   Brightness = "0.9";  
   Colour = "1.000000 1.000000 1.000000 1.000000";   
   FlareOn = "1";   
   FlareTP = "1";   
   FlareBitmap = "common/lighting/corona";   
   FlareColour = "1.000000 1.000000 1.000000 1.000000";   
   ConstantSizeOn = "0";   
   ConstantSize = "1";   
   NearSize = "3";   
   FarSize = "5";   
   NearDistance = "10";   
   FarDistance = "30";   
   FadeTime = "0.1";   
   BlendMode = "0";   
   AnimColour = "0";   
   AnimBrightness = "0";   
   AnimRadius = "0";   
   AnimOffsets = "0";   
   AnimRotation = "0";   
   LinkFlare = "1";   
   LinkFlareSize = "0";   
   MinColour = "0.000000 0.000000 0.000000 1.000000";   
   MaxColour = "1.000000 1.000000 1.000000 1.000000";   
   MinBrightness = "0";   
   MaxBrightness = "1";   
   MinRadius = "0.1";   
   MaxRadius = "20";   
   StartOffset = "-5 0 0";   
   EndOffset = "5 0 0";   
   MinRotation = "0";   
   MaxRotation = "359";   
   SingleColourKeys = "1";   
   RedKeys = "AZA";   
   GreenKeys = "AZA";   
   BlueKeys = "AZA";   
   BrightnessKeys = "AZA";   
   RadiusKeys = "AZA";   
   OffsetKeys = "AZA";   
   RotationKeys = "AZA";   
   ColourTime = "5";   
   BrightnessTime = "5";   
   RadiusTime = "5";   
   OffsetTime = "5";   
   RotationTime = "5";   
   LerpColour = "1";   
   LerpBrightness = "1";   
   LerpRadius = "1";   
   LerpOffset = "1";   
   LerpRotation = "1";   
   StaticLight = "1";   
   SpotLight = "1";   
   SpotAngle = "115.575";
   AdvancedLightingModel = "0";   
   EffectsDTSObjects = "1";   
   CastsShadows = "1";   
   DiffuseRestrictZone = "0";   
   AmbientRestrictZone = "0";   
   LocalAmbientAmount = "0";   
   SmoothSpotLight = "0";   
   DoubleSidedAmbient = "0";   
   LightingModelName = "SG - Original Stock (Lighting Pack)";
};

Hey Thanks Jacob....did not think of that one.:)
#27
05/14/2005 (7:50 am)
@John

Do you know when you mught be releasing this update?

Thanks
#28
05/16/2005 (7:14 am)
Hi Jackie,

I don't have a release date yet, it depends on when the docs are complete.

Your screen shots look great I've been eagerly awaiting shots from your project ever since you contacted me some months ago with a few teaser details. :)

-John
#29
05/16/2005 (3:34 pm)
Matt just finished another great sculpture (the iron horse); set in a delicious garden of light :)

See hv08: holodeck.st.usm.edu/vrgallery/

And, yes, Jackie: we want to see more!!!
#30
05/16/2005 (8:32 pm)
Thanks John and Desmond for the encouraging comments.
#31
05/18/2005 (1:53 pm)
Finally was able to pick up the lighting pack, after seeing some of the progress I am more than happy I did, great stuff!
#32
05/18/2005 (3:20 pm)
Hi Matthew, thanks!
Page«First 1 2 Next»