POV-Ray : Newsgroups : povray.binaries.images : A special texture with circle : Re: A special texture with circle Server Time
5 Jul 2022 20:52:07 EDT (-0400)
  Re: A special texture with circle  
From: Thomas de Groot
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


 

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