Results 1 to 3 of 3

Thread: Texture mapping on warped mesh

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    Heidelberg, Germany
    Posts
    5

    Texture mapping on warped mesh

    Hi,
    I want to map a rectangular texture to a warped mesh.
    Imagine the warped mesh as part of the surface of a sphere and the the texture as a "rubber sheet" (rectangular).
    Now I want to stretch this sheet to make it fit on the spherical surface.

    This is all about the distortion of the texture. By mapping the texture to the warped mesh I want to achieve a fisheye-effect.

    I´ve read other posts about image warping, but none of them really deals with the problem of how to create this warped mesh. I´ve also gone through tutorials about texture mapping, but they only tell you things like mapping bitmaps to the sides of a cube.

    I hope you can help me out.
    Example code would be very useful.

    Thanks in advance
    ...philipp

    P.S. This is where I got the whole idea with the warped mesh from, so this has to be possible in some way:
    Image Warping and Dewarping

  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: Texture mapping on warped mesh

    Please do not crosspost.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    Heidelberg, Germany
    Posts
    5

    Re: Texture mapping on warped mesh

    I wouldn´t have to, if someone would help me with my questions.

Similar Threads

  1. Texture mapping in a mesh
    By Aravind S in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-24-2016, 01:03 AM
  2. Triangular Mesh Texture Mapping
    By jiapei100 in forum OpenGL ES
    Replies: 0
    Last Post: 08-11-2009, 02:52 AM
  3. Texture mapping on warped mesh
    By Philipp in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 08-10-2005, 05:13 AM
  4. Texture Mapping on irregular mesh
    By mphanke in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 03-31-2002, 01:46 AM
  5. Mesh and Texture Mapping
    By Wei in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-25-2001, 06:22 AM

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