POV-Ray : Newsgroups : povray.binaries.images : Car paint [32+39+40K] : Re: Car paint [32+39+40K] Server Time
9 Aug 2024 23:22:01 EDT (-0400)
  Re: Car paint [32+39+40K]  
From: Jaime Vives Piqueres
Date: 2 Jan 2005 13:34:59
Message: <41d83ed3@news.povray.org>
Salty wrote:
> Nice renders, care to share the texture you are using?

   Of course no... I will put some example on my site soon, but bellow
is the texture itself. The idea is very simple, and the effect can be
controlled playing with the specular amount of the first layer and the
transmit value on the second.

#declare rmin=.1;
#declare rmax=.33;
#declare c1=Blue*.25; #declare c2=Green*.5;
//#declare c1=Red*.125; #declare c2=Yellow*.5;
//#declare c1=Blue*.2+Green*.1; #declare c2=Yellow*.5;
//#declare c1=Violet*.5; #declare c2=Red;
//#declare c1=Red*.5; #declare c2=Green;
//#declare c1=Black; #declare c2=White;
//#declare c1=Black; #declare c2=Red;
//#declare c1=Blue*.5; #declare c2=Orange;
//#declare c1=Black; #declare c2=Aquamarine;
//declare c1=Black; #declare c2=Blue*.7+Green*.3;

#declare t_custom_paint=
texture{
  pigment{rgb c2}
  finish{specular 2 metallic roughness .1 brilliance 10}
}
texture{
  pigment{rgb c1 transmit .33}
  finish{
   specular 1 roughness .0125
   diffuse 1-rmax reflection{rmin,rmax} conserve_energy
   //irid{.25 thickness pi/2} // :)
  }
}

--
Jaime


Post a reply to this message

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