POV-Ray : Newsgroups : povray.beta-test : Strange error : Re: Strange error Server Time
30 Jul 2024 20:29:16 EDT (-0400)
  Re: Strange error  
From: Warp
Date: 1 Oct 2001 05:38:24
Message: <3bb8398f@news.povray.org>
"Redbeard \(MDJohnson\)" <red### [at] wvadelphianet> wrote:
: Now, if this were an include line, I could understand.  But it's not, and at
: that point in the file, macros from math.inc have been called several times.

  A macro call is parsed by opening the file where the macro is located (if
it's not the current file), seeking it to the position where the macro starts
and reading the file.
  Of course I don't know why #inluding math.inc works but then calling a macro
in it causes a reading failure...

  (And yes, it *IS* slow to parse macros like this, but you have to live with
that right now.)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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