|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003012||FSSCP||graphics||public||2014-02-28 02:11||2014-06-16 11:44|
|Target Version||3.7.2||Fixed in Version|
|Summary||0003012: Rendering bugs in Nebula|
|Description||While in nebula (i.e. while fogging is active), certain models may not react to fogging correctly. Things to test: Correct shader behaviour in nebula, whether this happens on fixed pipe, possible driver bugs|
For demonstration, see video linked in this thread: http://www.hard-light.net/forums/index.php?topic=86948.0
|Tags||No tags attached.|
It's not shader specific (fixed render, no_glsl) can replicate it, though there is an issue with the thruster distortion rendering -through- full nebula.
The issue is a combination of things: Improper '+Compl dist:' set in a -obt.tbm for a class, lack of '+Fog Near Mult:' & '+Fog Far Mult:' appropriate values in a mission, but more specific to coding ventures, eyepoint calculations for what renders will be completely different in terms of results.
Example: At the start of SM2-08 (A Monster in the Mist), if you stay in cockpit view, the Sathanas is invisible. If you go to pannable external camera, you can make it visible, or you can pop into Chase Cam view and it becomes more visible.
This belies a bug with the eyepoint consideration for focal point, because there is a blending that attributes based on how close to eyepoint/viewpoint 'center' the 'poofs' are in so there is some attendant code regarding the nebula rendering system to look at, but the only significant thing to look at shader wise is the thruster distortion and/or thrusters not rendering.
|Does anyone have a test case for this? I made one myself, with me and an Orion in a Nebula, and it doesn't seem to trigger this bug; I am using a Radeon 7850 with Catalyst 14.4.|
You may want to try it with a Sathanas, and get really close to it (close enough to scan its subsystems, and try to go from a subsystem to another without straying too far from the hull). You will get both the invisible thrusters issue and ship disappearance issue.
You will maybe get the third issue associated with this bug, the ship visible through the poofs, but I'm not sure it will work with a standard test case, because it usually starts after a while, when a lot of projectiles are flying around, and there are many ships in the mission (I remember seeing it on the Aquitaine after the first dogfight in "Mystery of the Trinity").
|The mission "Argonautica" in FS2 retail campaign has probably the most potential in testing the third issue (ships appearing through poofs). It starts right away with action. I have this problem like every other time I face Aquitaine.|
|I have attached a pair of patches that seem to fix the ship-disappearing problem and the ship-pop-in problem, but I have been unable to track down the cause of the thrusters not rendering properly.|
|Found the invisible thruster problem; I think it's time this got some extra eyes on it. Switching to code review.|
|Just tried it, all issues are fixed (engine glow, ships rendering...).|
|Patches committed in revision 10821|
|2014-02-28 02:11||The_E||New Issue|
|2014-03-02 04:13||Zacam||Note Added: 0015633|
|2014-03-02 04:13||Zacam||Status||new => confirmed|
|2014-05-10 07:10||The_E||Note Added: 0015737|
|2014-05-12 10:25||Hellzed||Note Added: 0015742|
|2014-06-09 03:45||Lykurgos88||Note Added: 0015823|
|2014-06-14 02:54||MageKing17||File Added: disappearing_ships.patch|
|2014-06-14 02:55||MageKing17||File Added: ship_pop-in.patch|
|2014-06-14 02:57||MageKing17||Note Added: 0015861|
|2014-06-14 14:57||MageKing17||File Added: invisible_thrusters.patch|
|2014-06-14 14:57||MageKing17||Assigned To||=> MageKing17|
|2014-06-14 14:57||MageKing17||Status||confirmed => assigned|
|2014-06-14 14:57||MageKing17||Note Added: 0015871|
|2014-06-14 14:57||MageKing17||Status||assigned => code review|
|2014-06-15 08:34||Hellzed||Note Added: 0015878|
|2014-06-16 11:44||The_E||Status||code review => assigned|
|2014-06-16 11:44||The_E||Note Added: 0015883|
|2014-06-16 11:44||The_E||Status||assigned => resolved|
|2014-06-16 11:44||The_E||Resolution||open => fixed|