Eye.inc contains a macro that generates a simple eyeball object which is quick to render, but provides control over things like eye colour, pupil size etc.|
This macro uses Constructive Solid Geometry to define an object that can subsequenctly be transformed as required. A sample Pov file is provided to illustrate the macro and it's use.
To use the eye object in your scene file you need to include the Eye.inc file and call the macro. For example:
The characteristics of the iris are controlled using 3 variables:
You can choose to set the size of the eye using the Eye_Radius variable or you can let it default to 1 and simply scale the resulting object.
To override the default external texture (the white bit) you can declare a texture called Eye_OuterTexture and, if you need to you can set an internal surface texture by declaring a texture called Eye_InnerTexture (which defaults to red).
Eye.pov is a sample scene file that demonstrates a few of the things that you can do with the Eye() macro.|
It illustrates the three default, base colours that you can use and shows how to adjust the brightness of the pupil, resize the eye and adjust the external and internal textures used to define the eye.