Pages: [1]
  Print  
Author Topic: Fixing Dlight flares?  (Read 15133 times)
fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« on: December 08, 2009, 01:52:23 AM »

Quake3 engine had a feature in addition to flares, there were also dlight flares, similar to flares in Darkplaces. They're flares attached to *ANY* dynamic light. There's a few problems though:

- Any model using a dlight flare changing its own angle (grenade, rocket, muzzleflash) will screw up the origin of the flare
- It doesn't fade with radius.
- It has a fixed size, latched to r_flaresize. Putting that to the radius would make things awesome
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Marble of Doom
Bigger member


Cakes 4
Posts: 151

Caketastic


« Reply #1 on: December 08, 2009, 08:27:02 PM »

Is this something that can be implemented in oa? I'm interested on how it would look.
Logged

fromhell
Administrator
GET A LIFE!
**********

Cakes 35
Posts: 14520



WWW
« Reply #2 on: December 10, 2009, 12:28:14 AM »

Yes

The origin bug seems fixed.

I added radius->flaresize in there, makes explosion flares fade away

I don't have mingw installed yet so the testing is done on vanilla q3 source
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Marble of Doom
Bigger member


Cakes 4
Posts: 151

Caketastic


« Reply #3 on: December 10, 2009, 07:21:37 PM »

Wow, that looks nice.
Logged

befno
Half-Nub


Cakes -6
Posts: 78


« Reply #4 on: December 21, 2009, 01:48:44 PM »

It does look nice indeed. So how did you discover this dynamic light flare feature from the q3 engine? And how did you fix it? Just with code modifications?
Logged
Pages: [1]
  Print  
 
Jump to: