|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm using a gradient pattern for one of my scenes. How do I make it so
that it doesn't repeat, and instead stays at the last value? Thanks!
Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/18/2016 9:56 PM, Mike Horvath wrote:
> I'm using a gradient pattern for one of my scenes. How do I make it so
> that it doesn't repeat, and instead stays at the last value? Thanks!
I would union two objects such that the value of the "outer" object is 1.0;
0 .3 .6 1
|----+----+----|
|-----------------|
1 1
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> I'm using a gradient pattern for one of my scenes. How do I make it so
> that it doesn't repeat, and instead stays at the last value? Thanks!
>
>
> Mike
Not quite sure what you're asking here, but if I understand correctly, you might
try:
create two pigment functions, one with your gradient and the other solid with
the value of the last pigment in the gradient, then
create another function that selects between the two based on a numeric value.
I think you should be able to do this with the select() function, but you'll
have to look it up.
Regards,
A.D.B.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Horvath <mik### [at] gmailcom> wrote:
> I'm using a gradient pattern for one of my scenes. How do I make it so
> that it doesn't repeat, and instead stays at the last value? Thanks!
You could use a planar pattern instead:
http://www.povray.org/documentation/3.7.0/r3_4.html#r3_4_7_1_20
Bill
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 1/19/2016 3:18 AM, Bill Pragnell wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>> I'm using a gradient pattern for one of my scenes. How do I make it so
>> that it doesn't repeat, and instead stays at the last value? Thanks!
>
> You could use a planar pattern instead:
>
> http://www.povray.org/documentation/3.7.0/r3_4.html#r3_4_7_1_20
>
> Bill
>
>
Unfortunately, my scene is not flat. But now that you mention it, I
should really be using a spherical pattern for the ChromaDepth pattern,
not a gradient. Thank you!
Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 19.01.2016 um 03:56 schrieb Mike Horvath:
> I'm using a gradient pattern for one of my scenes. How do I make it so
> that it doesn't repeat, and instead stays at the last value? Thanks!
Maybe use the "planar" pigment instead?
As a last resort, you can always use a function pattern.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |