POV-Ray : Newsgroups : povray.binaries.images : uv_mapping : Re: uv_mapping Server Time
17 Aug 2024 00:13:21 EDT (-0400)
  Re: uv_mapping  
From: Nathan Kopp
Date: 8 Dec 2001 16:09:53
Message: <3c1281a1@news.povray.org>
"Lutz Kretzschmar" <lut### [at] stmuccom> wrote...
> Hi Nathan Kopp, you recently wrote in povray.binaries.images:
>
> > "Lutz Kretzschmar" <lut### [at] stmuccom> wrote...
> > >
> > > The old system did not allow you to put different images on each face
> > > of the cube. The new one does.
> >
> > Now, that can't be true.
> Well, it was :-) Try it.
>
> > Each face mapped to a 1x1 square of texture space.  So the entire
> > texture space was 4x3 pov units.
> Yes, and then when reading the pixels from the imagemap it was read
> modulo 1, resulting in a repetition on all six faces.

So... you would simply just need to scale the image to 4x3.  Ever since
UV-POV, uv textures have worked in the z-plane of texture space, not image
space.  Texture space is infinite (well, within the limits of floating point
math)... it is not clipped to [0..1].  So, it would be perfectly fine to
scale your image map to 4x3 and then apply it as a uv-mapped texture.

-Nathan


Post a reply to this message

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