POV-Ray : Newsgroups : povray.binaries.images : Realistic rusty bearing : Re: Realistic rusty bearing Server Time
29 Jul 2024 16:26:21 EDT (-0400)
  Re: Realistic rusty bearing  
From: LanuHum
Date: 8 Feb 2014 08:40:00
Message: <web.52f63388190970a57a3e03fe0@news.povray.org>
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.


Post a reply to this message

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