|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm trying to render a picture of the earth. But, the image I'm using
for the map only covers half of the sphere. So, there are 2 copies of
the image, one on each half of the sphere. I want to wrap the whole
image around the entire sphere just once.
The help file doesn't help me on this one. Any assistance is
appreciated. Thanks.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Duke Nukem wrote:
>
> I'm trying to render a picture of the earth. But, the image I'm using
> for the map only covers half of the sphere. So, there are 2 copies of
> the image, one on each half of the sphere. I want to wrap the whole
> image around the entire sphere just once.
>
> The help file doesn't help me on this one. Any assistance is
> appreciated. Thanks.
sphere { <0,0,0>, 0.5
pigment {
image_map {gif "earth.gif" map_type 1 interpolate 2 }
translate -0.5
}
scale < your scale >
}
map_type 1 gives spherical image mapping. The default is type 0 which is planer.
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Duke Nukem wrote:
>
> I'm trying to render a picture of the earth. But, the image I'm using
> for the map only covers half of the sphere. So, there are 2 copies of
> the image, one on each half of the sphere. I want to wrap the whole
> image around the entire sphere just once.
>
> The help file doesn't help me on this one. Any assistance is
> appreciated. Thanks.
I was just notified of a tutorial on this subject and it is excellent.
Check it out at: http://members.xoom.com/yang4yang/pov/imap1.html
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Actually this subject is covered in the VFAQ:
http://www.students.tut.fi/~warp/povVFAQ.html#imagemapping
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nieminen Juha wrote:
>
> Actually this subject is covered in the VFAQ:
>
> http://www.students.tut.fi/~warp/povVFAQ.html#imagemapping
You might consider adding a link to this tutorial to that explaination.
It is accurate and well written and would really add to the value
of the content of the explaination.
http://members.xoom.com/yang4yang/pov/imap1.html
--
Ken Tyler
See my 1000+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Added.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |