Help with face index buffer

Post questions about game models here, or help out others!
Post Reply
Vuze
ultra-n00b
Posts: 8
Joined: Fri Aug 10, 2018 9:33 pm
Has thanked: 6 times

Help with face index buffer

Post by Vuze » Thu Feb 14, 2019 10:27 am

Hi,

I'm currently working with 3D model data for the first time and have read a fair bit about the basics. I've managed to find the vertex buffer (which outputs fine using the 3D Model Researcher tool) and face index buffer. The latter seems to use Tristrip format. However, as seen below, it doesn't build 100% correct. I'm not exactly sure what to look out for here.

Image

I have uploaded the model here: https://www73.zippyshare.com/v/7ckhkTDg/file.html
Face dump: https://pastebin.com/hriLYdx3

As seen in the image:
Vertex buffer @ 0x142C, Count 604, Float
Face index buffer @ 0x50, Count 1104, Integer, Tristrip

Thank you for any help!

E: The solution was that the face index buffer was further separated into arrays. facecount followed by facecount * 4 in actual indices
Image

Post Reply