POV-Ray : Newsgroups : povray.general : object pigment Server Time
6 Aug 2024 10:25:03 EDT (-0400)
  object pigment (Message 1 to 2 of 2)  
From: Kevin Loney
Subject: object pigment
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

From: Christopher James Huff
Subject: Re: object pigment
Date: 14 Apr 2002 22:08:13
Message: <chrishuff-0EF610.21100714042002@netplex.aussie.org>
In article <3cba2d57@news.povray.org>, "Kevin Loney" <klo### [at] pt2mcom> 
wrote:

> 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.

http://news.povray.org/povray.text.scene-files/22075/

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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