POV-Ray : Newsgroups : povray.binaries.images : Earth: Your Advices are Welcome : Earth: Your Advices are Welcome Server Time
7 Aug 2024 05:15:22 EDT (-0400)
  Earth: Your Advices are Welcome  
From: Sven Littkowski
Date: 27 May 2006 12:59:14
Message: <44788562@news.povray.org>
Hi.

Please see here my earth render image. The planet consists of four items:
- planet surface sphere (bump map and texture)
- planet lights sphere (semi transparent PNG image at ambient 1.0)
- planet clouds sphere (bump map and semi transparent PNG image)
- planet atmoshphere sphere (hollow sphere with media)

This way, if someone wanted the clouds could rotate slow around the axis.

Problems:
- despite of ambient 0.0 the atmosphere is even visible on night side
- my citizens don't save energy on the dayside

Who can help fixing these two problems? Ideas, hints, suggestions and 
solutions are very welcome!

Please find the scene below.

Sven

#include "colors.inc"
#include "textures.inc"
#include "shapes.inc"
#include "metals.inc"
#include "glass.inc"
#include "woods.inc"

#declare Earth = texture { pigment { image_map { jpeg "E:\Scripts\Eigene 
Bilder\Povray Textures\Sphere_Earth_01.jpg" map_type 1 } rotate < 0.0, 0.0, 
0.0 > } finish { ambient 0.0 } }
#declare EarthLights = texture { pigment { image_map { png 
"E:\Scripts\Eigene Bilder\Povray Textures\Sphere_Earth_Lights_01.png" 
map_type 1 } rotate < 0.0, 0.0, 0.0 > } finish { ambient 1.0 } }
#declare EarthClouds = texture { pigment { image_map { png 
"E:\Scripts\Eigene Bilder\Povray Textures\Sphere_Earth_Clouds_01.png" 
map_type 1 } rotate < 0.0, 0.0, 0.0 > } finish { ambient 0.0 } }

global_settings
{
 assumed_gamma 0.0
 radiosity {  }  //
}

camera
{
 location < 10.0, 0.0, -300.0 >
 look_at < 10.0, 0.0, 0.0 >
}

light_source
{
 < 1000.0, 0.0, 250.0 >
 color White *5
}

#declare Earth_Surface=sphere
{
 0, 1.0
 texture { Earth }
 texture { EarthLights }
 normal
 {
  bump_map
  {
   jpeg "Sphere_Earth_01.jpg"
   map_type 1
  }
 }
}

#declare Earth_Clouds=sphere
{
 0, 1.0001
 texture { EarthClouds }
 normal
 {
  bump_map
  {
   jpeg "Sphere_Earth_Clouds_01.jpg"
   map_type 1
  }
 }
}

#declare Earth_Atmosphere=sphere
{
 < 0, 0, 0 > 1
 pigment
 {
  color rgbt < 1, 1, 1, 1 >
 }
 hollow
 interior
 {
  media
  {
   intervals 10
   emission 0.75
   density
   {
    spherical
    color_map
    {
     [ 0 rgb < 0, 0, 0 > ]
     [ 1 rgb < 0.1, 0.1, 0.5 > ]
    }
   }
   samples 1, 10
   confidence 0.9999
   variance 1/1000
   ratio 0.9
  }
 }
 finish { ambient 0.0 }
 scale 1.005
}

#declare Earth=union
{
 object { Earth_Surface }
 object { Earth_Clouds }
 object { Earth_Atmosphere }
 scale 100.0
}

object { Earth }


Post a reply to this message


Attachments:
Download 'Planet 01.jpg' (223 KB)

Preview of image 'Planet 01.jpg'
Planet 01.jpg


 

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