POV-Ray : Newsgroups : povray.binaries.images : Had occasion to look at tiling patterns in linear grey. Server Time
21 Dec 2024 11:39:18 EST (-0500)
  Had occasion to look at tiling patterns in linear grey. (Message 1 to 10 of 10)  
From: William F Pokorny
Subject: Had occasion to look at tiling patterns in linear grey.
Date: 21 Nov 2024 22:19:58
Message: <673ff85e$1@news.povray.org>
Some of the tiling pattern's patterns look pretty cool without a color 
map - just grey. Attached tiling 21.

Bill P.


Post a reply to this message


Attachments:
Download 'tiling21.png' (153 KB)

Preview of image 'tiling21.png'
tiling21.png


 

From: Bald Eagle
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 22 Nov 2024 08:45:00
Message: <web.674089e94e5e5b944cc51b5c25979125@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> Some of the tiling pattern's patterns look pretty cool without a color
> map - just grey. Attached tiling 21.
>
> Bill P.

Nice!
Are these the sort of patterns that are provided with POV-Ray - coded by Jerome
Grimbert?

I'm curious as to what this would look like as a heightfield.

- BW


Post a reply to this message

From: Kenneth
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 22 Nov 2024 14:40:00
Message: <web.6740dda94e5e5b9491c33a706e066e29@news.povray.org>
Nice! It looks like an atomic-scale photo of some kind of nano device.
>
> I'm curious as to what this would look like as a heightfield.
>
> - BW

I couldn't resist ;-)
(I removed the image's red border.)


Post a reply to this message


Attachments:
Download 'hf_from_william pokorny_tiling_21.jpg' (121 KB)

Preview of image 'hf_from_william pokorny_tiling_21.jpg'
hf_from_william pokorny_tiling_21.jpg


 

From: William F Pokorny
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 22 Nov 2024 16:07:40
Message: <6740f29c@news.povray.org>
On 11/22/24 08:40, Bald Eagle wrote:
> William F Pokorny <ano### [at] anonymousorg> wrote:
>> Some of the tiling pattern's patterns look pretty cool without a color
>> map - just grey. Attached tiling 21.
>>
>> Bill P.
> 
> Nice!
> Are these the sort of patterns that are provided with POV-Ray - coded by Jerome
> Grimbert?

Thanks :-) Though, yes, this is Jerome's work so he deserves the credit.

Aside: In addition to the 'tiling' pattern (implementing 27 
sub-tiling-patterns), There is too 'pavement' with a great many 
possibilities (112 base arrangements IIRC - plus exterior, interior and 
form treatments thereof). I think it a bit harder to understand and use 
than is tiling, but it's cool too.

> 
> I'm curious as to what this would look like as a heightfield.
> 

Attached another grey image on the left that I liked in 'tiling 14'. It 
required the tiny rotation trick to get away from numerical noise.

Many of the tiling pattern's patterns are not continuous which make 
height fields and isosurfaces difficult / jumpy in direct use. Kenneth 
helps make that point with his recent post. :-)

On the right isn't a height field, but an isosurface using a new inbuilt 
function in yuqk called f_npmod() which in wrapping the 'tiling 14' 
function implements the pattern modifier (frequency, phase, sine_wave 
etc) code's version of mod() - plus an on the fly scaling. 'tiling 14' 
has 5 tile types so the f_npmod() function call becomes roughly:

	f_npmod('tiling 14', 1/5, 'value multiplier')

The function basically makes 'tiling 14' a continuous pattern where all 
5 tile types have the same 0..? value ranges. An unmodified 'tiling 14' 
function is still used to color / texture the tiles and calk.

Note. The performance is quite variable where using the 'tiling' pattern 
in isosurfaces. My up front guess is that certain tiling 
sub-patterns(1..27) are much slower than others, but there might well be 
other things in play. I've never dug into what burns the time. The 
isosurface on the right was relatively slow to render.

Bill P.


Post a reply to this message


Attachments:
Download 'tilingsubpat14.jpg' (309 KB)

Preview of image 'tilingsubpat14.jpg'
tilingsubpat14.jpg


 

From: William F Pokorny
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 23 Nov 2024 08:02:06
Message: <6741d24e$1@news.povray.org>
On 11/22/24 16:07, William F Pokorny wrote:
> Aside: In addition to the 'tiling' pattern (implementing 27 sub-tiling- 
> patterns), There is too 'pavement' with a great many possibilities (112 
> base arrangements IIRC - plus exterior, interior and form treatments 
> thereof). I think it a bit harder to understand and use than is tiling, 
> but it's cool too.

Attaching an image of a pavement based isosurface 'height field'.

#declare Fn00 = function {
     pattern {
         pavement
         ip_sides     3  // The ip_* values are the defaults
         ip_tiles     1
         ip_pattern   1
         ip_exterior  0
         ip_interior  0
         ip_form      0
         cubic_wave phase -1/2 poly_wave 15 frequency 1
     }
}
#declare Fn01 = function (x,y,z) { // isosurface function
     f_planar(y+(Fn00(x,y,z)*0.05),0.02,1)
}

There are yuqk particulars above, but the core pavement pattern is 
what's in POV-Ray.

Bill P.


Post a reply to this message


Attachments:
Download 'pavement_00.jpg' (259 KB)

Preview of image 'pavement_00.jpg'
pavement_00.jpg


 

From: Alain Martel
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 23 Nov 2024 14:16:46
Message: <67422a1e@news.povray.org>
Le 2024-11-22 à 16:07, William F Pokorny a écrit :
> On 11/22/24 08:40, Bald Eagle wrote:
>> William F Pokorny <ano### [at] anonymousorg> wrote:
>>> Some of the tiling pattern's patterns look pretty cool without a color
>>> map - just grey. Attached tiling 21.
>>>
>>> Bill P.
>>
>> Nice!
>> Are these the sort of patterns that are provided with POV-Ray - coded 
>> by Jerome
>> Grimbert?
> 
> Thanks :-) Though, yes, this is Jerome's work so he deserves the credit.
> 
> Aside: In addition to the 'tiling' pattern (implementing 27 sub-tiling- 
> patterns), There is too 'pavement' with a great many possibilities (112 
> base arrangements IIRC - plus exterior, interior and form treatments 
> thereof). I think it a bit harder to understand and use than is tiling, 
> but it's cool too.
> 
>>
>> I'm curious as to what this would look like as a heightfield.
>>
> 
> Attached another grey image on the left that I liked in 'tiling 14'. It 
> required the tiny rotation trick to get away from numerical noise.
> 
> Many of the tiling pattern's patterns are not continuous which make 
> height fields and isosurfaces difficult / jumpy in direct use. Kenneth 
> helps make that point with his recent post. :-)
> 
> On the right isn't a height field, but an isosurface using a new inbuilt 
> function in yuqk called f_npmod() which in wrapping the 'tiling 14' 
> function implements the pattern modifier (frequency, phase, sine_wave 
> etc) code's version of mod() - plus an on the fly scaling. 'tiling 14' 
> has 5 tile types so the f_npmod() function call becomes roughly:
> 
>      f_npmod('tiling 14', 1/5, 'value multiplier')
> 
> The function basically makes 'tiling 14' a continuous pattern where all 
> 5 tile types have the same 0..? value ranges. An unmodified 'tiling 14' 
> function is still used to color / texture the tiles and calk.
> 
> Note. The performance is quite variable where using the 'tiling' pattern 
> in isosurfaces. My up front guess is that certain tiling sub- 
> patterns(1..27) are much slower than others, but there might well be 
> other things in play. I've never dug into what burns the time. The 
> isosurface on the right was relatively slow to render.
> 
> Bill P.
> 

When I use a tiling pattern for an isosurface, I use a simple ramp 
gradient with a frequency parameter matching the number of domains.
So, for your example, I'd use frequency 5.
Then, use a colourful version of that tiling as pigment.


Post a reply to this message

From: Bald Eagle
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 23 Nov 2024 16:50:00
Message: <web.67424dcb4e5e5b941f9dae3025979125@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> Attaching an image of a pavement based isosurface 'height field'.

> Bill P.

Ah, very cool.
This is the sort of thing that a lot of renders could greatly benefit from, I
think.
How did you get the outline of the triangles?
Some sort of function-based pigment based on the slope or something?

- BW


Post a reply to this message

From: William F Pokorny
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 23 Nov 2024 17:46:39
Message: <67425b4f$1@news.povray.org>
On 11/23/24 14:16, Alain Martel wrote:
> When I use a tiling pattern for an isosurface, I use a simple ramp 
> gradient with a frequency parameter matching the number of domains.
> So, for your example, I'd use frequency 5.
> Then, use a colourful version of that tiling as pigment.

Ah, yeah - that's a good way to go! And it's an approach which will work 
in official POV-Ray releases... :-)

Bill P.


Post a reply to this message

From: William F Pokorny
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 23 Nov 2024 17:52:02
Message: <67425c92$1@news.povray.org>
On 11/23/24 16:48, Bald Eagle wrote:
> How did you get the outline of the triangles?
> Some sort of function-based pigment based on the slope or something?

No, nothing fancy. I started with a color_map with thin regions of 
'AmericanGreen' and 'AmericanViolet' near the bottom and top of the 0..1 
range. Then took a few passes making adjustments until it looked OK. :-)

Bill P.


Post a reply to this message

From: Paolo Gibellini
Subject: Re: Had occasion to look at tiling patterns in linear grey.
Date: 8 Dec 2024 17:01:24
Message: <67561734$1@news.povray.org>
Il 22/11/2024 20:38, Kenneth ha scritto:
> Nice! It looks like an atomic-scale photo of some kind of nano device.
>>
>> I'm curious as to what this would look like as a heightfield.
>>
>> - BW
> 
> I couldn't resist ;-)
> (I removed the image's red border.)
> 

Cool!

Paolo


Post a reply to this message

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