The script builds an eyeball procedurally with geometries and shaders. Users can customize the component shapes through an UI. The whole theory is from Digital Duct Tape. I wrote this script a long time ago as an exercise when I first started to learn python language and Maya Python Programming.
- Maya
- Arnold(prioritized)/Mental Ray
- Copy
eyeball.py
into your maya script folder - Run the script below, and the UI will show up.
import eyeball
eyeball.run()