POV-Ray : Newsgroups : povray.beta-test : bug with declaration of array : Re: bug with declaration of array Server Time
30 Jul 2024 14:26:50 EDT (-0400)
  Re: bug with declaration of array  
From: Ron Parker
Date: 27 Oct 2001 00:05:00
Message: <slrn9tkcjd.l0.ron.parker@fwi.com>

> platform: POV35b6 on PII233 128 MB with NT4 SP6
> 
> second branch of my previous thread is not connected with first one.
> Now I found below line/scene is properly parsed:
> 
> #local A=array;
> 
> but documentation says it needs [INT] after array keyword

Yep, that's a degenerate case.  Looks easy enough to fix though.  I
would suggest not trying to use the resulting array, since it has a 
negative dimension and a zero size.

-- 
#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{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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