Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Hellzed on February 26, 2014, 01:37:06 pm

Title: [Bug] Multiple rendering bugs in nebula
Post by: Hellzed on February 26, 2014, 01:37:06 pm
Here is a video of multiple bugs encountered in SM2-08 :

- The Sathanas is invisible at some distances and angles
- The Sathanas' engine glows are invisible at short distances
- Sometimes (2:22 to 2:24), the Stahanas (and other ships) render through the nebula poofs without any occlusion.

CPU : Intel i7-3630QM
GPU : nvidia GT 740M 2Go and Intel HD4000

My OS are Ubuntu 13.10 and 14.04. nvidia proprietary driver is up-to-date (331.38), Intel driver (and mesa) is the latest git version.
Issues are the same, a bit worse with the Intel GPU.

Log : http://www.hard-light.net/mantis/file_download.php?file_id=246&type=bug
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Rga_Noris on February 26, 2014, 02:14:31 pm
This big is present with the retail Sath as well.

3.7.0 confirmed all of the above with the retail Sath. Also with nightly 10280.

3.6.12 confirmed no thruster glows. The other bugs may also occur, but they are rare on my system so I may just have missed it.

Windows 7 Ultimate x64
Nvidia GeForce 475
Core i5 at 2.8Ghz
Mission: Monster in the Mist
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Luis Dias on February 26, 2014, 06:34:46 pm
Y U no log? :(

also you got your youtube thingy wrong. You just need to copypaste the code after the url like this:

Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: General Battuta on February 26, 2014, 06:38:12 pm
Hmm. This looks kind of like a bug we saw a lot in BP2 in Universal Truth 2. But we had a very hard time building a test case to repro.

e: If this is specific to MVPs 2014 then it's not the same bug.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: The Dagger on February 26, 2014, 07:03:46 pm
Could this be the same pop-in problem devi1sdoz3n refeared to when he released his nebula poofs?
link: http://www.hard-light.net/forums/index.php?topic=78949.0 (http://www.hard-light.net/forums/index.php?topic=78949.0)
There's some discussion in that thread about the causes and possible solutions but there doesn't seem to be a final resolution.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Rga_Noris on February 27, 2014, 01:32:59 am
Hmm. This looks kind of like a bug we saw a lot in BP2 in Universal Truth 2. But we had a very hard time building a test case to repro.

e: If this is specific to MVPs 2014 then it's not the same bug.

Read up... the bug is reproduced using no mods at all.

BAZINGA!

Did I use that right? I think I used it right. Right? Right.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Lykurgos88 on February 27, 2014, 09:16:14 am
!!!An important clarification!!!

Quote
Sometimes (2:22 to 2:24), the Stahanas (and other ships) render through the nebula poofs without any occlusion

This one is indeed a more general bug. It happens with EVERY ship that are cruisers or bigger. I have tried various different post 3.7.0 builds. The way this happens is VERY irregular. Usually it needs some action first; some projectiles flying in the space. For example during the mission "Proving Grounds" I can't reproduce this bug with Aquitaine in the beginning, but as soon as the attack starts, this bug also starts to happen. It doesn't happen every time I face Aquitaine, but still too often. The basic sympton is that Aquitaine is 100 % visible for 1-2 seconds before FSO engine "remembers" to hide it behind nebula poofs. It's not game-breaking, but it takes away some immersion.

This also happens for Deimos corvettes and Shivan cruisers in the mission "Great Hunt".

I'm fairly certain that this is not an user-end issue. I have confirmed this behaviours with 2 different computers with modern hardware (like Geforce GTX 770) ja up-to-date drivers. I think my installation, settings and start parameters are also fine, since I have been able to complete dozens of campaigns last autumn. So this seems to be only a small rendering annoyance. My guess would be that FSO engine's "occlusion" mechanics are not currently handling well LOD changes of bigger ships, producing a delay of 1-2 seconds.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Luis Dias on February 27, 2014, 09:22:40 am
I remember having this bug the first times I played with the nunebula long before it was in the mediavps.

But I haven't had this for ages now.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Zacam on February 27, 2014, 01:42:55 pm
In reading through the linked thread, I realized the shortfalls in the system and I'll actively add this to my immediate "work on" list.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: The E on February 28, 2014, 01:12:09 am
Closing this thread in order to move the discussion to Mantis. See http://scp.indiegames.us/mantis/view.php?id=3012 for further developments.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: karajorma on February 28, 2014, 01:30:22 am
I believe this bug is already in Mantis.

http://hard-light.net/mantis/view.php?id=923
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: The E on February 28, 2014, 01:35:31 am
That's the TBP Mantis though. I believe we have conclusive evidence that this is an engine (more specifically, shader) bug, so the SCP Mantis is where it properly belongs.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: karajorma on February 28, 2014, 11:39:00 am
From what I remember, there is a closed bug somewhere on SCP mantis detailing the same issue.
Title: Re: [Bug] Multiple rendering bugs in nebula
Post by: Zacam on March 02, 2014, 02:46:28 am
I'll update the mantis issue as well, but just so people can have some visibility here as well:

The issue is two factored. It actually was found to be the result of a change in the MediaVP's, but the problem doesn't rely solely or squarely on just them, there are also some code issues to be looked at.