POV-Ray : Newsgroups : povray.general : FYI. tiling pattern maps require 7 significant digits. : Re: FYI. tiling pattern maps require 7 significant digits. Server Time
8 Jul 2024 12:16:26 EDT (-0400)
  Re: FYI. tiling pattern maps require 7 significant digits.  
From: William F Pokorny
Date: 24 Aug 2014 13:15:41
Message: <53fa1dbd$1@news.povray.org>
On 08/23/2014 04:47 PM, Le_Forgeron wrote:
>
> the smallest tile (such as in 23) provide the limit for the size of the
> calk of all tiles. The inner part, deeper, of other tiles are getting
> uniform entry. At best, the smallest one becomes 100% calk, but a part
> of the other ones remains (unless they have the same depth).
>
> The calk is parallel to the side of the tile, and it appeared on the
> part of the map (so you can have a banded calk around a tile).
>
Thank you for the explanation and hint about banded calk being possible. 
I now have a much better understanding our tiling pattern.

As for a more complete update of the tiling.pov example code, I believe 
changing the following two lines from :

#write (MapFile, "    [",str(V2/TileTypes,5,4)," rgb <", vstr(3, 
ThisColor,", ", 0,4),">]\n")
#write (MapFile, "    [",str((V2+incre)/TileTypes,5,4)," rgb <", vstr(3, 
ThisColor,", ", 0,4),">]\n")

to :

#write (MapFile, "    [(",str(V2,0,3),"/",str(TileTypes,0,0),") rgb <", 
vstr(3, ThisColor,", ", 0,4),">]\n")
#write (MapFile, " 
[(",str(V2,0,3),"+",str(incre,0,3),")/",str(TileTypes,0,0)," rgb <", 
vstr(3, ThisColor,", ", 0,4),">]\n")


implements the fractional map indexes you suggested.

Bill P.


Post a reply to this message

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