Page 1 of 1

Planet loading bug and Geo Patches improvement

Posted: Thu Jan 21, 2021 8:12 am
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

Re: Planet loading bug and Geo Patches improvement

Posted: Thu Jan 21, 2021 10:04 am
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.

Re: Planet loading bug and Geo Patches improvement

Posted: Thu Jan 21, 2021 10:30 am
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.

Re: Planet loading bug and Geo Patches improvement

Posted: Mon Jan 25, 2021 7:14 pm
by FluffyFreak
LODs etc are all chosen on CPU, so not OpenGLs doing