|  |  | Try
sphere {
<0,0,0>,5
  texture {
    pigment {
      image_map {
      sys "filename.bmp"
      map_type 1
      }
    }
  }
}
Brendan Ryan
Chuck Roberts wrote:
> Excuse me for being so daft. But how do I wrap an image map around a
> sphere? Here's what I have, copied from the Insert, Ready made, Image
> map file for POV 3.1g:
>
> sphere
> {<0,0,0> 5
>   texture
>   {
>     pigment
>     {
>       image_map
>       {
>         sys "marsmap.bmp"
>         interpolate 2 // smooth it
>         once   // don't tile image, just one copy
>
>       }
>       // transform it to unit-size (-1 to +1)
>       translate -0.5*(x+y) // center on the origin
>       scale 2              // make it unit-sized
>     }
>     finish {ambient 0.3}
>   }
> }
> This keeps coming out as a plane, but I see my image map on it at least.
Post a reply to this message
 |  |