Skip to main content
GameDev.net gamedev.net
🔒 Locked

ASE loader

Started by rubberkidney Mar 4, 2003 at 9:19 PM 1 replies 400+ views
Original Post
rubberkidney
rubberkidney
Im writing an ASE loader, and it works fine...until i try to read in texture coordinates..the first problem i see is that there are more texture coordinates than there are vertices...i dont know how that works but if someone has some advice it would be helpful. Thanks : )
Kuladus
Kuladus
if u think about it, the texture coordinates are directly related to the faces, not to the vertices. so u would require 3 tverts for each triangle. NOT 1 tvert for each vert. so number of faces x 3 == number of uv coords.
rubberkidney
rubberkidney
I thought about that, but I''m using a vertex buffer, so this means I would have to dramatically increase the number of vertices in the buffer...I would like to avoid that if at all possible. Thanks for the idea though : ) any other ideas?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.