|
![](/i/fill.gif) |
Scott Hill wrote in message <3b839cb9@news.povray.org>...
>"Wlodzimierz ABX Skiba" <abx### [at] abx art pl> wrote in message
>news:3b837efb@news.povray.org...
>>
>> error: No matching } in pigment, # found instead.
>>
>
> I've had this problem - it seems 'function' uses its own parsing
> routines which don't support the entire set of POV keywords...
This way it should duplicate parsing code for objects{} and pigments{}.
Impossible. IMO there is some switch for exlusion of #directives during parse of
functions{}
> The solution is to do something like this :
I know, I know, but thanks for good intentions :-)
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
|
![](/i/fill.gif) |