Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: video texture maps

  1. #1
    Junior Member Newbie
    Join Date
    May 2001
    Posts
    14

    video texture maps

    I am mapping videotextures to opengl objects for a video compositing app. I need to use clips that are 720x486 in resolution but opengl only lets me do 512x512 or 1024x1024

    I can load a 720x486 image and scale it to 512x512 and then map it to a apect corrected palne but I loose reolution...

    How can I get around this?

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2001
    Posts
    10

    Re: video texture maps

    You can use textures of dimension 2^m x 2^n (must be a power of 2). The best thing to do is use a dimension closest to your image size. When specifying the texture coordinates, just crop to the image.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •