Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Sep 22, 2018 9:28 am

All times are UTC




Post new topic  Reply to topic  [ 162 posts ]  Go to page Previous 17 8 9 10 11 Next
Author Message
 Post subject: Re: About planets
PostPosted: Sun Jul 08, 2012 8:22 am 
Offline
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
User avatar

Joined: Sat Jun 16, 2007 3:48 pm
Posts: 5536
Location: Netherlands
Quote:
I've put the source parts of that oxp in the branch feel free to copy over top and commit.
I now committed changes to 4 files that gave errors on my card. The nice thing of having it now in source is that you easy can see my changes.

Most errors were implicit use of an integer were you needed a float. The other errors are not that clear to me and you might want to use an other change.
Most of the other errors were about storage directives like "attribute", "varying" etc. I now left them out completely. The code runs, but is probably not optimised now.

_________________
UPS-Courier & DeepSpacePirates & others at the box and some older versions


Top
   
 Post subject: Re: About planets
PostPosted: Tue Jul 10, 2012 11:50 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Quote:
Quote:
I've put the source parts of that oxp in the branch feel free to copy over top and commit.
I now committed changes to 4 files that gave errors on my card. The nice thing of having it now in source is that you easy can see my changes.

Most errors were implicit use of an integer were you needed a float. The other errors are not that clear to me and you might want to use an other change.
Most of the other errors were about storage directives like "attribute", "varying" etc. I now left them out completely. The code runs, but is probably not optimised now.
Thank you. Can I ask that we co-ordinate the merging on that branch though please. I prefer to wholesale merge trunk up to the branch every so often and deal with the carnage , rather than cherry pick fixes from trunk.

_________________
Povray Planets - Planet textures for your galaxy


Top
   
 Post subject: Re: About planets
PostPosted: Wed Jul 11, 2012 5:31 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Jun 11, 2011 6:07 am
Posts: 2161
Location: Western Australia
Quote:
After these changes to the atmos shader, the atmosphere no longer lays a black layer over the planet, but a nice rim arond the planet at the sunny side. :lol:
Thank you, Eric. This is what it looks like here.
Image


Top
   
 Post subject: Re: About planets
PostPosted: Sat Jul 14, 2012 9:21 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2288
Location: Wales
I put the atmos.fragment and atmos.vertex from the shady-planets-test.oxp into rendermonkey and fixed a few things to make the openGl warnings go away
(the stuff about finding an 'int' when it wanted a 'float', and another warning about the vec4 to vec3 that was happening to vColor in the vertex shader. updated files are here
https://www.box.com/s/350fe9ece9b847cfaeb2


I've had a bash at a toxic dump planet, the oxp modifies Orerve
https://www.box.com/s/1d2929425eab3716fc84
Image

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


Top
   
 Post subject: Re: About planets
PostPosted: Sun Jul 15, 2012 5:34 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2288
Location: Wales
Image
Here's a variation on the toxic planet shader, this one modifies Quator in Galaxy 1 into an inferno planet.
I can't get the scrolling lava river textures working on the cubemap version at the moment, so here's the Lat/Long 2d texture version. If i can get the cubemap version working i'll replace this upload with it, or maybe just do away with the scrolling and have some sort of bubbly goo thing going on instead

https://www.box.com/s/f9a7b58a50940ee17393

I wonder if we could make an entire planet into a disco mirror ball with the 'fake enviroment map' shader :lol:

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


Top
   
 Post subject: Re: About planets
PostPosted: Tue Jul 17, 2012 12:24 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Thu May 10, 2012 9:41 pm
Posts: 877
Location: Derby
Griff - These look fantastic.

I really like the inferno planet.

_________________
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"


Top
   
 Post subject: Re: About planets
PostPosted: Sat Oct 27, 2012 12:08 pm 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
More experiments from shady-planets branch , this time - atmosphere has additive alpha blending.

http://assets.povray-planets.org/static ... te-180.png
http://assets.povray-planets.org/static ... te-181.png

_________________
Povray Planets - Planet textures for your galaxy


Last edited by submersible on Sun Apr 01, 2018 9:26 am, edited 1 time in total.

Top
   
 Post subject: Re: About planets
PostPosted: Sat Oct 27, 2012 12:35 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"
Wow.. those look fantastic! You've even got the yellowish atmosphere with the thin blue upper layer looking right! Colour me impressed!

8)


Edit: now.. I wonder if you can get the atmospheric luminescence on the night-side also looking correct.. See the video in this thread. :mrgreen:

_________________
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: Sat Dec 29, 2012 1:41 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Just noting this while I think of it. Some of the things I have been trying with shady planet atmosphere have been stymied by (I think) the need to have inverse matrix transforms in order to do ray marching from eye through the vertex/fragment , then sample from positions along this ray back to the light position. Could it be possible to compute these with a JS frame callback and update a shader uniform ?

_________________
Povray Planets - Planet textures for your galaxy


Top
   
 Post subject: Re: About planets
PostPosted: Wed Feb 12, 2014 9:08 pm 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
Quick update. I'm looking at an atmosphere shader at present. The last note I made to myself about this was "stop using pythagoras and do something clever with angles". Computes the maximum angle which the eye may pass through the atmos and still hit the planet rather than pass through to the other side. The shader switches how it draws based on which side of this angle the eye is intersecting with the surface.

Since there is no volume sampling , this falls down totally on the dark side of the planet.

Image

Image

Image

Image

_________________
Povray Planets - Planet textures for your galaxy


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

Top
   
 Post subject: Re: About planets
PostPosted: Fri Feb 14, 2014 12:31 pm 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
And this is an encouraging one. Light ray distance through atmos to sample point on camera ray. 4 Samples.
Image

_________________
Povray Planets - Planet textures for your galaxy


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

Top
   
 Post subject: Re: About planets
PostPosted: Sat Feb 15, 2014 2:15 pm 
Offline
Oolite 2 Art Director
Oolite 2 Art Director
User avatar

Joined: Fri Jul 14, 2006 12:29 pm
Posts: 2288
Location: Wales
wow, that's looking really awesome, fantastic work submersible!

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


Top
   
 Post subject: Re: About planets
PostPosted: Sun Feb 16, 2014 7:33 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Tue Nov 09, 2010 1:44 pm
Posts: 1396
This is brilliant!


Top
   
 Post subject: Re: About planets
PostPosted: Mon Feb 17, 2014 12:08 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Tue Apr 17, 2007 10:30 pm
Posts: 3092
Location: Vienna, Austria
So, any chance of this making its way into trunk in the foreseeable future then?


Top
   
 Post subject: Re: About planets
PostPosted: Wed Feb 19, 2014 10:28 am 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 10, 2011 7:49 am
Posts: 251
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.

_________________
Povray Planets - Planet textures for your galaxy


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

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 6 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