InsanityBringer / PiccuEngine

Descent 3: Piccu Engine, a version of the game Descent 3 focused on quality-of-life improvements.
GNU General Public License v3.0
97 stars 6 forks source link

Broken terrain UV coordinates after v1.1.1 #48

Closed rimisuko closed 2 weeks ago

rimisuko commented 3 weeks ago

Hi there,

Just a heads-up in case the issue below isn't already known:

With the current master branch (date 24/06/15, compiled with VSCode/VC++ 2022 on Windows 11, everything at default) there is some UV coordinate corruption related to terrain rendering that must have snuck in after v1.1.1. The screenshot below should make the issue pretty obvious:

piccu_terrain_uv-glitch

InsanityBringer commented 3 weeks ago

Which level is this from? I'm still working on a few bugs with the new rendering code and I'd like to be able to double check it

rimisuko commented 3 weeks ago

That's the Titan level (11, PTMC Storage Facility). I attached a savegame for convenience. Should have done that in the original post.

savegame.zip

rimisuko commented 3 weeks ago

On a sidenote: When you fly around a bit, you'll also notice weird "sliding" terrain geometry where structures/buildings hit the ground. Very obvious when you fly towards a building from far away. Might be a z-buffer problem from the looks of it, but that's just a guess.

This issue also isn't present in v1.1.1