|
![](/i/fill.gif) |
Alain <ele### [at] netscape net> wrote:
> Leef_me nous apporta ses lumieres en ce 2007/12/18 02:42:
> > "Anthony D. Baye" <Sha### [at] spamnomore hotmail com> wrote:
> >> Thanks, Tim, that works a treat.
> When you scale a spherical pattern, all points move acording to the origin.
> What you need is to use a warp{spherical} after the scaling.
> Your image_map become:
> #declare bulb = material {
> texture {
> pigment { image_map { jpeg "Dime_front.jpg" map_type 0
> //Use a planar maping
> scale 0.01
> warp{spherical} // Wrap it around the sphere
> }
> }
> }
> }
> Now, your image get repeated 100 times around the circumference and 50 times
> from one pole to the other.
> --
> Alain
Thanks Alain but, that doesn't compile; the following does:
#declare bulb = material {
texture {
pigment { image_map { jpeg "Dime_front.jpg" map_type 0
//Use a planar maping
}
scale 0.7
warp{spherical} // Wrap it around the sphere
}
}
}
I didn't ask very well, but what I really wanted to do was a a single copy of an
image, scaled as desired, but still showing the 'bulb' similar to the bulb that
is closest to the camera.
Leef_me
Post a reply to this message
|
![](/i/fill.gif) |