POV-Ray : Newsgroups : povray.binaries.images : Blasted infernal image maps II : Re: Blasted infernal image maps II Server Time
2 Oct 2024 20:25:04 EDT (-0400)
  Re: Blasted infernal image maps II  
From: Sigmund Kyrre Aas
Date: 27 Mar 2000 15:49:02
Message: <38DFC932.EA41E1AD@stud.ntnu.no>
"Greg M. Johnson" wrote:
> 
> Sigmund Kyrre Aas wrote:
> 
> > You don't compensate for aspect ratio:
> >
> > > box{<0,0,0>,<1,1,0.001>
> 
> As I said, none of the following first lines give a sensible solution:
> 
> box{<0,0,0>,<1,            1,              0.001>
> box{<0,0,0>,<1,            689/126,   0.001>
> box{<0,0,0>,<126/689, 1,              0.001>

Eh. Did you try the changes I made? It should work. According to the manual all
images are mapped from <0,0,0> to <1,1,0>, regardless of the shape mapped onto.
Scaling must come after that, scaling both the object and the image map.


Post a reply to this message

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