POV-Ray : Newsgroups : povray.binaries.images : Apparent circular pattern of scratches : Re: Apparent circular pattern of scratches Server Time
20 Apr 2024 11:31:44 EDT (-0400)
  Re: Apparent circular pattern of scratches  
From: Norbert Kern
Date: 26 Jan 2019 09:15:01
Message: <web.5c4c6ae05e3f44501fbfafc10@news.povray.org>
Hello,

here is my attempt, using a layered texture and an imagefile for the scratches
(similar to what Thomas posted here -
http://news.povray.org/povray.advanced-users/message/%3C5c4970bb%40news.povray.org%3E/#%3C5c4970bb%40news.povray.org%3E
).


material {
        texture {
                pigment {color srgb <0.9284,0.9016,0.8678>}
  normal {
                        average
                        normal_map {
                                [1      bump_map {png "scratches"}
                                        bump_size -1
                                ]
                                [1      bump_map {png "scratches"}
                                        bump_size -1
                                        rotate x*90
                                ]
                                [1      bump_map {png "scratches"}
                                        bump_size -1
                                        rotate z*90
                                ]
                        }
                        accuracy 0.003
                }
                finish {
                        ambient 0
                        diffuse 0.1
                        specular 1
                        roughness 0.0003
                 phong 0.5
                        phong_size 10
                        brilliance 3
                        reflection {0.6, 1 fresnel on metallic}
                        conserve_energy
                }
        }
        texture {
  pigment {color srgbf <0.96,0.965,0.975,0.99/0.8>*0.8}
  finish {
          ambient 0
          diffuse 0.05
          reflection {0, 1 fresnel on}
          conserve_energy
          specular albedo 0.5
                        roughness 0.001
                        brilliance 7
                }
 }
        interior {ior 3.64}
        scale 1
 Reorient_Trans (z, 1)
}

Norbert


Post a reply to this message


Attachments:
Download 'scratch finish on metallic surfacea.jpg' (684 KB)

Preview of image 'scratch finish on metallic surfacea.jpg'
scratch finish on metallic surfacea.jpg


 

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