POV-Ray : Newsgroups : povray.unofficial.patches : HELP! layered patterns : Re: HELP! layered patterns Server Time
1 Sep 2024 14:27:30 EDT (-0400)
  Re: HELP! layered patterns  
From: Christoph Hormann
Date: 18 Mar 2001 04:42:04
Message: <3AB482EE.1F67A724@gmx.de>
Ryan Constantine wrote:
> 
> thanks for the tip.  i'm a little short on time lately, so would you
> mind posting an example of what you mean?  i have finals all next week
> that i'm studying for, and when i take breaks i pov.  thanks again.  i'd
> appreciate it.
> 

A simple example:

use 

    texture { 
      pigment {
        gradient y
        pigment_map {
          [ 0.5 color rgb <0.0, 0.5, 0.0> ]
          [ 0.6 gradient x color_map { [0.3 rgb x][0.7 rgb z] } ]
        }  
      }
    } 

instead of
      
    texture {
      pigment {
        gradient x
        color_map {
          [0.3 rgb x]
          [0.7 rgb z]
        }
      }
    }       
    texture {
      pigment {
        gradient y
        color_map {
          [0.5 color rgb <0.0, 0.5, 0.0> ]
          [0.6 color rgbt 1 ]
        }
      }
    } 


Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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