POV-Ray : Newsgroups : povray.binaries.images : Bronze Age sword - take 1 : Re: Bronze Age sword - take 1 Server Time
20 May 2024 06:02:45 EDT (-0400)
  Re: Bronze Age sword - take 1  
From: Thomas de Groot
Date: 13 Jul 2023 11:12:33
Message: <64b01461@news.povray.org>
A bit of improvements.

The bronze texture used is given here (for POV versions 3.7 or better 3.8):

//-------------------------------------------------
//from  https://en.wikipedia.org/wiki/Bronze_(color)
#declare P_bronze1 = rgb <205/255, 127/255, 50/255>;  //is: HTML/CSS 
#CD7F32 code. see also: https://htmlcolorcodes.com/colors/bronze/
#declare P_bronze2 = rgb <150/255, 116/255, 68/255>;  //is: Hex Color: 
#967444. see: https://colorcodes.io/brown/bronze-color-codes/
                                                       //with variations:
#declare P_bronze3 = rgb <87/255, 67/255, 39/255>;    //#574327
#declare P_bronze4 = rgb <227/255, 175/255, 102/255>; //#E3AF66
#declare P_bronze5 = rgb <163/255, 126/255, 73/255>;  //#A37E49
#declare P_bronze6 = rgb <125/255, 96/255, 56/255>;   //#7D6038

#declare P_BlastOff_bronze = rgb <165/255, 113/255, 100/255>;  //Crayola
#declare P_Antique_bronze = srgb <102/255, 93/255, 30/255>;
//My bronze:
#declare P_My_bronze = rgb <242/255, 221/255, 137/255>;

// Based on texture CastMetal by Tim Attwood
#declare CastBronze =
texture {
   pigment {P_bronze4}
   normal {granite bump_size 0.01 scale 0.01}
   finish {
     diffuse  0.01	
     brilliance 1	
     metallic on
     specular  0.6
     roughness 0.01
     reflection {0.001, 0.6 metallic on }
     conserve_energy
   }
}
//-------------------------------------------------



-- 
Thomas


Post a reply to this message


Attachments:
Download 'objects_test - bronzeagesword_03.png' (538 KB)

Preview of image 'objects_test - bronzeagesword_03.png'
objects_test - bronzeagesword_03.png


 

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