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?

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.