Planet loading bug and Geo Patches improvement

Post Reply
CMDR ARGHouse
Posts: 54
Joined: Mon Feb 11, 2019 1:34 pm
Location: Australia

Planet loading bug and Geo Patches improvement

Post by CMDR ARGHouse »

Hi, there seems to be a bug with the Github build (not the December 2020 version), planet geopatches are loading in and out at about 100 to 500 mm, unlike in the release version where you have a smooth transition until the planet is far away and gone.
https://imgur.com/a/H324CB8
I think it might be an issue with OpenGL, World size or camera distance.
I was previously working on improving the quality of geopatches, it was working, it was when I flew away and towards planets that I noticed this bug. I thought I had made a mistake, so I reset back to vanilla on my other laptop and rebuilt, same issue with the build on the other laptop.
Here is the improvement, I increased the subdivision distance, making features much less blurry.
https://cdn.discordapp.com/attachments/ ... nknown.png
CMDR ARGHouse
Posts: 54
Joined: Mon Feb 11, 2019 1:34 pm
Location: Australia

Re: Planet loading bug and Geo Patches improvement

Post by CMDR ARGHouse »

I just built a version of Pioneer from October last year, the bug is not present, so I can use this version to identify what has gone wrong.
CMDR ARGHouse
Posts: 54
Joined: Mon Feb 11, 2019 1:34 pm
Location: Australia

Re: Planet loading bug and Geo Patches improvement

Post by CMDR ARGHouse »

I replaced the lmatrix4x4.cpp file in my latest version with the one from October, I'm not getting the camera distance bug anymore, fixing the OrthoMartrix and Frustum clearly added in an unintended side effect.
FluffyFreak
Posts: 1343
Joined: Tue Jul 02, 2013 1:49 pm
Location: Beeston, Nottinghamshire, GB
Contact:

Re: Planet loading bug and Geo Patches improvement

Post by FluffyFreak »

LODs etc are all chosen on CPU, so not OpenGLs doing
Post Reply