POV-Ray : Newsgroups : povray.advanced-users : uv_mapping & image_map on mesh/mesh2 help : uv_mapping & image_map on mesh/mesh2 help Server Time
8 Jul 2024 19:51:27 EDT (-0400)
  uv_mapping & image_map on mesh/mesh2 help  
From: Woody
Date: 13 Aug 2007 22:40:00
Message: <web.46c114e5fb0011dde3b389310@news.povray.org>
I was wondering if someone could help me. I am trying to apply a image_map
with uv_mapping to a mesh or mesh2 object (take your pick, pics and text
available for both).

My question is regarding how I get the image to look like it is glued onto a
surface and then the surface is distorted rather than lookling like two
triangles glued together as in the file below? Is there anyway to do this
without decomposing this into baby meshes (by baby mesh I mean mapping the
same image to say a mesh to say 4rows x 4columns with 32 triangles total
instead of one a 1row x 1col mesh w only 2 triangles)? Is there some syntax
to correct for this?


The source is at
http://www.geocities.com/jeffwood581981/mesh.txt
http://www.geocities.com/jeffwood581981/mesh2.txt

The rendered pics are at
http://www.geocities.com/jeffwood581981/mesh.bmp
http://www.geocities.com/jeffwood581981/mesh2.bmp
http://www.geocities.com/jeffwood581981/uvmap.bmp

If it helps the pictue located at
http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/Perspective_correct_texture_mapping.jpg/400px-Perspective_corr
ect_texture_mapping.jpg
seems to address this problem.

The center pic seems to match my files above. I'm trying to achieve the
effect on the right.


Post a reply to this message

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