I learned a method from the internet . 1. For a 320x480 image, copy it into a 512x512 texture and adjusting the vertices; 2. Create a 512x512 sized object and use the 512x512 texture, positioning it appropriately.
Will it be OK? Any good ideas? Reference: - http://stackoverflow.com/questions/496599?sort=newest - http://forums.macrumors.com/archive/index.php/t-568301.html Peng LIU ________________________________ From: Peng Liu <[email protected]> To: [email protected] Cc: [email protected] Sent: Thursday, February 5, 2009 5:54:36 PM Subject: [clutter] A Question about texture image Hi. I am an OpenGL newbie and have a question about texture image. As I known, Open GL ES requires the use of "power of 2" sized images. It seems that clutter can use any sized images as texture. How do you implement that ? Resize the image when loading it from a file? or other method? Thanks a lot. Peng LIU
