POV-Ray : Newsgroups : povray.binaries.images : Ourobus Snake : Re: Update: Ouroborous Snake and Escher Snake Server Time
6 Aug 2024 23:28:20 EDT (-0400)
  Re: Update: Ouroborous Snake and Escher Snake  
From: St 
Date: 12 Feb 2007 22:34:04
Message: <45d131ac$1@news.povray.org>
"Jim Charter" <jrc### [at] msncom> wrote in message 
news:45d0cce9@news.povray.org...
> St. wrote:
>>     Ok, I think I've nailed this bump_mapping thingy.   ;)
>>
>>    It was the only route I could take after trying loads of stuff with 
>> the actual mesh.
>>
> Steve, I for got to ask and now I am wondering, what did you use to do the 
> UV mapping?
>
> Wings? ...or something else such as UVmapper?

      Hey Jim, yes, I used Wings. I did it in reverse to the norm(?) though, 
I mapped and unfolded the flat inside of the snake to give it the normal 
gold texture, and then applied the bump_map to the outer, scaly, skin. 
(Doing it this way, I saved a whole heap of time by not selecting a trillion 
faces!) :o)

 //Material definitions =====

 // flat inside of snake

#declare Cube7_sep8_auv=texture{

  pigment{ colour Pink}

finish{
      diffuse 0.3
      ambient  -.055
      specular 0.6
      phong 1
      reflection {
        0.8
        metallic
      }
      conserve_energy
    }}


// Snake skin

#declare Default=texture{ pigment{ colour Pink}

finish{
      diffuse 0.3
      ambient  -.055
      specular 0.6
      phong 1
      reflection {
        0.8
        metallic
      }
      conserve_energy
    }
  normal {
      bump_map {
         jpeg "snake_tex4.jpg"
         bump_size 1
         interpolate 2
        map_type 3
      }
      scale .47
      rotate <0, 40, 0>
   }
   finish {ambient  -.055 phong .5 }}


Post a reply to this message

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