Immersive Railroading

Immersive Railroading

3M Downloads

Trains are not visible in some viewing angels

xNccPlay opened this issue ยท 4 comments

commented

Today I installed the new 1.7.2 update on my 1.12.2 server (I was on 1.6.1 before) and noticed, that in some viewing angles, the interrior is completly disappearing, while standing still in a loco or any other rolling stock. But this isn't always the case. Sometimes everything is working fine. The problem also does appear on some trains while standing outside and look around.

Here are some screenshots. Each two are exactly the same spot just with an other viewing angel.

2019-11-24_17 27 29
2019-11-24_17 27 36
2019-11-24_17 27 47
2019-11-24_17 27 54
2019-11-24_17 32 20
2019-11-24_17 32 25

Minecraft-Version: 1.12.2
Forge-Version: 14.23.5.2838
Mod-Version: 1.7.2

commented

While looking for other stuff, I noticed this line:
https://github.com/TeamOpenIndustry/UniversalModCore/blob/bf8bd48513ab90eb6759c777e9a7efe91c40b6fd/src/main/java/cam72cam/mod/render/GlobalRender.java#L93
Not sure if that's intended (I didn't think about it much) but be aware that calling new Frustum() will break Frustums which have previous been acquired via the same constructor (including the one used by MC itself) because it calls ClippingHelperImpl.getInstance() which has a bad name because it not just gets but also updates the ClippingHelperImpl singleton (had to learn this the hard way myself: Johni0702/BetterPortals@ad1fa13).
Depending on when getCamera is called, I could imagine that leading to such issues.

commented

I recommend not to use 1.7.X versions because they are very buggy. It's better to stay at 1.6.1.

commented

Also having this issue on Forge Minecraft 1.14.4 in single-player.

commented

Thanks @Johni0702