POV-Ray : Newsgroups : povray.beta-test : more function issues : Re: more function issues Server Time
31 Jul 2024 06:21:17 EDT (-0400)
  Re: more function issues  
From: Dennis Milller
Date: 7 Sep 2001 07:17:48
Message: <3b98acdc$1@news.povray.org>
Thanks. Does the addition of "x,y,z" in the new syntax change any aspect of
the function and is it even required? I'm trying to duplicate an exact MP
scene that used the line below (with no x,y,z). I assume that "x,y,z" was
"understood" in the older syntax...
Thanks again,
D.

"Bob H." <omn### [at] msncom> wrote in message
news:3b983f14$1@news.povray.org...
> "Dennis Milller" <dhm### [at] mediaonenet> wrote in message
> news:3b982960@news.povray.org...
> > Can someone show me the exact syntax needed for declaring a function?
> Here's
> > the old version:
> > #declare FUNC1=function {"sphere",<4>}
>
> Hopefully I can.
>
>  #declare FUNC1=function {f_sphere (x,y,z,1)}
>
> I remembered that from the files i_internal.pov and functions.inc, so have
a
> look at those.  The internalized numbering is shown in functions.inc.
>
> Bob H.
>
>


Post a reply to this message

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