POV-Ray : Newsgroups : povray.programming : Request: new pigment : Re: Request: new pigment Server Time
28 Jul 2024 22:23:54 EDT (-0400)
  Re: Request: new pigment  
From: Ron Parker
Date: 6 Apr 1999 19:07:46
Message: <370a85b2.0@news.povray.org>
On Tue, 06 Apr 1999 14:48:23 -0400, Anthony Bennett wrote:
>Hi. I was wondering if someone could add a new pigment to POV. I don't
>know if it's me or what, but I have noticed that an often used and
>somewhat cool-looking pigment is what I call a "hexagon-brick". That is
>how I can best describe it. It has hexagons, but separated by larger
>hexagons, sort of like the brick pigment. It could be used to make
>screen doors, and whatnot. Can this be done? I was thinking of a syntax
>like:
>
>pigment
>{
> hexabrick COLOR_1, COLOR_2
> [mortar Size]
>}
>
>See? It's just like brick, but without a size, since they would be your
>average hexagons and there's no need to strech them. Maybe it could be
>left in anyway.

I'd rather see it be more like crackle, where the value of the pattern
(not pigment) at a point is proportional to the "distance" of the point
from the nearest "hex center" where "distance" is defined as the radius
of the hexagon centered on that center, passing through the point, and 
"aligned" with the boundary hexes.  Come to think of it, I'd like to see 
the same thing with squares, cubes, and triangles (I think that exhausts 
the tileable polygons and polyhedra)

The result would be that you could get "mortar" by using an appropriate
color, pigment, or texture map, and you could use them as normals as well.

By the way, it is possible to fake any of these with appropriate use of 
gradients and repeat warps, so they could be implemented as macros.


Post a reply to this message

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