Results 1 to 3 of 3

Thread: Usage of glMultiTexCoord with OpenGL ES

  1. #1
    Junior Member
    Join Date
    Mar 2006
    Location
    Villingen-Schwenningen, Germany
    Posts
    11

    Usage of glMultiTexCoord with OpenGL ES

    Hi,

    I am wondering how to use glMultiTexCoord with OpenGL ES?! As far as I know, it is possible to do multitexturing without the above function. But for what reason does the above function exist? Normally, using this function, it is possible to pass a texture coordinate per vertex. But this does make no sense as the vertices are always passed in a list in OpenGL ES. So in my opinion this function is obsolete.

    Can someone clarify and help?!

    Thanks, Norbert

  2. #2
    Junior Member
    Join Date
    Mar 2006
    Location
    Villingen-Schwenningen, Germany
    Posts
    11

    One possible solution

    Hi,

    okay, I see one usage for it:
    Using glMultiTexCoord, the texture coordinates for the vertices are all set the same. This would result in using a specific pixel of the texture and draw the triangle/face with the same color of this pixel.

    Norbert

  3. #3
    Senior Member
    Join Date
    May 2006
    Posts
    353
    Yes, the reason glMultiTexCoord, glColor and glNormal are still included is to set per-primitive vertex attributes (like glVertexAttrib in OpenGL ES 2.0).
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

Similar Threads

  1. glDrawElements usage
    By hukka in forum OpenGL ES general technical discussions
    Replies: 2
    Last Post: 05-14-2009, 03:51 AM
  2. Using glMultiTexCoord for texture atlases..
    By youdonotexist in forum OpenGL ES 1.X - fixed function hardware
    Replies: 1
    Last Post: 10-24-2008, 02:19 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
  •