POV-Ray : Newsgroups : povray.general : Optimal planar tiling : Re: Optimal planar tiling Server Time
19 Apr 2024 21:08:00 EDT (-0400)
  Re: Optimal planar tiling  
From: Bald Eagle
Date: 11 Feb 2023 19:20:00
Message: <web.63e83081b0df30fc1f9dae3025979125@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> jr recently spammed me with a very interesting article, see:

> Next task is going to figure out how to make this into a pigment {function{}}
> pattern, and color it like the inbuilt hexagon pattern.

Although I have a decent scene that uses Martijn Steinrucker's hexagon pattern,
I tried to implement the hexagon patterns from POV-Ray's source code.

I got Jerome Grimbert's hexagonal tiling version to _almost_ work, and failed
miserably with the "simple" hexagon pattern - probably due to the complex
coloring code which uses some nested #switch blocks.  Challenging stuff to
convert to functions.

Anyway, here's the simple scene code making a prism.

Maybe if anyone has experience making some of these pattern types, they could
post some tutorial material to explain the reasoning behind some of the
functions.


Post a reply to this message


Attachments:
Download 'choehexagon.pov.txt' (4 KB)

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