POV-Ray : Newsgroups : povray.binaries.images : eyeball using image_map : eyeball using image_map Server Time
2 Nov 2024 04:24:49 EDT (-0400)
  eyeball using image_map  
From: Woody
Date: 17 May 2011 16:50:01
Message: <web.4dd2df30e69f369bba74ae320@news.povray.org>
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'
eye20110517k.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.