POV-Ray : Newsgroups : povray.general : Bumps with UV mapping : Re: Bumps with UV mapping Server Time
5 Aug 2024 02:18:10 EDT (-0400)
  Re: Bumps with UV mapping  
From: Tony LaVigne
Date: 20 Dec 2002 22:20:03
Message: <web.3e03dc6e93fe96fe88d4e3910@news.povray.org>
The code below helps to simulate my problem.   The 1st (right) sphere is
without bumps, the 2nd (left) does.

light_source {<0, 2, -3>,rgb <1,1,1> }
background { color rgb <1,1,1> }
light_source { <10, 100, -100> rgb <1,1,1> }
camera {  location <.25, .25, -5>  look_at  <.25, .25,  0>   }

sphere {<2, 1, 2>, 2  //right sphere
texture {   uv_mapping   pigment { color rgb <1,1,0> }     normal { bumps
0.4 scale 0.2 }}  }

sphere {<-2, 1, 2>, 2  //left sphere
texture { /*uv_mapping*/   pigment { color rgb <1,1,0> } normal { bumps 0.4
scale 0.2 }}  }


Post a reply to this message

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