POV-Ray : Newsgroups : povray.newusers : map a prism onto a sphere : Re: map a prism onto a sphere Server Time: 6 Jul 2008 07:51:19 GMT
  Re: map a prism onto a sphere  
From: Tim Attwood
Date: 8 Mar 2008 00:49:47
Note that in your case you could also just use
a uv mapped pigment with clear areas, since
the height of what you are describing is very
thin anyways.

#declare decal = texture {
   pigment {
      uv_mapping
      object {
         text {ttf "timrom.ttf" "Sample Text" 2,0
            scale <0.2,0.2,1>
            translate <0,0.4,-1>
         }
         Clear
         Red
      }
   }
};

sphere {<0,0,0>,1
  texture {decal}
}


Post a reply to this message

Copyright 1991-2004 POV-Team™