POV-Ray : Newsgroups : povray.binaries.images : sunrise atmospheric effects Server Time
5 Nov 2024 00:28:29 EST (-0500)
  sunrise atmospheric effects (Message 1 to 9 of 9)  
From: Tek
Subject: sunrise atmospheric effects
Date: 14 Jan 2006 06:22:07
Message: <43c8dedf@news.povray.org>
I'm just working on a nice earth-like atmosphere for a possible IRTC entry 
and I rendered this test image to see how it looked at sunset. I thought I'd 
share it because it's a nice wallpaper image :)

The atmosphere is a blue colour, but extinction makes it turn orange & red 
at shallow angles to the sun.

-- 
Tek
http://evilsuperbrain.com


Post a reply to this message


Attachments:
Download 'sunrise.jpg' (70 KB)

Preview of image 'sunrise.jpg'
sunrise.jpg


 

From: Marc Jacquier
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 06:33:41
Message: <43c8e195@news.povray.org>

news:43c8dedf@news.povray.org...
> I'm just working on a nice earth-like atmosphere for a possible IRTC entry
> and I rendered this test image to see how it looked at sunset. I thought
I'd
> share it because it's a nice wallpaper image :)
>
> The atmosphere is a blue colour, but extinction makes it turn orange & red
> at shallow angles to the sun.
>
> -- 
> Tek
> http://evilsuperbrain.com

It way better than all my lame attempts, I hope you'll share your parameters
(after IRTC of course)
method 1?

Marc


Post a reply to this message

From: Tek
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 06:49:21
Message: <43c8e541@news.povray.org>
It's really pretty simple, I don't mind sharing the code now because this is 
very early WIP stuff. Here's the bit that does the atmosphere, I've 
simplified it a little but it should look about the same:

//planet
sphere { 0, 6000 }
  //atmos
  difference {
   sphere { 0, 6050 }
   sphere { 0, 6000 }
   hollow on
   pigment { rgbt 1 }
   interior {
    media {
     scattering {
      1, rgb <.05,.17,1>
      extinction 1
     }
     density {
      function { exp( -(sqrt(x*x+y*y+z*z)-6000)/4 ) }
     density_map {
       [0 rgb 0]
       [1 rgb .1]
      }
     }
    }


-- 
Tek
http://evilsuperbrain.com


"Marc Jacquier" <jac### [at] wanadoofr> wrote in message 
news:43c8e195@news.povray.org...
>

> news:43c8dedf@news.povray.org...
>> I'm just working on a nice earth-like atmosphere for a possible IRTC 
>> entry
>> and I rendered this test image to see how it looked at sunset. I thought
> I'd
>> share it because it's a nice wallpaper image :)
>>
>> The atmosphere is a blue colour, but extinction makes it turn orange & 
>> red
>> at shallow angles to the sun.
>>
>> -- 
>> Tek
>> http://evilsuperbrain.com
>
> It way better than all my lame attempts, I hope you'll share your 
> parameters
> (after IRTC of course)
> method 1?
>
> Marc
>
>


Post a reply to this message

From: Christoph Hormann
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 07:15:07
Message: <dqaps7$cq0$1@chho.imagico.de>
Tek wrote:
> I'm just working on a nice earth-like atmosphere for a possible IRTC entry 
> and I rendered this test image to see how it looked at sunset. I thought I'd 
> share it because it's a nice wallpaper image :)
> 
> The atmosphere is a blue colour, but extinction makes it turn orange & red 
> at shallow angles to the sun.

Nice but it somehow does not really look like an earth-like planet. 
Maybe it would help to make the view less directly against the light so 
you could actually see something of the planet surface (this would also 
be more realistic since with the sun in the field of view you would 
probably hardly see the relatively dark planet in reality).

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 31 Oct. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Marc Jacquier
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 09:52:32
Message: <43c91030$1@news.povray.org>

news:43c8e541@news.povray.org...
>       function { exp( -(sqrt(x*x+y*y+z*z)-6000)/4 ) }
That's the function I couldn't work out!

Thank you


Post a reply to this message

From: Alain
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 10:46:38
Message: <43c91cde$1@news.povray.org>
Tek nous apporta ses lumieres en ce 14/01/2006 06:22:
> I'm just working on a nice earth-like atmosphere for a possible IRTC entry 
> and I rendered this test image to see how it looked at sunset. I thought I'd 
> share it because it's a nice wallpaper image :)
> 
> The atmosphere is a blue colour, but extinction makes it turn orange & red 
> at shallow angles to the sun.
> 
> 
Very nice and realistic. I've seen the same effect, maybe less obvious, in actual
photos taken from 
space.

-- 
Alain
-------------------------------------------------
Stoicism: This shit is good for me.


Post a reply to this message

From: Tek
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 15:28:59
Message: <43c95f0b$1@news.povray.org>
"Marc Jacquier" <jac### [at] wanadoofr> wrote in message 
news:43c91030$1@news.povray.org...
>

> news:43c8e541@news.povray.org...
>>       function { exp( -(sqrt(x*x+y*y+z*z)-6000)/4 ) }
> That's the function I couldn't work out!

Well I have a friend with a PhD in astrophysics, which means whenever I have 
astronomical/planetary questions I usually ask him, then he tells me he 
doesn't have a clue and goes off and looks it up for me :)

The formula is just an exponential decrease in density away from the earth's 
surface, which is close enough to accurate to look pretty nice.

-- 
Tek
http://evilsuperbrain.com


Post a reply to this message

From: Tek
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 15:34:13
Message: <43c96045@news.povray.org>
I totally agree, the light position here was just a technical test to see 
how my sunset colours looked, I was just surprised to get a pretty image out 
of it. My final image will probably feature much more conventional lighting 
of the planet.

However, that sun position corresponds to the light position (well except 
the light is directional and the object isn't infinitely far away, but the 
direction is the same relative to the camera). The amount of darkness we see 
is mostly just due to perspective, it's quite a wide angle shot so the lit 
part of the surface becomes very small compared to the dark side. Do not 
underestimate the power of the dark side, etc.

-- 
Tek
http://evilsuperbrain.com


"Christoph Hormann" <chr### [at] gmxde> wrote in message 
news:dqaps7$cq0$1@chho.imagico.de...
> Tek wrote:
>> I'm just working on a nice earth-like atmosphere for a possible IRTC 
>> entry and I rendered this test image to see how it looked at sunset. I 
>> thought I'd share it because it's a nice wallpaper image :)
>>
>> The atmosphere is a blue colour, but extinction makes it turn orange & 
>> red at shallow angles to the sun.
>
> Nice but it somehow does not really look like an earth-like planet. Maybe 
> it would help to make the view less directly against the light so you 
> could actually see something of the planet surface (this would also be 
> more realistic since with the sun in the field of view you would probably 
> hardly see the relatively dark planet in reality).
>
> Christoph
>
> -- 
> POV-Ray tutorials, include files, Landscape of the week:
> http://www.imagico.de/ (Last updated 31 Oct. 2005)
> MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

From: Tek
Subject: Re: sunrise atmospheric effects
Date: 14 Jan 2006 15:35:21
Message: <43c96089@news.povray.org>
Yeah I like to exagerate the effect because it looks cool :)

-- 
Tek
http://evilsuperbrain.com

"Alain" <ele### [at] netscapenet> wrote in message 
news:43c91cde$1@news.povray.org...
> Tek nous apporta ses lumieres en ce 14/01/2006 06:22:
>> I'm just working on a nice earth-like atmosphere for a possible IRTC 
>> entry and I rendered this test image to see how it looked at sunset. I 
>> thought I'd share it because it's a nice wallpaper image :)
>>
>> The atmosphere is a blue colour, but extinction makes it turn orange & 
>> red at shallow angles to the sun.
>>
>>
> Very nice and realistic. I've seen the same effect, maybe less obvious, in 
> actual photos taken from space.
>
> -- 
> Alain
> -------------------------------------------------
> Stoicism: This shit is good for me.


Post a reply to this message

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