POV-Ray : Newsgroups : povray.binaries.images : Eye macro : Eye macro Server Time
20 Nov 2024 04:18:51 EST (-0500)
  Eye macro  
From: Mahalis
Date: 12 Oct 2001 14:58:27
Message: <3bc73d53@news.povray.org>
I just made a little macro that lets you specify eye location, angle, lids
on/off, and lid angle. Any suggestions? I think the iris texture could
definitely use some improvement but am not exactly sure how to go about it.
Comments, questions and criticism are all welcome.

--
 camera{location<0,0.25,-2> look_at 0.5*y} #declare
T=texture{pigment{crackle scale 0.5 rotate 90 turbulence 0.75 color_map{[0
rgb 1][0.05 rgb 1][0.1 rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}}
finish{ambient 1}} #declare c=difference{torus{0.5,0.1
rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}  merge{object{c
translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}} #end
//Mahalis


Post a reply to this message


Attachments:
Download 'eye.png' (16 KB)

Preview of image 'eye.png'
eye.png


 

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