POV-Ray : Newsgroups : povray.binaries.images : Tessellations : Re: Tessellations Server Time
4 Nov 2024 20:17:05 EST (-0500)
  Re: Tessellations  
From: Russell Towle
Date: 18 Mar 2008 15:25:00
Message: <web.47e0245a54e7baae5114880a0@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Of course getting it filled automatically with reasonable
> colors is more difficult, maybe fill the first few by hand
> and use some hacked rgb values for the rest as in:
>
> #declare i = 0;
> #while (i < T_NUM)
>    #declare T[i] = texture
>    {
>      pigment {color rgb <mod(i,3)/3, mod(i,5)/5, mod(i,7)/7>}
>    }
>    #declare i = i + 1;
> #end

That would work well, for I mainly need to get the scene file to parse, then I
can fill in colors or textures by hand as inspiration hits me.

I managed to refine my POV export from Mathematica so that now I write a scene
file with exactly as many colors as subsets of tiles, and all but the first ten
entries in the color list are random RGB.

Thanks!


Post a reply to this message

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