POV-Ray : Newsgroups : povray.newusers : can't i rotate a pigment? : Re: can't i rotate a pigment? Server Time
28 Apr 2024 20:50:38 EDT (-0400)
  Re: can't i rotate a pigment?  
From: Thomas de Groot
Date: 8 May 2015 03:27:21
Message: <554c6559$1@news.povray.org>
On 8-5-2015 9:17, Anton Sherwood wrote:
> On 2015-5-07 23:58, Thomas de Groot wrote:
>> No surprise: You rotate /the object/ a certain value around the y-axis,
>> apply the pigment, rotate the object back the same value. You have not
>> rotated /the pigment/ itself.
>
> Why not?  Generally
>
>      object { ...
>          texture { foo }
>          translate ...
>          }
>
> is not the same as
>
>      object { ...
>          translate ...
>          texture { foo }
>          }
>

Hmm yes. I stand corrected for that one :-)

>> However, if the pigment is a slope pattern (along y-axis I suppose)
>> I do not expect much to happen if you rotate it around the y-axis
>> in any case.
>
> Not even if it's built of slopes along, say, some other vector(s)?
>

You are tickling the limits of my knowledge ;-)  Slope is a difficult 
pattern to use in my experience and I always need a lot of 
experimentation to get it right.

I shall need to make a test scene to see what happens. Back soon.

-- 
Thomas


Post a reply to this message

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