Results 1 to 4 of 4

Thread: glVertex & glTexCoord

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Posts
    26

    glVertex & glTexCoord

    I cannot find the function declarations for "glVertex & glTexCoord" in the gl.h header file by Vincent.

    Is there one atall or is there any other way to do it ?

    Thanks!

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: glVertex & glTexCoord

    True, those calls don't exist in OpenGL ES.

    For tex coords, use glMultiTexCoord instead.

    For vertex: The only way to render is using arrays (there is no glBegin/glEnd). Since glVertex is to trigger the state engine in a glBegin/glEnd, it's not needed either.


    Hope that helps.

    - HM

  3. #3
    Junior Member
    Join Date
    Jul 2004
    Posts
    26

    Re: glVertex & glTexCoord

    Also to read input from files (ex:- texture images) where should these image files be stored ?

  4. #4
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: glVertex & glTexCoord

    Whatever works for you. The car demo example uses standard Windows Mobile API to read the image from the on-device file system.

    You could equally create your own archive type, or use something like libzip to store the media assets.

    - HM

Similar Threads

  1. Replies: 2
    Last Post: 07-30-2009, 06:44 PM
  2. Multitexturing && Texture With Alpha Channel problem....
    By Rubbio in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 04-20-2009, 06:51 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
  •