POV-Ray : Newsgroups : povray.advanced-users : It gets even weirder. : Re: It gets even weirder. Server Time
16 Apr 2024 15:28:13 EDT (-0400)
  Re: It gets even weirder.  
From: clipka
Date: 27 Aug 2018 05:47:23
Message: <5b83c8ab$1@news.povray.org>
Am 27.08.2018 um 03:16 schrieb Bald Eagle:
> Going for broke here.
> Broke what was already broken even broker.
> Brokering the breaking.
> Breaking badder.

See? Told you so, Scotch ain't curing the root cause :P

It seems like POV-Ray doesn't like it if you try to access a nested
array that hasn't been initialized. For example:

    #declare Foo = array[5];
    // "Foo" is now of type "array of yet-undefined type"
    #declare Foo[0] = array[4];
    // "Foo" is now of type "array of array"
    #declare Foo[1][0] = 1;
    // "Foo[1]" is still empty, but POV-Ray fails to notice that,
    // and tries to access the array it expects to be stored in there.

This bug is present in v3.7.0, and since it wasn't known until now, I'm
not surprised it's still in there.

Post a reply to this message

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