POV-Ray : Newsgroups : povray.binaries.images : Continental Hub : Re: Continental Hub Server Time
27 Apr 2024 10:33:47 EDT (-0400)
  Re: Continental Hub  
From: Thomas de Groot
Date: 19 Oct 2018 03:34:28
Message: <5bc98904@news.povray.org>
On 19-10-2018 4:00, Ton wrote:
> Nice, sombre, atmosphere, Thomas.
> When I saw the picture my first thought was, what a funny clouds.
> Then I realized they must be the "artificial structure around the Earth".
> Ton.
> 
> 

Thanks indeed. Yes, the structures is intended to be tantalisingly vague.

Btw, the technique used to achieve this "out of the atmosphere" kind of 
look was initially developed by Bill Pragnell in some distant POV-Ray 
past. It is very simple to achieve with the following code:

//start code
background {rgb <0.01, 0.01, 0.01>}

// a sky sphere
sphere { <0, 0, 0>, 1
   texture {
     pigment {rgb 0 transmit 1}
     finish {diffuse 0}
   }
   interior_texture {
     pigment {
       gradient y
       color_map {
         [0.0 srgbt <0.6, 0.7, 1.0, 0.5>]
         [0.7 srgbt <0.0, 0.1, 0.8, 0.5>]
       }
     }
     finish {emission 2 diffuse 0}
   }
   scale 10e4
   hollow
   no_shadow
   no_reflection
}
//end code

The magic tricks are the transmit values of the interior_texture, and 
the strength of its emission in the finish block. Every object, being it 
a moon, a spaceship, or whatever you want, placed /outside/ of the sky 
sphere, will show up as if it was truly in space. You can add any kind 
of media to the sphere in order to simulate the atmosphere of course. I 
advice against the use of fog{} in this context.

-- 
Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.