Results 1 to 2 of 2

Thread: Square Texture over a Circle

  1. #1
    Junior Member
    Join Date
    Feb 2005

    Square Texture over a Circle


    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 ?

    Arun AC

  2. #2
    Senior Member
    Join Date
    May 2008

    Re: Square Texture over a Circle

    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:

Similar Threads

  1. Drawing a Square vs Loading a Square
    By krammark23 in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 11-04-2008, 10:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean