POV-Ray : Newsgroups : povray.binaries.images : hex pattern include file released today (136k jpg) Server Time
4 Nov 2024 20:17:42 EST (-0500)
  hex pattern include file released today (136k jpg) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: stbenge
Subject: hex pattern include file released today (136k jpg)
Date: 9 May 2008 12:40:00
Message: <48247e60@news.povray.org>
Hi everyone,

I just posted a zip containing the include file in a message entitled 
"hexagonal patterns" over at p.b.scene-files.

Attached is an image showing the 11 basic patterns contained within that 
file. All patterns are pigment_pattern macros, and can be used in any 
material block. They are all gray-scale by default.

1) is a shortcut to "f_hex_h" in in functions.inc. I adjusted its 
properties so that the edges start at full black, and the center ends at 
full white (thanks to that handy float in the docs).

2) is like 1), but modified to exist in groups of three

3) is composed of randomly-colored hexagons

4) uses "hexagon" and 3) to place and optionally rotate a pigment in 
each hexagon

5) is like 4), but in groups of three, and without random rotation

6) is like a triangular version of "hexagon"

7) is like 6), but rotated 30 degrees and slightly larger

8) uses 4) and a spiral1 pattern to for a curved tessellation

9) takes a pigment and makes a kaleidoscope out of it

10) is a reference grid for using the ht(x,y) and ht2(x,y) macros

11) is like 3), but with triangles :)

And the last bit is a sphere_sweep demonstrating the use of the ht2(x,y) 
macro for placing points in trigonal space. Both the ht(x,y) and 
ht2(x,y) macros line up with the skewed grid represented in 10.

Note that numbers 4, 5, and 9 will take a custom pigment pattern. It's 
not so hard to make, say, a compound bug eye with number 4, using a 
cylindrical or spherical pigment as a base.

Full instructions and example files are included in the zip. I'll 
monitor both groups in case anyone has questions. Happy rendering!

Sam


Post a reply to this message


Attachments:
Download 'hexpattern_test4_19.jpg' (135 KB)

Preview of image 'hexpattern_test4_19.jpg'
hexpattern_test4_19.jpg


 

From: Mike the Elder
Subject: Re: hex pattern include file released today (136k jpg)
Date: 9 May 2008 13:00:00
Message: <web.482481eebb32df1f9f76baaf0@news.povray.org>
stbenge <stb### [at] hotmailcom> wrote:
> Hi everyone,
>
> I just posted a zip containing the include file in a message entitled
> "hexagonal patterns" over at p.b.scene-files.
>
....

Nifty Stuff, thanks! I'll probably spend a good part of the weekend playing with
them instead of unpacking and cleaning my new apartment - It's *SO* nice to have
someone else to blame for the irresponsible behavior that I was almost certainly
going to engage in anyway ;-)

Best Regards,
Mike C.


Post a reply to this message

From: stbenge
Subject: Re: hex pattern include file released today (136k jpg)
Date: 9 May 2008 13:04:50
Message: <48248432$1@news.povray.org>
Mike the Elder wrote:
> stbenge <stb### [at] hotmailcom> wrote:
>> Hi everyone,
>>
>> I just posted a zip containing the include file in a message entitled
>> "hexagonal patterns" over at p.b.scene-files.
>>
> ....
> 
> Nifty Stuff, thanks! I'll probably spend a good part of the weekend playing with
> them instead of unpacking and cleaning my new apartment - It's *SO* nice to have
> someone else to blame for the irresponsible behavior that I was almost certainly
> going to engage in anyway ;-)
> 
> Best Regards,
> Mike C.

Lol, you're welcome ;)

Sam


Post a reply to this message

From: Kenneth
Subject: Re: hex pattern include file released today (136k jpg)
Date: 9 May 2008 15:30:00
Message: <web.4824a546bb32df1f78dcad930@news.povray.org>
stbenge <stb### [at] hotmailcom> wrote:
> Hi everyone,
>
> I just posted a zip containing the include file in a message entitled
> "hexagonal patterns" over at p.b.scene-files.
>

Thanks, Sam, for the hard work!  I'll definitely be playing around with this. I
also want to see if I can generate HF functions (and/or isosurface functions)
from the patterns; they would look quite nice as 3-D objects.

The possibilities seem endless!

Ken W.


Post a reply to this message

From: stbenge
Subject: Re: hex pattern include file released today (136k jpg)
Date: 9 May 2008 18:28:01
Message: <4824cff1@news.povray.org>
Kenneth wrote:
> 
> Thanks, Sam, for the hard work!  I'll definitely be playing around with this. I
> also want to see if I can generate HF functions (and/or isosurface functions)
> from the patterns; they would look quite nice as 3-D objects.
> 
> The possibilities seem endless!
> 
> Ken W.

Thanks Ken, and you're welcome :) You will have to scale the pattern if 
you plan on using it for a tiling height_field. The values "h1" and "h2" 
should work for this, though it may take a little adjustment.

I'm glad you like it!

Sam


Post a reply to this message

From: Janet
Subject: Re: hex pattern include file released today (136k jpg)
Date: 10 May 2008 01:35:01
Message: <web.4825337bbb32df1f6d67e4fd0@news.povray.org>
"Mike the Elder" <nomail@nomail> wrote:
> Nifty Stuff, thanks! I'll probably spend a good part of the weekend playing with
> them instead of unpacking and cleaning my new apartment - It's *SO* nice to have
> someone else to blame for the irresponsible behavior that I was almost certainly
> going to engage in anyway ;-)
>
> Best Regards,
> Mike C.

Exactly Mike! :)

Thanks for the files, Sam. The patterns look great.

Janet


Post a reply to this message

From: stbenge
Subject: Re: hex pattern include file released today (136k jpg)
Date: 10 May 2008 02:18:33
Message: <48253e39$1@news.povray.org>
Janet wrote:
> Thanks for the files, Sam. The patterns look great.
> 
> Janet

Thanks, and you're welcome :)

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: hex pattern include file released today (136k jpg)
Date: 10 May 2008 04:05:18
Message: <4825573e@news.povray.org>
Excellent work, Sam! Thank you very much indeed! You are a master of 
innovation!

Thomas


Post a reply to this message

From: Warp
Subject: Re: hex pattern include file released today (136k jpg)
Date: 10 May 2008 05:41:31
Message: <48256dcb@news.povray.org>
stbenge wrote:
> I just posted a zip containing the include file in a message entitled
> "hexagonal patterns" over at p.b.scene-files.

  How about submitting it to lib.povray.org?


Post a reply to this message

From: stbenge
Subject: Re: hex pattern include file released today (136k jpg)
Date: 10 May 2008 16:25:40
Message: <482604c4@news.povray.org>
Thomas de Groot wrote:
> Excellent work, Sam! Thank you very much indeed! You are a master of 
> innovation!
> 
> Thomas

It didn't seem like such a big thing to me, but thanks!

Sam


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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