|
|
This is my latest update to a rusted chrome sphere I first created in
2004; a 2006 update is posted at:
https://news.povray.org/web.523a47261b23139d306548240@news.povray.org
I took Thomas' advice in that thread and updated the texture normal.
The change quadrupled the render time.
Here is the texture used on the sphere. Note that the final texture
adds an additional turbulence to the rust texture.
----------[BEGIN CODE EXCERPT]---------
#include "rc3metal.inc" // https://github.com/CousinRicky/POV-RC3Metal
#declare c_Chrome = rgb <0.50, 0.51, 0.55>;
#declare c_Rust1 = rgb <0.17, 0.07, 0.06>;
#declare c_Rust2 = rgb <0.30, 0.10, 0.04>;
#declare c_Rust3 = rgb <0.60, 0.24, 0.03>;
#declare RC3M_Diffuse = [your #default diffuse value];
#declare RC3M_Ambient = [your #default ambient value];
RC3Metal_Set_highlight (0)
#declare t_Chrome = RC3Metal_Texture (c_Chrome, 1.0, 0.5)
#declare t_Buckled_chrome = texture
{ RC3Metal (c_Chrome, 0.5, 0.5)
normal { bumps 0.3 scale 0.1 }
}
#declare t_Rust = texture
{ pigment
{ bozo color_map
{ [0.00 c_Rust1]
[0.20 c_Rust1]
[0.62 c_Rust2]
[0.72 c_Rust3]
[1.00 c_Rust3]
}
scale 0.18
}
normal
{ agate 0.8
warp { turbulence 0.5 octaves 3 lambda 3 omega 0.9 }
}
}
#declare t_Rusted_chrome = texture
{ bozo texture_map
{ [0.43 t_Chrome]
[0.53 t_Buckled_chrome]
[0.53 t_Rust]
}
turbulence 0.7
scale 0.2
}
-----------[END CODE EXCERPT]----------
Post a reply to this message
Attachments:
Download 'rusty_ball-2022-1080.jpg' (388 KB)
Preview of image 'rusty_ball-2022-1080.jpg'
|
|