POV-Ray : Newsgroups : povray.general : object pigment : object pigment Server Time
19 Nov 2024 05:45:34 EST (-0500)
  object pigment  
From: Kevin Loney
Date: 14 Apr 2002 21:31:03
Message: <3cba2d57@news.povray.org>
a little while back someone posted a macro or an include file that would
make an objecct pigment with a smooth gradient between 0 and 1, if anyone
could point me in it's direction, it would be muchly appreciated.

thanks

--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local
i=asc(substr("oqshilacefg",r,1))-97;disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4pigme
nt{rgb 10}}_(r+1)#end#end _(1)//KL


Post a reply to this message

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