POV-Ray : Newsgroups : povray.binaries.images : A special texture with circle Server Time
9 Nov 2026 20:45:19 EST (-0500)
  A special texture with circle (Message 1 to 24 of 24)  
From: And
Subject: A special texture with circle
Date: 15 May 2022 11:05:00
Message: <web.62811626b878eec1a7adfb56aa81652d@news.povray.org>
When I tried to combine function to form a wood bumps pattern, I create a
interesting picture. With concentric circles.


Post a reply to this message


Attachments:
Download '2d function with special.png' (2377 KB)

Preview of image '2d function with special.png'
2d function with special.png


 

From: Bald Eagle
Subject: Re: A special texture with circle
Date: 15 May 2022 12:00:00
Message: <web.628123551ed36dd1f9dae3025979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> When I tried to combine function to form a wood bumps pattern, I create a
> interesting picture. With concentric circles.

This would probably look _really_ cool as a height field!


Post a reply to this message

From: Thomas de Groot
Subject: Re: A special texture with circle
Date: 16 May 2022 02:23:15
Message: <6281edd3$1@news.povray.org>
Op 15/05/2022 om 17:03 schreef And:
> When I tried to combine function to form a wood bumps pattern, I create a
> interesting picture. With concentric circles.

This looks interesting indeed, and unexpected. Could this be used for 
palm wood, maybe? With less marked rings, it would come close I guess. 
And as a height_field, as Bald Eagle suggested.

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: A special texture with circle
Date: 16 May 2022 03:15:00
Message: <web.6281f9081ed36dd879e196a6cde94f1@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > When I tried to combine function to form a wood bumps pattern, I create a
> > interesting picture. With concentric circles.

very nice indeed.


> This would probably look _really_ cool as a height field!

heh, I think it'd look cool printed on cloth or canvas, and hung on a wall; I
keep thinking "tie-dyed".


regards, jr.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 16 May 2022 03:30:00
Message: <web.6281fc961ed36ddd2153b25aa81652d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > "And" <49341109@ntnu.edu.tw> wrote:
> > > When I tried to combine function to form a wood bumps pattern, I create a
> > > interesting picture. With concentric circles.
>
> very nice indeed.
>
>
> > This would probably look _really_ cool as a height field!
>
> heh, I think it'd look cool printed on cloth or canvas, and hung on a wall; I
> keep thinking "tie-dyed".
>
>
> regards, jr.

Print on cloth, etc sounds like it has some (emotionally) meaning. In fact I
leave this picture(and code) for this reason.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 16 May 2022 03:40:00
Message: <web.6281feb41ed36ddd2153b25aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > When I tried to combine function to form a wood bumps pattern, I create a
> > interesting picture. With concentric circles.
>
> This would probably look _really_ cool as a height field!

Why? I don't imagine it so clear.



This pattern here: --------------------------

// basic functions -----

#declare f_theta =
function(x, y) {
select(y, 2*pi - acos(x/sqrt(x*x + y*y)) , acos(x/sqrt(x*x + y*y)))
}


#declare f_r =
function(x, y) {
sqrt(x*x + y*y)
}


#declare f_noise3d = function { internal(76) }


// theme -----





#declare f_rising_noise =
function (x, y) {
f_r(x, y) * f_noise3d(x*5, y*5, 0)

}


#declare f_bumps =
function {f_noise3d(x, y, z)}



#declare radial_growth_speed = 0.1; // m/year


#declare f_time_mockup =
function(x, y, z) {
f_r(x, y)/radial_growth_speed
}



#declare feather_extent = 2.3;

#declare f_t_noise_apply =
function(var_t, change_value) {
f_noise3d(var_t*feather_extent, change_value*50, 200)
}



#declare f_result =
function (x,y) {
f_t_noise_apply(
f_time_mockup(x, y, 0),
f_bumps(f_rising_noise(x, y)*2, 0, 0) // change value
)
}


// ---------------------------------------

Then it can show on a x - y plane. range -5 < x < 5,    -5 < y < 5


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 16 May 2022 03:45:00
Message: <web.628200da1ed36ddd2153b25aa81652d@news.povray.org>
And the color:


// ------------------------------


texture{
    pigment{
        function{f_result(x,y)}
        color_map{
            [0 rgb<0.1,0.1,0.1>]
            [0.4 rgb<0.2,0.2,0.2>]
            [0.6 rgb<0.65,0.45,0.45>]
            [1 rgb<1.0,0.35,0.3>]
        }

    }
    finish{
        ambient 1
        diffuse 0
    }
}


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 16 May 2022 03:50:00
Message: <web.628201121ed36ddd2153b25aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 15/05/2022 om 17:03 schreef And:
> > When I tried to combine function to form a wood bumps pattern, I create a
> > interesting picture. With concentric circles.
>
> This looks interesting indeed, and unexpected. Could this be used for
> palm wood, maybe? With less marked rings, it would come close I guess.
> And as a height_field, as Bald Eagle suggested.
>
> --
> Thomas

Ha ha... I don't know.


Post a reply to this message

From: jr
Subject: Re: A special texture with circle
Date: 16 May 2022 07:05:00
Message: <web.62822eca1ed36dd879e196a6cde94f1@news.povray.org>
hi,

"And" <49341109@ntnu.edu.tw> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ...
> > heh, I think it'd look cool printed on cloth or canvas, and hung on a wall; I
> > keep thinking "tie-dyed".
>
> Print on cloth, etc sounds like it has some (emotionally) meaning.

not sure about that, but I do have a distinct liking for decorative, woven
materials.  if I saw a piece of fabric with such an unusual pattern/print in the
town's market, I'd be sorely tempted to buy.  :-)


regards, jr.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 17 May 2022 11:45:00
Message: <web.6283c24e1ed36ddd2153b25aa81652d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "And" <49341109@ntnu.edu.tw> wrote:
> > "jr" <cre### [at] gmailcom> wrote:
> > > ...
> > > heh, I think it'd look cool printed on cloth or canvas, and hung on a wall; I
> > > keep thinking "tie-dyed".
> >
> > Print on cloth, etc sounds like it has some (emotionally) meaning.
>
> not sure about that, but I do have a distinct liking for decorative, woven
> materials.  if I saw a piece of fabric with such an unusual pattern/print in the
> town's market, I'd be sorely tempted to buy.  :-)
>
>
> regards, jr.

Wow


Post a reply to this message

From: Thomas de Groot
Subject: Re: A special texture with circle
Date: 17 May 2022 11:57:40
Message: <6283c5f4@news.povray.org>
Op 16-5-2022 om 09:36 schreef And:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "And" <49341109@ntnu.edu.tw> wrote:
>>> When I tried to combine function to form a wood bumps pattern, I create a
>>> interesting picture. With concentric circles.
>>
>> This would probably look _really_ cool as a height field!
> 
> Why? I don't imagine it so clear.
> 

A rapid test here :-)

#declare F_HF_01 =
function {
   pigment {
     image_map {png "And_Concentric pattern.png" gamma 1.0
       map_type 0
       interpolate 2
     }
     scale 2
     translate -0.5
   }
}

   height_field {
     function 2000, 2000 {F_HF_01(x,y,z).hf}
     pigment {gradient y pigment_map {[0.0 rgb <0,0.2,0>][1.0 rgb <1,1,0>]}}
     finish {diffuse 0.8 specular 0.1 roughness 0.001}
     scale <500, 50/7.5, 500>
     translate <-500/2, 0, -500/2>
     scale <1, 1, -1>
   }


-- 
Thomas


Post a reply to this message


Attachments:
Download 'hf_image_map_test.png' (533 KB)

Preview of image 'hf_image_map_test.png'
hf_image_map_test.png


 

From: And
Subject: Re: A special texture with circle
Date: 17 May 2022 13:30:00
Message: <web.6283db211ed36ddd2153b25aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 16-5-2022 om 09:36 schreef And:
> > "Bald Eagle" <cre### [at] netscapenet> wrote:
> >> "And" <49341109@ntnu.edu.tw> wrote:
> >>> When I tried to combine function to form a wood bumps pattern, I create a
> >>> interesting picture. With concentric circles.
> >>
> >> This would probably look _really_ cool as a height field!
> >
> > Why? I don't imagine it so clear.
> >
>
> A rapid test here :-)
>
> #declare F_HF_01 =
> function {
>    pigment {
>      image_map {png "And_Concentric pattern.png" gamma 1.0
>        map_type 0
>        interpolate 2
>      }
>      scale 2
>      translate -0.5
>    }
> }
>
>    height_field {
>      function 2000, 2000 {F_HF_01(x,y,z).hf}
>      pigment {gradient y pigment_map {[0.0 rgb <0,0.2,0>][1.0 rgb <1,1,0>]}}
>      finish {diffuse 0.8 specular 0.1 roughness 0.001}
>      scale <500, 50/7.5, 500>
>      translate <-500/2, 0, -500/2>
>      scale <1, 1, -1>
>    }
>
>
> --
> Thomas


It is unexpected fun to me.
It is a bit like a (shrub)maze.

Not bad.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 23 May 2022 22:05:00
Message: <web.628c3c601ed36dd213813f7aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > When I tried to combine function to form a wood bumps pattern, I create a
> > interesting picture. With concentric circles.
>
> This would probably look _really_ cool as a height field!
Good.


Post a reply to this message

From: MichaelJF
Subject: Re: A special texture with circle
Date: 24 May 2022 12:57:00
Message: <628d0e5c@news.povray.org>
Simply, I could not resist;)

isosurface {
    function { f_result2(x,y) }
    contained_by { sphere { <0,0,0>,5 } }
    threshold 0.75
    max_gradient 1000
    pigment { color Cyan }

    rotate <60,0,0>
    scale 5
}


Since the functions given by And are constant in direction z, with an 
isosurface the container will limit the functions in this direction. So, 
I thought a sphere would look better than a box as container.

Best regards
Michael


Post a reply to this message


Attachments:
Download 'andscircle.png' (541 KB)

Preview of image 'andscircle.png'
andscircle.png


 

From: Bald Eagle
Subject: Re: A special texture with circle
Date: 24 May 2022 13:30:00
Message: <web.628d15b01ed36dd1f9dae3025979125@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:

> Since the functions given by And are constant in direction z, with an
> isosurface the container will limit the functions in this direction. So,
> I thought a sphere would look better than a box as container.

Now that's pretty cool - it almost looks like one of those sci-fi "city-planets"
kinda like "Dark City" or something like that.


Post a reply to this message

From: Thomas de Groot
Subject: Re: A special texture with circle
Date: 25 May 2022 02:04:27
Message: <628dc6eb$1@news.povray.org>
Op 24/05/2022 om 18:56 schreef MichaelJF:
> Simply, I could not resist;)
> 
> isosurface {
>     function { f_result2(x,y) }
>     contained_by { sphere { <0,0,0>,5 } }
>     threshold 0.75
>     max_gradient 1000
>     pigment { color Cyan }
> 
>     rotate <60,0,0>
>     scale 5
> }
> 
> 
> Since the functions given by And are constant in direction z, with an 
> isosurface the container will limit the functions in this direction. So, 
> I thought a sphere would look better than a box as container.
> 

LOL! Yes, even better!

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: A special texture with circle
Date: 25 May 2022 11:00:00
Message: <web.628e43b61ed36dd879e196a6cde94f1@news.povray.org>
hi,

MichaelJF <fri### [at] t-onlinede> wrote:
> ... So,
> I thought a sphere would look better than a box as container.

it is beautiful, thanks.


regards, jr.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 26 May 2022 05:30:00
Message: <web.628f47f31ed36dda93c4999aa81652d@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:
> Simply, I could not resist;)
>
> isosurface {
>     function { f_result2(x,y) }
>     contained_by { sphere { <0,0,0>,5 } }
>     threshold 0.75
>     max_gradient 1000
>     pigment { color Cyan }
>
>     rotate <60,0,0>
>     scale 5
> }
>
>
> Since the functions given by And are constant in direction z, with an
> isosurface the container will limit the functions in this direction. So,
> I thought a sphere would look better than a box as container.
>
> Best regards
> Michael

This looks still planar mapping.


Post a reply to this message

From: MichaelJF
Subject: Re: A special texture with circle
Date: 26 May 2022 13:02:27
Message: <628fb2a3$1@news.povray.org>
Am 26.05.2022 um 11:27 schrieb And:
> MichaelJF <fri### [at] t-onlinede> wrote:
>> Simply, I could not resist;)
>>
>> isosurface {
>>      function { f_result2(x,y) }
>>      contained_by { sphere { <0,0,0>,5 } }
>>      threshold 0.75
>>      max_gradient 1000
>>      pigment { color Cyan }
>>
>>      rotate <60,0,0>
>>      scale 5
>> }
>>
>>
>> Since the functions given by And are constant in direction z, with an
>> isosurface the container will limit the functions in this direction. So,
>> I thought a sphere would look better than a box as container.
>>
>> Best regards
>> Michael
> 
> This looks still planar mapping.
> 
Sorry, but I have no idea, what "planar mapping" could mean.

Best regards
Michael


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 27 May 2022 01:50:00
Message: <web.6290664a1ed36dda93c4999aa81652d@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:
> Am 26.05.2022 um 11:27 schrieb And:
> > MichaelJF <fri### [at] t-onlinede> wrote:
> >> Simply, I could not resist;)
> >>
> >> isosurface {
> >>      function { f_result2(x,y) }
> >>      contained_by { sphere { <0,0,0>,5 } }
> >>      threshold 0.75
> >>      max_gradient 1000
> >>      pigment { color Cyan }
> >>
> >>      rotate <60,0,0>
> >>      scale 5
> >> }
> >>
> >>
> >> Since the functions given by And are constant in direction z, with an
> >> isosurface the container will limit the functions in this direction. So,
> >> I thought a sphere would look better than a box as container.
> >>
> >> Best regards
> >> Michael
> >
> > This looks still planar mapping.
> >
> Sorry, but I have no idea, what "planar mapping" could mean.
>
> Best regards
> Michael


I mean it is not a spherical wrapping


Post a reply to this message


Attachments:
Download 'andscircle.png' (510 KB)

Preview of image 'andscircle.png'
andscircle.png


 

From: MichaelJF
Subject: Re: A special texture with circle
Date: 27 May 2022 13:32:03
Message: <62910b13$1@news.povray.org>
Am 27.05.2022 um 07:48 schrieb And:
> MichaelJF <fri### [at] t-onlinede> wrote:
>> Am 26.05.2022 um 11:27 schrieb And:
>>> MichaelJF <fri### [at] t-onlinede> wrote:
>>>> Simply, I could not resist;)
>>>>
>>>> isosurface {
>>>>       function { f_result2(x,y) }
>>>>       contained_by { sphere { <0,0,0>,5 } }
>>>>       threshold 0.75
>>>>       max_gradient 1000
>>>>       pigment { color Cyan }
>>>>
>>>>       rotate <60,0,0>
>>>>       scale 5
>>>> }
>>>>
>>>>
>>>> Since the functions given by And are constant in direction z, with an
>>>> isosurface the container will limit the functions in this direction. So,
>>>> I thought a sphere would look better than a box as container.
>>>>
>>>> Best regards
>>>> Michael
>>>
>>> This looks still planar mapping.
>>>
>> Sorry, but I have no idea, what "planar mapping" could mean.
>>
>> Best regards
>> Michael
> 
> 
> I mean it is not a spherical wrapping
> 
I can not understand your complaints. I put your two dimensional setting 
into an (three dimensional) isosurface, only. Nothing more. Where is the 
problem?

Best regards,
Michael


Post a reply to this message

From: Thomas de Groot
Subject: Re: A special texture with circle
Date: 28 May 2022 02:24:44
Message: <6291c02c$1@news.povray.org>
Op 27/05/2022 om 19:32 schreef MichaelJF:
> Am 27.05.2022 um 07:48 schrieb And:
>> MichaelJF <fri### [at] t-onlinede> wrote:
>>> Am 26.05.2022 um 11:27 schrieb And:
>>>> MichaelJF <fri### [at] t-onlinede> wrote:
>>>>> Simply, I could not resist;)
>>>>>
>>>>> isosurface {
>>>>>       function { f_result2(x,y) }
>>>>>       contained_by { sphere { <0,0,0>,5 } }
>>>>>       threshold 0.75
>>>>>       max_gradient 1000
>>>>>       pigment { color Cyan }
>>>>>
>>>>>       rotate <60,0,0>
>>>>>       scale 5
>>>>> }
>>>>>
>>>>>
>>>>> Since the functions given by And are constant in direction z, with an
>>>>> isosurface the container will limit the functions in this 
>>>>> direction. So,
>>>>> I thought a sphere would look better than a box as container.
>>>>>
>>>>> Best regards
>>>>> Michael
>>>>
>>>> This looks still planar mapping.
>>>>
>>> Sorry, but I have no idea, what "planar mapping" could mean.
>>>
>>> Best regards
>>> Michael
>>
>>
>> I mean it is not a spherical wrapping
>>
> I can not understand your complaints. I put your two dimensional setting 
> into an (three dimensional) isosurface, only. Nothing more. Where is the 
> problem?
> 
> Best regards,
> Michael

I think And means that the pattern remains oriented to the y-axis (his 
"planar napping") instead of conforming to the surface of the sphere 
(spherical mapping?).

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 29 May 2022 10:35:00
Message: <web.629383991ed36ddbf183246aa81652d@news.povray.org>
MichaelJF <fri### [at] t-onlinede> wrote:
> Am 27.05.2022 um 07:48 schrieb And:
> > MichaelJF <fri### [at] t-onlinede> wrote:
> >> Am 26.05.2022 um 11:27 schrieb And:
> >>> MichaelJF <fri### [at] t-onlinede> wrote:
> >>>> Simply, I could not resist;)
> >>>>
> >>>> isosurface {
> >>>>       function { f_result2(x,y) }
> >>>>       contained_by { sphere { <0,0,0>,5 } }
> >>>>       threshold 0.75
> >>>>       max_gradient 1000
> >>>>       pigment { color Cyan }
> >>>>
> >>>>       rotate <60,0,0>
> >>>>       scale 5
> >>>> }
> >>>>
> >>>>
> >>>> Since the functions given by And are constant in direction z, with an
> >>>> isosurface the container will limit the functions in this direction. So,
> >>>> I thought a sphere would look better than a box as container.
> >>>>
> >>>> Best regards
> >>>> Michael
> >>>
> >>> This looks still planar mapping.
> >>>
> >> Sorry, but I have no idea, what "planar mapping" could mean.
> >>
> >> Best regards
> >> Michael
> >
> >
> > I mean it is not a spherical wrapping
> >
> I can not understand your complaints. I put your two dimensional setting
> into an (three dimensional) isosurface, only. Nothing more. Where is the
> problem?
>
> Best regards,
> Michael

Oh, it's no problem.


Post a reply to this message

From: And
Subject: Re: A special texture with circle
Date: 29 May 2022 10:35:00
Message: <web.629384691ed36ddbf183246aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 27/05/2022 om 19:32 schreef MichaelJF:
> > Am 27.05.2022 um 07:48 schrieb And:
> >> MichaelJF <fri### [at] t-onlinede> wrote:
> >>> Am 26.05.2022 um 11:27 schrieb And:
> >>>> MichaelJF <fri### [at] t-onlinede> wrote:
> >>>>> Simply, I could not resist;)
> >>>>>
> >>>>> isosurface {
> >>>>>       function { f_result2(x,y) }
> >>>>>       contained_by { sphere { <0,0,0>,5 } }
> >>>>>       threshold 0.75
> >>>>>       max_gradient 1000
> >>>>>       pigment { color Cyan }
> >>>>>
> >>>>>       rotate <60,0,0>
> >>>>>       scale 5
> >>>>> }
> >>>>>
> >>>>>
> >>>>> Since the functions given by And are constant in direction z, with an
> >>>>> isosurface the container will limit the functions in this
> >>>>> direction. So,
> >>>>> I thought a sphere would look better than a box as container.
> >>>>>
> >>>>> Best regards
> >>>>> Michael
> >>>>
> >>>> This looks still planar mapping.
> >>>>
> >>> Sorry, but I have no idea, what "planar mapping" could mean.
> >>>
> >>> Best regards
> >>> Michael
> >>
> >>
> >> I mean it is not a spherical wrapping
> >>
> > I can not understand your complaints. I put your two dimensional setting
> > into an (three dimensional) isosurface, only. Nothing more. Where is the
> > problem?
> >
> > Best regards,
> > Michael
>
> I think And means that the pattern remains oriented to the y-axis (his
> "planar napping") instead of conforming to the surface of the sphere
> (spherical mapping?).
>
> --
> Thomas


Oh, that is just an idea of mine.


Post a reply to this message

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