POV-Ray : Newsgroups : povray.general : Feature request: marble pattern : Feature request: marble pattern Server Time
3 Aug 2024 06:13:08 EDT (-0400)
  Feature request: marble pattern  
From: Sebastian H 
Date: 21 Apr 2004 05:55:17
Message: <40864505@news.povray.org>
How about giving the marble pattern a vector argument like the gradient 
has it?
It is very usefull for things like

box {
	0, 1
	pigment {
		gradient y
		color_map {
			[0.0 Black]
			[1.0 Orange]
		}
	}
}

As you know the top and bottom of the box gets wrinkled with
Orange/Black Pixels if you don't scale and translate the gradient a bit.
This does not happen with

box {
	0, 1
	pigment {
		marble
		color_map {
			[0.0 Black]
			[1.0 Orange]
		}
		rotate 90*z
		scale 2
	}
}

This makes sure the top of the box is Orange and the bottom is Black and
no just near to it as it happens with a scale/translated gradient.

With giving the marble pattern a vector argument one could remove
the rotation. What do you think?

Regards,
Sebastian H.


Post a reply to this message

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