![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi everyone,
Nothing universe-splitting here, just some patterns I've been working
on. Sometimes I'd like to have an hexagonal version of the cells
pattern(#1), or a triangular version of the hexagon pattern(#6 & 7).
I've been developing such things and putting them all into an include file.
Two of these patterns(#3 & 4) are customizable via an optional
declaration of an input pigment. The default is a z-gradient with a
triangle_wave modifier. You can see it outlined by the hexagonal
overlay. Any pigment can be used, and it will be repeated inside the
hexagons with the option of having random 60 degree rotation(#1 only).
The rest of the patterns can be given a pigment_map, but I didn't not
implement further customization options. I did however, make available
two useful variables to translate and scale pigments according to the
edges and corners of each hexagon. A lot can already be accomplished
with this suite of patterns.
Next up: a trigonal version of the cells pattern and the ability to use
all the patterns in any material block (pigment, normal, texture)
without having to rely on pigment_pattern{}.
Is this something any of you would like to have a copy of? Questions,
comments and criticisms are welcome, as always~
Sam
Post a reply to this message
Attachments:
Download 'hexpattern_test.jpg' (200 KB)
Preview of image 'hexpattern_test.jpg'
![hexpattern_test.jpg](/povray.binaries.images/attachment/%3C481ab9c6%40news.povray.org%3E/hexpattern_test.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
stbenge <stb### [at] hotmail com> wrote:
>
> Is this something any of you would like to have a copy of? Questions,
> comments and criticisms are welcome, as always~
>
Yes indeed. I see all sorts of interesting uses for this.
BTW, that's a nice visual demonstration of the technique; very clear.
Ken W.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Kenneth wrote:
> stbenge <stb### [at] hotmail com> wrote:
>> Is this something any of you would like to have a copy of?
>
> Yes indeed. I see all sorts of interesting uses for this.
Alright then, I'll aim to release the include file shortly, after
implementing a few more things.
> BTW, that's a nice visual demonstration of the technique; very clear.
Thanks, it was easier than explaining it all with words :)
Attached is a picture to show how making tessellating patterns with an
object pigment is possible with my hexPattern() macro. I created a
simple macro which allows one to navigate trigonal space. The screen
overlay shows this space, which is just a square grid skewed to 60
degrees. The shape was designed in Illustrator (paper would work just as
well), and I typed out the coordinates in POV. It's a prism with 29
points, rotated three times by 120 degrees.
Sam
Post a reply to this message
Attachments:
Download 'hextest2.png' (17 KB)
Preview of image 'hextest2.png'
![hextest2.png](/povray.binaries.images/attachment/%3C481ba25b%40news.povray.org%3E/hextest2.png?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Wow, that's ingenious.
--
William Tracy
afi### [at] gmail com -- wtr### [at] calpoly edu
And the Format source code tells me that *really* the indicator of an
error is whether the index has changed value or not. If it has *not*
changed value, then some of the Format class' innards assume that since
parsing didn't happen, an error must have occurred. (Pause for
Buddhist-like contemplation of this leap of logic and faith.)
-- Laird Nelson, blogging on the "dank recesses" of java.text
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
stbenge <stb### [at] hotmail com> wrote:
> Is this something any of you would like to have a copy of? Questions,
> comments and criticisms are welcome, as always~
>
> Sam
I would like to have a copy of it. It looks great to me.
~Janet
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
William Tracy wrote:
> Wow, that's ingenious.
Not really... bu thanks :)
Sam
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Janet wrote:
> stbenge <stb### [at] hotmail com> wrote:
>> Is this something any of you would like to have a copy of? Questions,
>> comments and criticisms are welcome, as always~
>>
>> Sam
>
> I would like to have a copy of it. It looks great to me.
>
> ~Janet
Thanks. I'm going to sit on the code a little longer, just in case I
discover some error. I'll make an announcement here when I release it.
Sam
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |