POV-Ray : Newsgroups : povray.international.binaries : [int] The Earth : [int] The Earth Server Time
26 Apr 2024 13:28:29 EDT (-0400)
  [int] The Earth  
From: R  Suzuki
Date: 28 Oct 2001 03:11:30
Message: <3bdbbdb2@news.povray.org>
Hello,
I've just tried to render the Earth using 'isosurface' of POV-Ray 3.5.

The pov code for the Earth is below, and the image map files were
obtained from http://apollo.spaceports.com/~jhasting/earth.html
which has been recently discussed in povray.general.

R. Suzuki

//------------------------------------
#declare Ebump=function{ 
  pigment { 
    image_map {jpeg "earthbump1k.jpg" 
      map_type 1        
      interpolate 2     
    } 
  }
}

isosurface{
  function{f_sphere(x,y,z,1)-Ebump(x,y,z).gray*0.05 }
  contained_by{sphere{0,1.05}}
  texture {
    pigment {
       image_map {jpeg "earthmap1k.jpg" 
         map_type 1        
         interpolate 2     
       } 
    } 
  }
}


Post a reply to this message


Attachments:
Download '011027a2.jpg' (24 KB)

Preview of image '011027a2.jpg'
011027a2.jpg


 

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