Planet lighting on F7

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Planet lighting on F7

Post by Cody »

Could the planet image on F7 mimic the ambient level in use, rather than the default?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Planet lighting on F7

Post by Cody »

Ho-hum! Not possible, or not desirable/worth the effort? If the latter, is it something which could be tweaked by a dumb pilot?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Planet lighting on F7

Post by Commander_X »

I guess your real problem is that the rendering for the "target system" is using the "local system" ambient lighting, from what I can tell (very noticeable when using the atmosphere shader). I think the code for the mini planet display is not getting all the information needed for the shader in a consistent manner.
EDIT: Well, it seems that the what I mentioned above is no more true. But the atmosphere shader of all the systems you're looking at considers the current distance to your local planet (so it won't render the atmosphere if you're too far to see it in your local system). Also there seems to be another issue too with the way this is rendered -- that is if you first press F7 on another system than the local -> no atmo, switch to local -> atmo, switch back to the previous -> atmo too.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Planet lighting on F7

Post by Cody »

<scratches head - grins>
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply