POV-Ray : Newsgroups : povray.binaries.images : Guitar Shop (advanced? WIP) : Re: Guitar Shop (advanced? WIP) Server Time
2 Aug 2024 16:24:26 EDT (-0400)
  Re: Guitar Shop (advanced? WIP)  
From: Marc
Date: 2 Jun 2007 18:42:13
Message: <4661f245@news.povray.org>

de news: 4661ee12@news.povray.org...
>
> It's one of the best guitar models I've ever seen in this group.
Thank you!
> I like the wood/sunburst texture of it. Is that an image mapped to it?

the shape of the sunburst is an image pattern (attached jpg file), the rest 
is procedural



   texture  // txt_10
   {
      pigment
      {
         wood
         color_map
         {
            [ 0.0     rgbft <0.936279, 0.736175, 0.122721, 0.0, 0.0> ]
            [ 0.16    rgbft <0.95099, 0.74365, 0.10801, 0.0, 0.0> ]
            [ 0.34    rgbft <0.6, 0.345, 0.039, 0.0, 0.0> ]
            [ 0.48    rgbft <0.941188, 0.73867, 0.117812, 0.0, 0.0> ]
            [ 0.65    rgbft <0.931385, 0.733689, 0.127615, 0.0, 0.0> ]
            [ 0.82    rgbft <0.529, 0.294, 0.024, 0.0, 0.0> ]
            [ 1.0     rgbft <0.946081, 0.741156, 0.112919, 0.0, 0.0> ]
         }
         turbulence 0.04
         ramp_wave
         scale  <0.04, 0.2, 0.15>
         rotate 5.0 * x
         translate 0.1 * x
      }
      finish
      {
         ambient 0.0
         diffuse 0.8489
         phong 0.2
         phong_size 10.0
      }
   }
   texture  // txt_11
   {
      pigment
      {
         granite
         color_map
         {
            [ 0.0     rgbft <0.498, 0.349, 0.0, 1.0, 0.0> ]
            [ 0.39    rgbft <0.478, 0.329, 0.0, 1.0, 0.0> ]
            [ 0.6     rgbft <0.478, 0.329, 0.0, 0.686, 0.0> ]
            [ 0.84    rgbft <0.486, 0.337, 0.0, 0.486, 0.0> ]
            [ 0.94    rgbft <0.486, 0.337, 0.0, 0.0, 0.0> ]
            [ 1.0     rgbft <0.498, 0.349, 0.0, 0.0, 0.0> ]
         }
         turbulence 2.0
         ramp_wave
         scale  <0.02, 0.1, 0.1>
      }
      finish
      {
         ambient 0.2
         specular 0.2
      }
   }
   texture
   {
      pigment
      {
         image_pattern
         {
               jpeg   "masquesunburst.jpg"
               once
         }
         color_map
         {
            [ 0.0     rgbft <0.0, 0.0, 0.0, 1.0, 0.0> ]
            [ 0.088968  rgbft <0.127575, 0.018225, 0.018225, 1.0, 0.0> ]
            [ 0.350534  rgbft <0.565075, 0.080725, 0.080725, 1.0, 0.0> ]
            [ 0.914591  rgbft <0.565075, 0.080725, 0.080725, 1.0, 1.0> ]
            [ 1.0     rgbft <0.565075, 0.080725, 0.080725, 1.0, 1.0> ]
         }
         scale  2.0
         translate    <-1.0, -1.0, -1.0>
      }
      finish
      {
         ambient 0.1
         specular 0.705033
         roughness 0.02
         reflection
         {
            0.0 , 0.5
            fresnel  off
            falloff  1.0
            exponent 1.0
            metallic 0.0
         }
      }
   }


Post a reply to this message


Attachments:
Download 'masquesunburst.jpg' (23 KB)

Preview of image 'masquesunburst.jpg'
masquesunburst.jpg


 

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