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 08:39:43 EDT (-0400)
  Re: Feature request: "resolution" keyword for gradients and maps  
From: SharkD
Date: 22 Jun 2008 17:40:02
Message: <web.485ec6a79d0a8abb23ce54f40@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> 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

Could you please post an example? Especially about the function referencing
another function part. Functions and related objects are confusing to me.

-Mike


Post a reply to this message

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