I'm sure this question has already been answered, but I couldn't find anything
specifically related to the image_map
I'm trying to map a the following JPG to a sphere using of course a spherical
map.
http://www.shawnrinehart.com/images/man/ManMapsJpegs/1000_eye.jpg
The code is as follows
#declare t_eye=
texture {
pigment {
image_map {
png "1000_eye.png"
map_type 1
}
}
finish { ambient 0.3 }
}
sphere{ 0, 1 texture{t_eye} rotate y*90}
No matter what types of items I try, I can't get it right (x-axis is too long)
Post a reply to this message
Attachments:
Download 'eye20110517k.png' (419 KB)
Preview of image 'eye20110517k.png'
|