POV-Ray : Newsgroups : povray.binaries.images : "Metal Monster" WIP : Re: "Metal Monster" WIP Server Time
5 May 2024 10:21:47 EDT (-0400)
  Re: "Metal Monster" WIP  
From: Norbert Kern
Date: 10 May 2016 12:00:00
Message: <web.573204a982700af7cc0d6d70@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> The top left for me, anytime!


Hi Christoph,

in the case you are interested -

// Jerzy Karczmarczuk  Textures, continuation
https://karczmarczuk.users.greyc.fr/TEACH/Imagerie.old/Txtur.html

#macro T1650 (col)

#declare bz = pigment {bozo scale 0.3}
#declare m0 = 0;
#declare stp = 0.08;
#declare s1 = stp*0.5;
#declare stri =
color_map {
        #while (m0 < 1)
                [m0     srgb <col.x,col.y,col.z>]
                [m0+s1  srgb 0.15*<col.x,col.y,col.z>]
                #declare m0 = m0+stp;
        #end
}

material {
        texture {
                pigment {
                        bz
                        color_map {stri}
                }
                normal {
                        pigment_pattern {
                                bz
                                color_map {stri}
                        }
                        3
                }
         finish {
          brilliance 4
          diffuse 0
          emission 0
          metallic
          specular 0.8
          roughness 0.025
          reflection {1 metallic}
         }
        }
 interior {ior 1.5}
 scale 0.55
}

#end

Norbert


Post a reply to this message

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