Jump to content
  • Advertisement

Archived

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

Mihail121

Serious Problem

This topic is 5850 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
Advertisement
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

~Main

==
Colt "MainRoach" McAnlis
Programmer
www.badheat.com/sinewave

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!