POV-Ray : Newsgroups : povray.binaries.images : A special texture with circle Server Time
25 Apr 2024 11:39:24 EDT (-0400)
  A special texture with circle (Message 11 to 20 of 24)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>
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


 

<<< Previous 10 Messages Goto Latest 10 Messages Next 4 Messages >>>

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