POV-Ray : Newsgroups : povray.newusers : How can I apply a map of earth on a sphere? : Re: How can I apply a map of earth on a sphere? Server Time
30 Jul 2024 20:32:02 EDT (-0400)
  Re: How can I apply a map of earth on a sphere?  
From: Hughes, B 
Date: 4 Oct 2003 21:05:42
Message: <3f7f6e66@news.povray.org>
"Christian Kollross" <cko### [at] lycosde> wrote in message
news:3f7f437c$1@news.povray.org...
> I'd like to create an earth, I've also the needed texture file, but how
can
> I glue it to a sphere?
>
> The POV-Ray Help file has not been helpful yet...

Hmmm, was it helpful before I posted this reply to you?  :-)

The documentation should have been able to show you the answer just by
looking up "image" or "map" in the Index.

Answer:

pigment {
    image_map {
        jpeg "yourimagefile.jpg" // one of the accepted file formats
        map_type 1 // this is spherical wrapping
    }
}

Not saying you aren't smart enough to use the POV-Ray Help, of course. I
realize everyone goes about using it in different ways, and therefore people
don't always find what they are looking for without some reading or learning
how to use the documentation first.

Good luck with the rendered Earth.

Bob H.


Post a reply to this message

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