Results 1 to 2 of 2

Thread: Square Texture over a Circle

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Location
    Bangalore
    Posts
    2

    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
    Arun

  2. #2

    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:

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

Similar Threads

  1. My lines and circle strokes are a little thick... why?
    By Alex Vincent in forum Developers Coding:Beginner
    Replies: 1
    Last Post: 08-01-2011, 09:52 PM
  2. Drawing a Square vs Loading a Square
    By krammark23 in forum OpenGL ES 1.X - fixed function hardware
    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
  •