UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #2853 Flares rendering broken
Go to the next issue (open or closed)
Go to the next open issue
alextishin (@alextishin) has been working on this issue since January 28, 2013 (20:47)
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2853 Item 2853] imported from sourceforge.net tracker on 2013-01-28 19:50:51

Now flares are always drawn in front of the models, which looks better, but is still not correct, but also now we have graphic errors sometimes, see:
http://ufoai.ninex.info/forum/index.php?topic=5803.msg47309#msg47309

It might have to do with some flares being transparent, because the bug does not happen with all the flares, but you can check it out on gate or laboratory maps.
===== Comments Ported from Sourceforge =====

====== alextishin (2011-05-10 22:57:45) ======

There are two reasons for the broken graphics: one is that the detail brushes are treated as if they were opaque (thus breaking the rendering order if they aren't or have special effects like flares); and the second is R_DrawFlareSurfaces() not being tedious enough to set up rendering state.
3ab470b fixes the second problem, but first still has to be addressed.

Also, flares do have to have more accurate occlusion check, but I'm think that is not a high priority item -- after all, in a top-down game flares are really rare to occur exactly behind models.
====== mcr2010 (2011-05-11 09:17:56) ======

Setting the priority to 2.
====== mcr2010 (2011-10-02 08:09:58) ======

Flares still shine through the models. Attached a new screenie. Just FYI, priority for this is low ofc...
====== mcr2010 (2011-10-02 08:10:44) ======

Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif