POV-Ray : Newsgroups : povray.unofficial.patches : finish_map and layered textures : Re: finish_map and layered textures Server Time
6 Oct 2024 11:14:59 EDT (-0400)
  Re: finish_map and layered textures  
From: Jan Walzer
Date: 30 Jan 2002 14:24:52
Message: <3c584884$1@news.povray.org>
"Christopher James Huff" <chr### [at] maccom> wrote:
> > You would need a map for every property of the finish-block ...
>
> Not really...you could store entire finishes, and interpolate for each
> option when they are needed. The texture_map feature would probably be
> faster though.


HOW would you interpolate ...

I don't think it is always desired, to interpolate linear between them ...

btw: In my opinion these methods are all cheating, but do I count ? ;]
WinOSI goes the only right way... *g*

--
#macro J(N A)#local a=mod(N 3);#local W=<int(mod(A,4)*2)int(-A/4)9>*2;#if
(!mod(a 2))sphere{W,2,2pigment{color rgb<a*5A/2W.x/A*5>}}#if(a<1)sphere{W
+<2,0>2 2pigment{color rgb<a*10A 10>}}#end#end#if(N>3)J(int(N/3)A+1)#end#
end blob{J(29229171 0)threshold 1translate<-6 3>}/******Jan Walzer******/


Post a reply to this message

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