Square Texture over a Circle

Hi,

I am developing an application using “Opengl ES 2.0”
I am trying to texture mapping a square image over a Circular Object. (for eg. Clock-Dial image on a circle)
It is like mapping only a particular circular region of the image to the object. so that the texture won’t get distorted.

Please let me know how can I do this mapping ?

Regards,
Arun AC

You should look into GLSL or the shaders from some existing GLES2 tutorials/demos, since you’ll need to write shaders to do this in gles2.

The imagination SDK has some good tutorials/demos:

http://www.imgtec.com/powervr/insider/powervr-sdk.asp

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