Results 1 to 2 of 2

Thread: Texture Stretching

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2005
    Posts
    12

    Texture Stretching

    Hi, I am trying to project a scene on a curved screen.. Currently I capture scene from the framebuffer and save it in a texture in the first pass of the render loop and in the second pass of the render loop apply the texture to a curved surface which is made of triangle strips. The problem is, the texture image is getting stretched particularly on the corners. The dimensions of the texture are same as that of framebuffer, however the aspect ratio are different. i.e the projection screen is a wide screen 16:9 while the scene image is captured at 4:3. Can someone please help me figure out the solution to this problem?
    Thanks
    Abhijit

  2. #2
    V-man
    Guest

    Re: Texture Stretching

    Power of 2 or non power of 2 texture?
    ARB_rectangle?

    If you use gluBuildMipmaps, it will stretch or shrink to make a power of 2.

Similar Threads

  1. Texture Repeating Instead of Stretching
    By LunaLux in forum OpenGL: Basic Coding
    Replies: 11
    Last Post: 01-27-2014, 09:25 AM
  2. stretching a texture with mouse
    By Giancarlo in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-30-2010, 03:25 PM
  3. stretching image for power-of-two texture
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-17-2005, 07:47 AM
  4. texture stretching
    By Old GLman in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-26-2002, 11:32 AM
  5. Texture stretching question
    By Ace_Man in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-31-2000, 02:19 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