Results 1 to 4 of 4

Thread: Texture mapping problem

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jun 2010
    Posts
    162

    Texture mapping problem

    I have drawn a plane with a texture mapped on it. Now when I deform the plane, the texture deforms. Please ignore my poor knowledge.I just want to know, do the texture coordinates automatically map to deformed vertices or I need to do manipulation in texture coordinates to get better output? Thanks in advance.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Karachi, Pakistan
    Posts
    810

    Re: Texture mapping problem

    Once you have assigned the texture coordinates to a vertex unless you assign a new value to it, they retain their old value. If you polygon is deforming, naturally the image on it would deform along with it.
    What do u mean by getting better output? The output will be dictated by the filtering settings of ur texture and the resolution of the image you are using as texture.
    Regards,
    Mobeen

  3. #3
    V-man
    Guest

    Re: Texture mapping problem

    maybe he is talking about this
    http://xyzw.us/~cass/qcoord/

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jun 2010
    Posts
    162

    Re: Texture mapping problem

    Actually I wanted to know the way I am doing texture mapping, is it the proper way or there is a better way of texture mapping when deformation takes place. Resolution of the textured image is quite ok.

Similar Threads

  1. Replies: 1
    Last Post: 01-10-2005, 09:50 AM
  2. Replies: 0
    Last Post: 01-09-2005, 06:01 PM
  3. Replies: 0
    Last Post: 01-09-2005, 05:53 PM
  4. Replies: 1
    Last Post: 01-09-2005, 05:50 PM
  5. Texture mapping problem
    By occamrzr in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 01-15-2001, 01:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean