 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Op 16-5-2022 om 09:36 schreef And:
> "Bald Eagle" <cre### [at] netscape net> 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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Thomas de Groot <tho### [at] degroot org> wrote:
> Op 16-5-2022 om 09:36 schreef And:
> > "Bald Eagle" <cre### [at] netscape net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bald Eagle" <cre### [at] netscape net> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
MichaelJF <fri### [at] t-online de> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
MichaelJF <fri### [at] t-online de> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
MichaelJF <fri### [at] t-online de> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Am 26.05.2022 um 11:27 schrieb And:
> MichaelJF <fri### [at] t-online de> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
MichaelJF <fri### [at] t-online de> wrote:
> Am 26.05.2022 um 11:27 schrieb And:
> > MichaelJF <fri### [at] t-online de> 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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |