[Deferred] Rings and OOlite 1.79

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
V12
Dangerous
Dangerous
Posts: 64
Joined: Thu Sep 19, 2013 12:25 pm

[Deferred] Rings and OOlite 1.79

Post by V12 »

I observed bad rendering of the planetary rings. On the pictures is Ondira (G7) :
bad render :

Image

some close distance again bad :

Image

and closer to the planet is OK :

Image
Last edited by Getafix on Tue Dec 17, 2013 12:18 am, edited 1 time in total.
Reason: Marked as "Deferred"
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Rings and OOlite 1.79

Post by cim »

Thanks

The rings - because they're so large - have to duplicate in the shader work normally done by your graphics card's z-buffer, or else they appear like the first picture. In Oolite 1.79 the way that the camera is set up has changed, and because the shader does so much odd stuff, that affects it - you can see in the second picture the shader trying to hide the bits of the rings you can't see, but it hiding the wrong bits because the camera isn't where the shader thinks it is.

It's on my list of things to fix.
Post Reply