POV-Ray : Newsgroups : povray.binaries.images : UV Mapping Issues Server Time
14 Nov 2024 18:21:13 EST (-0500)
  UV Mapping Issues (Message 1 to 2 of 2)  
From: Merrin Cullen
Subject: UV Mapping Issues
Date: 12 Jul 2006 09:06:12
Message: <44b4f3c4$1@news.povray.org>
Let me preface this by saying that I am a complete novice to UV coordinates
and UV mapping. This is my first attempt and it is painfully obvious that I
have no clue what I am doing..

I have created a sail using the mech sim feature of MegaPOV 1.1 and am
trying to set it up so that I can use a UV mapped image as the texture. My
problem is that when I apply the image, it does not properly "lay" on the
sail. I am missing something and I can not figure it out. I created the UV
mapping image using the proper coordinates for each corner of the sail with
0,0 being at the lower right hand corner of the image.

Attached are the UV map image as well as an image of the sail with the UV
map image applied. I am also inserting the code I used below. Can anybody
point me int he right direction? What am I not understanding?

Tim

object{
    MechSim_Show_Patch(0, 84, 84, true, true, -1, "SpankerMesh")

    uv_mapping

    texture {
        pigment{
            image_map {sys "Spanker_UV_Test_3.bmp"}
            rotate<0,0,-90>
            rotate<0,0,0>
        }

        finish { specular 0.05 }
    }

    rotate<0,0,0>
}


Post a reply to this message


Attachments:
Download 'SpankerTest3.jpg' (16 KB) Download 'Spanker_UV_Test_3.jpg' (54 KB)

Preview of image 'SpankerTest3.jpg'
SpankerTest3.jpg

Preview of image 'Spanker_UV_Test_3.jpg'
Spanker_UV_Test_3.jpg


 

From: Merrin Cullen
Subject: Re: UV Mapping Issues
Date: 12 Jul 2006 09:38:17
Message: <44b4fb49@news.povray.org>
OK, I think I just figured part of my problem out while looking at the
images. UV Mapping assigns each corner of the image to the corner of the
mesh 2 object ( I know this is an over simplification as the image is mapped
to the UV coordinates of the entire mesh object). How do I associate
coordinates in the mesh image with those of the object?

Tim


Post a reply to this message

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