POV-Ray : Newsgroups : povray.binaries.images : Capriccio - stairs (73+135k) : Re: Capriccio - stairs (73+135k) Server Time
13 Aug 2024 13:22:22 EDT (-0400)
  Re: Capriccio - stairs (73+135k)  
From: Gena
Date: 8 May 2003 16:44:03
Message: <3EBAC193.936E4848@mail.com>
Jim Charter wrote:

> Never mind, I see now.

Just a clarification for the other people :) The texture should look
smth. like:

pigment {
    gradient -z
    color_map {
        [0 1 color rgb 0 color rgb 1]
    }
    scale ...
    translate ...
}
finish{ambient 1}

The main problem is  that scale... translate ... block. You have either
to know minimum and maximum Z coordinate of your object or just
play with it.

Gena.


Post a reply to this message

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