POV-Ray : Newsgroups : povray.general : UV Mapping and Meshes : Re: UV Mapping and Meshes Server Time
9 Aug 2024 11:30:26 EDT (-0400)
  Re: UV Mapping and Meshes  
From: Warp
Date: 21 Jul 2000 04:47:43
Message: <39780e2e@news.povray.org>
Gilles Tran <tra### [at] inapginrafr> wrote:
:> Do the UV coordinates range from <0,0> to <1,1> like they do in OpenGL?

: AFAIK yes (but I could be wrong).

  I think that those coordinates just take the texture at the same
x-y-coordinates. So <0,0> takes the texture at <0,0,0> and <1,1> takes the
texture at <1,1,0>. I think you can also go further, so that <10,20> takes
the texture at <10,20,0>.
  If you are using an image map as texture, it will (by default) range from
<0,0,0> to <1,1,0>, so in UV-coordinates from <0,0> to <1,1>.
  So the answer is yes and no.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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