Oolite Bulletins

For information and discussion about Oolite.
It is currently Tue Dec 11, 2018 2:12 am

All times are UTC




Post new topic  Reply to topic  [ 162 posts ]  Go to page Previous 17 8 9 10 11
Author Message
 Post subject: Re: About planets
PostPosted: Wed Feb 19, 2014 12:03 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Mon Apr 06, 2009 12:20 pm
Posts: 6310
Location: Aboard the Pitviper S.E. "Blackwidow"
Quote:
Quote:
So, any chance of this making its way into trunk in the foreseeable future then?
Not yet - and I've been tinkering for a while. I think the approach is right - but the coordinate space it's being applied in is wrong. The geometry is doing my head in.
Have you considered collaborating with kanthoney? Judging by the way he was able to sort out the sharp terminator problems, he seems to have some grasp of that kind of stuff.. another pair of eyeballs might be helpful.

_________________
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied


Top
   
 Post subject: Re: About planets
PostPosted: Thu Feb 20, 2014 7:40 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 07, 2013 10:21 pm
Posts: 281
Hmmm. Nice of you to say...

I'm comfortable with matrix transforms and maths and stuff, but not that familiar with OpenGL (yet).

What I did find when digging through the planet shader thing was that a startling amount of Oolite's OpenGL code is using techniques that have been depreciated. This shouldn't matter, in theory, because OpenGL is supposed to remain backwards compatible so you can use old techniques, but the planet shader was one case where it did matter: back in days of yore, OpenGL used to work out a matrix called gl_NormalMatrix for you. This feature got depreciated - you're now supposed to work it out yourself and pass it through to the shader, I think - so some graphics cards don't bother, even if you're using compatibilty mode. The knock on effect of this was the crappy terminator. I accidentally found a bodge which changed the problem to one that's less obvious - it's now just ignoring the normal mapping of the texture instead on affected cards.

So, we could probably do with an overhaul of the OpenGL code in Oolite. The problems are 1) there's a lot of OpenGL code in Oolite and I, for one, wouldn't know where to start; and 2) if you did update it all, you'd presumably break all the third party shaders and stuff.


Top
   
 Post subject: Re: About planets
PostPosted: Thu Feb 20, 2014 8:04 am 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
User avatar

Joined: Fri Nov 11, 2011 6:19 pm
Posts: 4018
Part of it is that our official OpenGL target is 1.1: the code should run on any card which supports that level, though if there was something put in which broke that, I'm not sure we'd notice. Judging by the responses to the graphics survey, we could probably safely go to 1.3 (cube map texture support) or maybe even 1.4, but we definitely still have players on 1.4-level graphics cards.

Provided you check for the necessary OpenGL extension or version before doing things, though - and have a fallback if it's not available - you can use even OpenGL 4 features if you want. For optional effects, you could put in a new graphics quality level which required OpenGL 3 or 4, and make sure the maximum was set properly (as it is now where the shader options just don't appear if you have a 1.x card)

_________________
OXPs: [EliteWiki] New Cargoes, [EliteWiki] Skilled NPCs, [EliteWiki] Curse of the Black Sunspot, and more


Top
   
 Post subject: Re: About planets
PostPosted: Thu Mar 06, 2014 11:34 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Pushed to github , shady-atmos branch.

Image

Image

Image

Image

Image

Image

_________________
Povray Planets - Planet textures for your galaxy


Last edited by submersible on Sat Mar 31, 2018 11:11 pm, edited 1 time in total.

Top
   
 Post subject: Re: About planets
PostPosted: Thu Mar 06, 2014 11:45 am 
Offline
Jedi Spam Assassin
Jedi Spam Assassin
User avatar

Joined: Thu Jul 12, 2007 10:54 pm
Posts: 6136
Location: Carter's Snort
Outstanding! 8)

_________________
Oofiction: Calliope: a Captain Hesperus adventure | Stranglehold: a Captain Hesperus adventure | Local Midnight in the Vacuum Bar | A Farewell to Arms, Legs, etc.: the Blaze O'Glory Story


Top
   
 Post subject: Re: About planets
PostPosted: Thu Mar 06, 2014 1:49 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2291
Location: Wales
Amazing work submersible! That looks absolutely stunning

_________________
Wiki homepage for my OXP: http://wiki.alioth.net/index.php/Griff_Industries


Top
   
 Post subject: Re: About planets
PostPosted: Thu Mar 06, 2014 2:01 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1396
This is amazing! You're putting Povray out of use, submersible!


Top
   
 Post subject: Re: About planets
PostPosted: Sun Mar 16, 2014 9:48 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Feb 21, 2007 11:52 pm
Posts: 3033
Location: On a famous planet
Absolutely magnificent. When is this in the trunk? :?: :shock: :D :lol: 8)

_________________
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
http://aegidian.org/bb/viewtopic.php?f=4&t=13709


Top
   
 Post subject: Re: About planets
PostPosted: Mon Mar 17, 2014 8:54 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Quote:
Absolutely magnificent. When is this in the trunk? :?: :shock: :D :lol: 8)
From the right angles - it looks really good. Still making a lot of compromises. This for example sacrifices the clouds entirely. I'm considering an extra pass in additive blending mode so as to have both clouds and scattering effects. Oh- and this shader just cooks the GPU, my laptop cannot cope with it.

On trunk when. .. this year maybe?

_________________
Povray Planets - Planet textures for your galaxy


Top
   
 Post subject: Re: About planets
PostPosted: Sun Mar 18, 2018 11:13 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Quote:
On trunk when. .. this year maybe?
Worst developer estimate ever.

Looking at github - I don't think shady-planets has moved along since I lost motivation and disappeared for many years. Digging through the changelog for oolite it does not seem like anything similar has landed for planets + atmosphere and material descriptions in planetinfo.plist that are like ship material dictionaries. I'm going to try merging master back into it and survey the carnage.

Would shady-planets features still be interesting to the community given the advent of reshade and the disruption of elite-dangerous ?

_________________
Povray Planets - Planet textures for your galaxy


Top
   
 Post subject: Re: About planets
PostPosted: Sun Mar 18, 2018 11:18 am 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13404
Location: Corke's Drift
Short answer: yes!

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
 Post subject: Re: About planets
PostPosted: Sun Mar 18, 2018 12:41 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5307
The atmospheric scattering effects we have right now are not the result of Reshade (which is Windows only btw), but new shaders that have been added relatively recently. However, the shader we use now is a good enough approximation of scattering and is very simple in its core. If I remember right, the shady planets tried to utilize physically correct calculations. So yes, it would be very interesting to see if the atmoscattering shaders can be further improved.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 162 posts ]  Go to page Previous 17 8 9 10 11

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited