POV-Ray : Newsgroups : povray.beta-test : Gradient: Suggested addition for the Docs / VFAQ Server Time
31 Jul 2024 10:27:32 EDT (-0400)
  Gradient: Suggested addition for the Docs / VFAQ (Message 1 to 2 of 2)  
From: Rune
Subject: Gradient: Suggested addition for the Docs / VFAQ
Date: 6 Sep 2001 07:37:54
Message: <3b976012@news.povray.org>
I think it would be nice if it was mentioned in the VFAQ and perhaps also in
the docs in the gradient pattern section how to get the old style gradient.

In section "6.7.11.17  Gradient" the docs state this:

"[1] If only the range -1 to 1 was used of the old gradient, for example in
a sky_sphere, it can be replaced by the planar or marble pattern and revert
the color_map. Also rotate the pattern for other orientations than y."

These solutions are specific and do not always work for the task at hand. I
suggest to either replace it or expand it with the text below:

"You can get the old style gradient by replacing the pattern

gradient x

with the pattern

function{abs(x)}

and similar for gradient y and gradient z."

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: ingo
Subject: Re: Gradient: Suggested addition for the Docs / VFAQ
Date: 6 Sep 2001 07:52:15
Message: <Xns91148D1AD6B76seed7@povray.org>
in news:3b976012@news.povray.org Rune wrote:

> "You can get the old style gradient by replacing the pattern
> gradient x
> with the pattern
> function{abs(x)}
> and similar for gradient y and gradient z."

Thanks Rune, I'll add that,


Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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