Feature #1362

Feature #7: Next-gen renderer (codename "Gloom")

Feature #6: Draw lens flares using GL2

Smoothing of dynlights & halos

Added by danij over 19 years ago. Updated over 4 years ago.

Target version:
Start date:
% Done:



I'm not sure if this has been mentioned before (or if this
should be an RFE instead of a bug) but currently there is
no smoothing applied to the properties of dynlights or

Now that nearly everything is being smoothed it looks
somewhat odd how the dynlights & halos aren't
smoothed between frames and states.

So if state STATE_RUN1 has a dynlight of radius .8
and STATE_RUN2 has a radius of 1.2, there should be a
smooth transition between the two.

I'm thinking there might also need to be a flag to
dissable smoothing in certain instances.

Labels: Graphics


#1 Updated by danij almost 19 years ago

Converting to RFE

#2 Updated by skyjake over 10 years ago

  • Assignee set to skyjake
  • Target version set to 1.13
  • Parent task set to #6

#3 Updated by danij over 10 years ago

As of 1.12 luminous objects are now owned by the de::Map instance. However they currently cleared and regenerated at the start of each world frame.

#4 Updated by skyjake over 10 years ago

For the new lens flare drawing code, it is quite important that luminous objects are tracked across frames. I suppose it's not very difficult to maintain a persistent collection of luminous objects in the map, though?

#5 Updated by danij over 10 years ago

Indeed I expect this can be implemented by removing the regenerating and instead updating lumobj properties if/when necessary. Lumobj could then handle the interpolation internally.

#6 Updated by skyjake over 10 years ago

  • Tags set to Renderer, Lights, LensFlare

#7 Updated by skyjake over 10 years ago

  • Category set to Enhancement

#8 Updated by vermil over 10 years ago

I would like to debate what the default should be; smoothing or no smoothing. I.e should it be a flag to enable smoothing or a flag to disable smoothing.

Old mods were obviously designed not expecting smoothing, but some mods tried to 'fake' it.

Yet one of Dday's primary aims is to enhance the visuals of classic maps that weren’t designed for said visuals in the first place and that could include old Dday mods.

#9 Updated by skyjake over 10 years ago

  • Target version changed from 1.13 to 1.14

#10 Updated by skyjake about 10 years ago

  • Target version changed from 1.14 to 1.15

#11 Updated by skyjake over 9 years ago

  • Target version changed from 1.15 to 42

#12 Updated by danij almost 9 years ago

  • Target version deleted (42)

#13 Updated by skyjake over 4 years ago

  • Target version set to Rendering

Also available in: Atom PDF