POV-Ray : Newsgroups : povray.general : Transforming an image_pattern{} : Re: Transforming an image_pattern{} Server Time
18 Apr 2024 22:02:21 EDT (-0400)
  Re: Transforming an image_pattern{}  
From: Thomas de Groot
Date: 31 May 2018 06:57:44
Message: <5b0fd528$1@news.povray.org>
On 31-5-2018 10:52, Kenneth wrote:
> clipka <ano### [at] anonymousorg> wrote:
> 
>>
>> To the best of my knowledge, there is effectively no difference between
>> the two constructs. I would consider the latter more intuitive though...
> 
> Yeah, I eventually came to the same conclusion (and the two rendered results do
> look identical; I don't see any difference at all.) The thing that seemed wierd
> to me was placing *inverse* transforms before the 'regular' transform, in the
> overall code. That looked... backwards (only from a 'linear-programming'
> perspective-- or maybe just aesthetically!) But I was thinking in too 'linear' a
> way ;-)
> 
> To answer Thomas's comment: The image_pattern construct seems to be a special
> kind of 'thing' in POV-Ray-- composed of two *almost*-distinct parts (the
> image_pattern part, and the texture_map part.) That's how I see it, anyway. Yet,
> the fact that the main transform{} CAN go in either place-- and with the same
> result-- is rather strange and interesting.
> 

I have learned something new then. I thought putting the transforms 
/before/ the texture would /not/ affect the latter. Seems I am wrong in 
this.

Hmm.... I have to reconsider some of my code then....

-- 
Thomas


Post a reply to this message

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