|
![](/i/fill.gif) |
"Chris B" <c_b### [at] btconnect com nospam> wrote in message
news:455a5868@news.povray.org...
>
> "Basiclife" <nomail@nomail> wrote in message
> news:web.455a4e6b21f939cba4c94b1b0@news.povray.org...
>>
>> I'm trying to do ... map an image around a globe.
>>
>> I have ye-authentic satellite image of the earth as a JPG (I can change
>> format if req'd) and I have a sphere with a light on it. I'm having
>> problems combining the 2
>>
>>
>> Thanks in advance
>>
>
> Hi, You want something like:
>
> sphere {0,1
> pigment {image_map {jpeg "earth.jpg" map_type 1}}
> translate <0.1,0.2,0.3>
> }
>
> The image is mapped to the sphere at the origin using map_type 1
> (spherical mapping) and is then translated (along with the mapped image)
> to wherever you want it in the scene.
>
> Regards,
> Chris B.
I should have also mentioned that you might get better results with map_type
2 (cylindrical mapping) depending on the type of projection used to create
the image. You may also need to add bands to the top and/or bottom of the
image, depending on whether the image you have goes all the way to the
poles.
Regards,
Chris B.
Post a reply to this message
|
![](/i/fill.gif) |