POV-Ray : Newsgroups : povray.binaries.images : Realistic rusty bearing : Re: Realistic rusty bearing Server Time
29 Jul 2024 16:30:00 EDT (-0400)
  Re: Realistic rusty bearing  
From: Thomas de Groot
Date: 8 Feb 2014 10:32:31
Message: <52f64e0f$1@news.povray.org>
On 8-2-2014 14:39, LanuHum wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> How about this? Different variations possible (see below). Textures
>> courtesy of Xplo Eristotle.
>>
>> //start code
>> // Metal textures by Xplo Eristotle
>>
>
>> #declare XE_iron_2 =
>> texture {
>>   pigment {
>>     marble
>>     pigment_map {
>>       [0.00 color rgb <0.25, 0.25, 0.25>]
>>       [0.20 color rgb <0.30, 0.30, 0.30>]
>>       [0.45 color rgb <0.809995, 0.299123, 0.113405>*0.8]
>>       [0.50 color rgb <0.25, 0.25, 0.25>]
>>       [0.65 color rgb <0.23, 0.23, 0.23>]
>>       [0.90 color rgb <0.24, 0.24, 0.24>]
>>       [1.00 color rgb <0.25, 0.25, 0.25>]
>>     }
>>     scale 0.2
>>     warp {turbulence 0.5}
>>   }
>>   normal {granite 0.3  scale 0.2}
>>   finish {
>>     roughness 0.01
>>     specular 0.5
>>     reflection 0.05
>>     diffuse 0.8
>>   }
>> }
>>
>
>> #declare XE_rusty_steel =
>> texture {
>>   bozo
>>   texture_map
>>    {
>>    [ 0.0 XE_rust ]
>>    [ 0.2 XE_rust ]
>>    [ 0.5 XE_iron ]
>>    [ 0.6 XE_steel ]
>>    [ 1.0 XE_steel ]
>>    }
>>   turbulence 1
>>   omega .6
>>   lambda 4
>>   warp { turbulence 1 }
>> }
>> //end code
>>
>> Thomas
>
> XE_iron_2 declare, but not used.
>
Yes, you can choose your own combinations ;-)

Thomas


Post a reply to this message

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