POV-Ray : Newsgroups : povray.binaries.images : hexagonal abstract : Re: hexagonal abstract Server Time
1 Aug 2024 20:07:56 EDT (-0400)
  Re: hexagonal abstract  
From: Tek
Date: 23 Mar 2008 04:45:21
Message: <47e626b1$1@news.povray.org>
"Edouard Poor" <new### [at] edouardinforemovethis> wrote in message 
news:news.povray.org-654286.21180023032008@news.povray.org...
> In article <47e56b72@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom>
> wrote:
>
> Is the hexagon height and colour pigment based somehow? Kinda looks like
> it could be (although I have no idea how you would do that).

Yeah the colour and height are sampled from 2 pigment functions. The code 
looks sort of like this:
#local f_depth = function { pigment { /*depth function goes here*/ } }
#local f_pat = function { pigment { /*colour function goes here*/ } }
...
//loop over every position in the grid
object { hex translate pos+z*f_depth(pos.x,pos.y,0).x pigment { 
f_pat(pos.x,pos.y,0) } }

> And are the hexagons actually on a sphere, or is it a mildly fisheye
> camera?

It's an ultra_wide_angle lens.

-- 
Tek
http://evilsuperbrain.com


"Edouard Poor" <new### [at] edouardinforemovethis> wrote in message 
news:news.povray.org-654286.21180023032008@news.povray.org...
> In article <47e56b72@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom>
> wrote:
>
>> Long time no posts from me on p.b.i!
>>
>> So here's my new desktop wallpaper. Nothing amazing but it's livened up 
>> my
>> day (and given me a headache).
>
> Mmm, looks great! Simple, yet somehow compelling.
>
> Is the hexagon height and colour pigment based somehow? Kinda looks like
> it could be (although I have no idea how you would do that).
>
> And are the hexagons actually on a sphere, or is it a mildly fisheye
> camera?
>
> Cheers,
> Edouard.


Post a reply to this message

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