Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Serious Problem

This topic is 5935 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all you fellow programmers.I have the following problem.I am using glDrawElements to draw the mesh information of may ASE file but the indices are only for the vertices.But the ASE also provide indices for the texcoords/colors/normals.How can i provide the texture coord indices to OpenGL using the OpenGL array commands(glDrawElements,glEnableClientState,glSomethingPointer.Maybe extensions? 10x a lot! The pain is coming...this sommer!!!

Share this post

Link to post
Share on other sites
Maybe i didn''t understand your question fully, but here''s what it sounds like you want to do.
Firstly, you can try to just parse the data, per-vertex, and pass as you render (glNormal, glTexCoord, etc)
OR you could create display lists, and load your indicie data straight, and then just use a display list specific call. They support that type of indicie structure


Colt "MainRoach" McAnlis

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!