POV-Ray : Newsgroups : povray.beta-test : Still a first function initialisation error? : Re: Still a first function initialisation error? Server Time
30 Jul 2024 00:31:26 EDT (-0400)
  Re: Still a first function initialisation error?  
From: Ron Parker
Date: 6 Feb 2002 12:12:42
Message: <slrna62p0c.5tk.ron.parker@fwi.com>
On 6 Feb 2002 09:02:20 -0500, Warp wrote:
> Michael Andrews <M.C### [at] readingacuk> wrote:
>: f_PT[0](x,y,z)
> 
>   I would guess that the parser just doesn't support this []() syntax (someone
> forgot adding support for it, or whatever).

Unlikely, since it reportedly works when you put in a subscript of 1.

Also, the tokenizer doesn't care about what comes after the []; it parses
the array reference at too high a level to care.

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