POV-Ray : Newsgroups : povray.binaries.images : Spraypaint macro progress : Re: Spraypaint macro progress Server Time
30 Jul 2024 04:19:38 EDT (-0400)
  Re: Spraypaint macro progress  
From: Christian Froeschlin
Date: 12 Oct 2012 16:36:08
Message: <50787f38$1@news.povray.org>
Tek wrote:

> Obviously this is far less realistic, but it's very quick to trace.

you can also use object pattern with two textures, this allows
for a more sprinkled interior without destroying the outline

#declare T1 = texture {pigment {color White}}
#declare T2 = texture
{
   pigment
   {
     bozo scale 0.1
     color_map
     {
       [0.3 White]
       [0.7 rgb <1,0,1>]
     }
   }
}

texture
{
   object
   {
     ...
     texture {T1}
     texture {T2}
   }
}


Post a reply to this message

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