POV-Ray : Newsgroups : povray.animations : Rotating earth SPECIAL VERSION : Re: Rotating earth SPECIAL VERSION Server Time
28 Jul 2024 14:35:08 EDT (-0400)
  Re: Rotating earth SPECIAL VERSION  
From: Josh English
Date: 6 Mar 2000 12:54:24
Message: <38C3F0CA.BA3D632D@spiritone.com>
This is from my cyclopedia:
 Ron Parker provided this solution, which he derived from Chris Colefax:

  #macro DoubleImage ( front,back )
    radial
    pigment_map {
      [ .5 front ]
      [ .5 back rotate 180*y ]
    }
  #end

  #declare f=pigment { image_map{ sys "heads.bmp" once } translate -.5 }
  #declare b=pigment { image_map{ sys "tails.bmp" once } translate -.5 }

  #declare coin = cylinder {
    -.1*z,.1*z,1
    texture { pigment { color rgb 1 } }
    texture { pigment { DoubleImage(f,b) } }
    }

You will need to adjust the pigments, and getting them to rotate could be
tricky. I would think that the globe would rotate, and as the images move
across the terminus, it is displayed with the other image. Since that was a
bit glib, what I mean is that we see, say. New York at night, then as the
world turns we see it in the daytime map

Josh

"A. Jans-Beken" wrote:

> I want to make an animation of a rotating earth, with some extra's:
>
> Somewhere on the net I found high-res pictures of the earth "by day" and
> "by night". My idea is to combine these pictures on one rotating sphere.
>
> In my opinion, this is not a trivial task. Has someone experience with
> this? How can I set this up?
>
> Please send your answer and/or comments to my e-mail adress
> jan### [at] wxsnl

--

Josh English
eng### [at] spiritonecom
ICQ: 1946299
"Stress is when you wake up screaming and realize you haven't fallen asleep
yet."


Post a reply to this message

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