POV-Ray : Newsgroups : povray.advanced-users : Direct stochastic tiling : Re: Direct stochastic tiling Server Time
20 May 2024 05:26:46 EDT (-0400)
  Re: Direct stochastic tiling  
From: Bald Eagle
Date: 22 Sep 2023 19:35:00
Message: <web.650e23985bb87ec31f9dae3025979125@news.povray.org>
kurtz le pirate <kur### [at] gmailcom> wrote:

> maybe this inc file can help you?

One thing that I did notice is that I'm splicing out array entries until I have
an empty array.

That was triggering an invalid array size error, which I fixed / worked around
by doing:

#if (newSize <= 0)
  #local tmpArray = array;
 #else
  #local tmpArray = array[newSize]
 #end

and

#if (newSize <= 0)
  #declare thisArray = array;
 #else
  #declare thisArray = array[newSize]
 #end


Maybe do some further testing and see what you think, then update that last
macro.

- BW


Post a reply to this message

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