POV-Ray : Newsgroups : povray.international.binaries : [int] The Earth Server Time: 17 Jan 2019 03:07:12 GMT
  [int] The Earth (Message 1 to 8 of 8)  
From: R  Suzuki
Subject: [int] The Earth
Date: 28 Oct 2001 08: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


 

From: Christoph Hormann
Subject: Re: [int] The Earth
Date: 28 Oct 2001 09:14:27
Message: <3BDBCC73.17BF9FCF@gmx.de>
"R. Suzuki" wrote:
> 
> 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.
> 

Nice, how long did it take to render?

Of course the height is strongly exaggerated...

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: JRG
Subject: Re: [int] The Earth
Date: 28 Oct 2001 10:03:22
Message: <3bdbd7ea$1@news.povray.org>
Ooo sweet! Why don't you try to add a cloudy layer too?
And I like that gold!

--
Jonathan.

"R. Suzuki" <r-s### [at] aistgojp> ha scritto nel messaggio
news: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

From: Laurent
Subject: Re: [int] The Earth
Date: 28 Oct 2001 10:18:51
Message: <3bdbdb8b@news.povray.org>
Great! I like
The http://apollo.spaceports.com/~jhasting/ web site provides some
interesting textures. It gives me some ideas!

 Laurent





"R. Suzuki" <r-s### [at] aistgojp> a ecrit dans le message news:
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
>
> file://------------------------------------
> #declare
mp=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

From: R  Suzuki
Subject: Re: [int] The Earth
Date: 29 Oct 2001 15:49:19
Message: <3bdd7a7f$1@news.povray.org>
>Nice, how long did it take to render?

Thanks.  

It took about half an hour for 640x480 AA0.3 with 
area-light 7x7 and photons (Celeron 600MHz).
The calculation time of the gold base was much larger
than that of the Earth.

R. Suzuki


Post a reply to this message

From: R  Suzuki
Subject: Re: [int] The Earth
Date: 29 Oct 2001 15:55:12
Message: <3bdd7be0@news.povray.org>
>Ooo sweet! Why don't you try to add a cloudy layer too?

Thanks.  
Well, it's easy to add a cloudy layer but I would like to 
demonstrate the isosurface capablility in that image.

>And I like that gold!

The POV code of the gold is following (the texture is
'T_Gold_3E'). 

object{
  union{
    isosurface {
        function {
          f_mesh1(atan2(x,z)/pi*2,f_r(x,0,z)-0.4*(y*y+1),
                   y, 0.1, 0.1, 0.25, 0.005, 1) 
        }
        contained_by { box { <-0.6,-0.6,-0.6>, <0.6,0.2,0.6> } } 
        threshold 0.0075 
        accuracy 0.0005  
        max_gradient 1.2 
    } 
    torus{  0.2*0.2*0.4+0.4, 0.03   translate y*0.2}
    torus{  0.6*0.6*0.4+0.4, 0.03   translate y*-0.6}
  }
}

R. Suzuki


Post a reply to this message

From: Christoph Hormann
Subject: Re: [int] The Earth
Date: 29 Oct 2001 19:31:55
Message: <3BDDAEAB.7E01CBB7@gmx.de>
"R. Suzuki" wrote:
> 
> It took about half an hour for 640x480 AA0.3 with
> area-light 7x7 and photons (Celeron 600MHz).
> The calculation time of the gold base was much larger
> than that of the Earth.

That sounds really fast.  Last time i tried an image map in isosurface
functions it felt incredibly slow, but that could have been a different
reason.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: R  Suzuki
Subject: Re: [int] The Earth
Date: 31 Oct 2001 06:12:14
Message: <3bdf963e$1@news.povray.org>
"Christoph Hormann" wrote 
> That sounds really fast.  Last time i tried an image map in isosurface
> functions it felt incredibly slow, but that could have been a different
> reason.
> 
> Christoph

That might be due to an interpolation bug in 'image.c'.  
I am not sure  it still exists in v3.5 because I don't have the source 
code of v3.5.

Anyway, I will report it in povray.beta-test.

R. Suzuki


Post a reply to this message

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