POV-Ray : Newsgroups : povray.general : Reflections/Highlights: 1. Facettes on a Cylinder? 2. Angle-Dependent Color= : Re: Reflections/Highlights: 1. Facettes on a Cylinder? 2. Angle-Dependent C= Server Time
29 Jul 2024 04:19:14 EDT (-0400)
  Re: Reflections/Highlights: 1. Facettes on a Cylinder? 2. Angle-Dependent C=  
From: Alain
Date: 5 Feb 2013 12:51:00
Message: <51114684$1@news.povray.org>

> "Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
>> "Sven Littkowski" <nomail@nomail> wrote:
>>> Hmmm.......
>>>
>>> Problem 1:
>>> I want to wrap the hexagons around a cylinder shape. But the hexagon pattern is
>>> just along the x and z axis. Honestly, at the moment I am out of ideas. Hoped it
>>> would have been three-dimensional.
>>>
>>> Problem 2:
>>> Hexagon is a pigment pattern, but my intention is to fill the hexagons with a
>>> texture. One with a dark texture, one with a lighter texture. And then, using
>>> both of them in a texture map.
>>>
>>> Problem 3:
>>> I need thin outline (borders) between the hexagons. Those will be filled with a
>>> non-reflective texture.
>>>
>>> Oh, oh, oh...
>>
>> Problem 1: use a cylindrical warp on the pattern (3.5.12.6.5 Mapping using
>> warps)
>>
>> Problem 2: Hexagon can be used a a textire pattern, check the 4th example under
>> 3.5.11.21 Hexagon
>>
>> Problem 3: A little more difficult, but could be done.  Best way may be with a
>> function pattern, but coul also be done by manipulating gradient patterns
>>
>> -tgq
>
> For 3 I forgot about tiling patterns: (3.5.11.39 Tiling) looks like pattern #8
> is hexagonal.
>
> -tgq
>
>


Hexagonal tiling pattern:
Pattern 2 (pure hexagon, all identical)
It can have a transparent center and be layered over the hexagon 
pattern. You need to provide a color_map. It's transition point will 
determine the thickness of the edges. It may need some scalling to make 
the 2 patterns match.



Alain


Post a reply to this message

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