POV-Ray : Newsgroups : povray.binaries.images : Simple text with radiosity : Re: Simple text with radiosity Server Time
6 Aug 2024 23:28:32 EDT (-0400)
  Re: Simple text with radiosity  
From: Sebastian H 
Date: 11 Aug 2006 06:20:01
Message: <web.44dc595570ec24fc81dadfb80@news.povray.org>
The ground pattern for the radiosity text images.
It's made of two orthogonal gradient patterns which are
placed on the black and white fields of the checker patter
respectively.
With brighter colors with some more yellow in it it makes a nice
weaved paper or weaved wood pattern.
I sometimes use it as a replacement for the standard checker board.

The texture statement looks like this.

texture {
 pigment {
  checker
  pigment { gradient x
   color_map {
    [0.0 rgb 0][0.1 rgb 0.05]
    [0.1 rgb <1/2,1/2,1/2>][0.9 rgb <1/2,1/2,1/2>]
    [0.9 rgb 0][1.0 rgb 0.05]
   }
  }
  pigment { gradient z
   color_map {
    [0.0 rgb 0][0.1 rgb 0.05]
    [0.1 rgb <1/4,1/4,1/4>][0.9 rgb <1/4,1/4,1/4>]
    [0.9 rgb 0][1.0 rgb 0.05]
   }
  }
 }
 finish { ambient 0 diffuse 1 }
}

Sebastian


Post a reply to this message


Attachments:
Download 'ground_pattern.png' (5 KB)

Preview of image 'ground_pattern.png'
ground_pattern.png


 

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