Halo: Combat Evolved Anniversary vertex question
Posted: Wed Mar 18, 2015 11:16 pm
Iv'e been having a problem trying to figure out how to draw the vertices from this game. I've singled out the count and size of the vertices but the individual vertices aren't stored in the conventional way of three floats but rather what looks like three shorts and an unknown short at the end. Now my problem is that when I do draw them they come out warped and I have to manually edit them so they come out somewhat normal but that varies for each direction, like in this case z and x are too large. Also when I skip the 1st byte and read the shorts in big endian the model comes out the same. Not something that I expected since all of the file before the buffer was little endian and I'm sure should't be applicable.
I believe each vertex influences the next and the last short is also used in this buffer for positional information, but I'm sure that that's not the case since I'm still very fuzzy in the subject. If anyone is willing to help, the vertex buffer offset for the linked model starts at 0x57d1, size is 8 bytes, and the count, if I'm not mistaken, is 5738.
Help would very much be appreciated.

I believe each vertex influences the next and the last short is also used in this buffer for positional information, but I'm sure that that's not the case since I'm still very fuzzy in the subject. If anyone is willing to help, the vertex buffer offset for the linked model starts at 0x57d1, size is 8 bytes, and the count, if I'm not mistaken, is 5738.
Help would very much be appreciated.
