Game Development Community

TGEA and LensFlare

by CdnGater · in Torque Game Engine Advanced · 07/21/2007 (8:12 am) · 11 replies

Before I go about making a LensFlare class for TGEA, I wanted to make sure there was not one already existing that I can't see via search. I also wanted to make sure that the engine did not already do it. I've spend 2 days looking though the lights, I see suff for flare, but it does not seem to act like a LensFlare. Please correct me if I am wrong.

Thanks

#1
07/21/2007 (8:21 am)
Someone's got it but he won't send me the code yet.... :P

A man named Mike (erfantmanmike@hotmail.com)
#2
07/23/2007 (10:52 am)
If you can do it, I'm sure everyone would appreciate you posting it as a Resource.
#3
07/23/2007 (10:59 am)
I plan to, I have the basic LensFlare working now. Its inherited from GameObject so you can attached it like any other object to a mount point.

Eg: If you have engines and you add a mount point at the end, you can attach this and get lensflares from you engine.

Also the LensFlare Glows are defined as a datablock, that way you don't have to define each and every flare.

I have a couple of points I am working on for my stuff, but once done, I'll wrap it up and post as a resource.
#4
07/24/2007 (6:07 am)
A resource has been submitted called fxLensFlare for TGEA.
#5
07/24/2007 (6:29 am)
Link? Since it has to be approved before it shows up anywhere else, a direct link would be great. :)
#7
07/24/2007 (6:52 am)
I was waiting for the resource to be approved. I didn't relize you could link to it before being approved. Thanks Eric.
#8
07/24/2007 (2:56 pm)
Problem! Check the resource comments.
#9
07/24/2007 (3:29 pm)
Chris, check the resource comments. Really though, it's a pretty obvious fix :p
#10
07/27/2007 (12:10 am)
Maybe it's just me but I never understood why everyone add lens flare in all games ?

Specially when playing 1st person. I could understand "Camera" mode but not 1st person.
#11
07/27/2007 (6:12 am)
@Claude

You are under no obligation to use any lensflare in any of your games. However, some people will want use them, so the engine should support lensflares.