POV-Ray : Newsgroups : povray.newusers : Image maps : Re: Image maps Server Time
29 Jul 2024 02:32:58 EDT (-0400)
  Re: Image maps  
From: Chris B
Date: 15 Dec 2006 05:58:10
Message: <45827fc2@news.povray.org>
"David Instone" <d.i### [at] gmailcom> wrote in message 
news:45827229@news.povray.org...
>
> You hit the nail right on the head with that one
> and it has been annoying me for too long. I did have to play with it a bit
> to get it right though. Instead of your version I ended up with this.
>
> pigment{image_map {sys "Test.bmp"} scale 4 rotate x*90 translate 
> <-2,0,-2>}
>
> I found that if you translate before you rotate you end up with two half
> images tiled verticaly. Does that sound feasible or am I making it up as I
> go along?
>

Hi David,

Ah yes, of course you're perfectly correct. If you translate it first the 
translation in the Z direction has no effect, because it's just effectively 
pushing the image into itself.

So you could translate <-2,-2,0> and then rotate x*90, but I think that 
doing the rotate first, as you've done it, is clearer.

Regards,
Chris B.


Post a reply to this message

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