POV-Ray : Newsgroups : povray.pov4.discussion.general : Feature request: "resolution" keyword for gradients and maps : Re: Feature request: "resolution" keyword for gradients and maps Server Time
8 May 2024 13:12:05 EDT (-0400)
  Re: Feature request: "resolution" keyword for gradients and maps  
From: Warp
Date: 22 Jun 2008 15:24:19
Message: <485ea6e2@news.povray.org>
SharkD <nomail@nomail> wrote:
> I would like to request the addition of a "resolution" keyword for gradients and
> maps. This keyword would be used to create steps in a gradient so that one
> doesn't necessarily have to interpolate it smoothly.

  This can already be done by putting your pattern in a function, and
then creating a second function which calls that function and returns
the value stepped in the way you want (by appropriately using
multiplication, int() and division).

-- 
                                                          - Warp


Post a reply to this message

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