POV-Ray : Newsgroups : povray.general : Feature request: marble pattern Server Time
2 Nov 2024 09:19:03 EDT (-0400)
  Feature request: marble pattern (Message 1 to 3 of 3)  
From: Sebastian H 
Subject: Feature request: marble pattern
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

From: Christoph Hormann
Subject: Re: Feature request: marble pattern
Date: 21 Apr 2004 09:55:01
Message: <c65u8c$62k$1@chho.imagico.de>
Sebastian H. wrote:
> How about giving the marble pattern a vector argument like the gradient 
> has it?
> [...]

The marble pattern is nothing more than a gradient y with triangle_wave. 
  I don't think there is any need for such a new feature, especially 
considering you can even design any other variation with a function 
pattern quite easily.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Sebastian H 
Subject: Re: Feature request: marble pattern
Date: 21 Apr 2004 17:42:44
Message: <4086ead4@news.povray.org>
Christoph Hormann wrote:
> Sebastian H. wrote:
> 
>> How about giving the marble pattern a vector argument like the 
>> gradient has it?
>> [...]
> 
> 
> The marble pattern is nothing more than a gradient y with triangle_wave. 
>  I don't think there is any need for such a new feature, especially 
> considering you can even design any other variation with a function 
> pattern quite easily.

I think the point is not that it is mathematical trivial but rather a 
question of usability. However...

Thank you for your reply.

Sebastian H.


Post a reply to this message

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