I want to render a splash screen on the iPhone whilst using an Open GL view. The iPhone screen as we know is 320×480, which is not a power of 2.
Before I enter into the world of chopping the texture up and rendering sub parts, or embedding the screen on another texture page I was wondering if there was another way?
Is it possible to overlay another view that I could render to using CoreGraphics functions? Or is it possible to render to a Open GL surface using Core Graphics functions.
What would you recommend?
Cheers
Rich
Its entirely possible to write some code, which creates a 512×512 texture, load an image into it and then render only a portion of that texture (by mapping onto a polygon and altering the texture mapping UV co-ordinates).
This method is best for static images only, you couldn’t really perform pixel-by-pixel real-time updates for this; updating the texture via open GL ES is currently too slow.