POV-Ray : Newsgroups : povray.newusers : map a prism onto a sphere : Re: map a prism onto a sphere Server Time
28 Jul 2024 18:25:50 EDT (-0400)
  Re: map a prism onto a sphere  
From: Tim Attwood
Date: 7 Mar 2008 19:49:47
Message: <47d1e2ab$1@news.povray.org>
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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.