POV-Ray : Newsgroups : povray.general : Help with IDENTIFIER and MACRO needed. : Re: Help with IDENTIFIER and MACRO needed. Server Time
7 Aug 2024 05:18:19 EDT (-0400)
  Re: Help with IDENTIFIER and MACRO needed.  
From: Ron Parker
Date: 16 Nov 2001 08:04:41
Message: <slrn9va3na.f46.ron.parker@fwi.com>
On Fri, 16 Nov 2001 00:38:16 -0500, Mark Wagner wrote:
> It doesn't work because POV-Ray sees the "MySpline", decides that you are
> declaring "SplinePoint" as a spline, and gets confused when it finds "("
> rather than ";" or "{".  The workaround is:
> 
> #declare SplinePoint=<0,0,0>+MySpline(clock);

Can't you also #declare SplinePoint=(MySpline(clock)); ?


-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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