|
![](/i/fill.gif) |
>> Hi(gh)!
>>
>> The problem: I want to project a square image_map, which is a
>> heightfield covering one square degree of ASTER elevation data, onto a
>> sphere, not onto the entire sphere, but instead onto the geographic
>> coordinate range defined by the elevation data tile.
>>
>> shall have the texture, all other parts of the sphere shall remain
>> textureless.
>
> applying spherical warp to a scaled-down version of the image map (with
> the "once" keyword) might do the trick.
>
Next, you may translate verticaly to apply the image to the correct
latitude: translate sin(radians(Latitude))*y. For the longitude, a
simple rotate Longitude*y will do.
Post a reply to this message
|
![](/i/fill.gif) |