Reference:Onion Pattern

From POV-Wiki
Revision as of 09:23, 1 March 2014 by Le Forgeron (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The onion is a pattern of concentric spheres like the layers of an onion. Value = mod(sqrt(Sqr(X)+Sqr(Y)+Sqr(Z)), 1.0) Each layer is one unit thick.


RefImgOnionPigment.png
RefImgOnionNormal.png

onion pattern used as pigment and normal respectively