Data representation

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
theclub456
Posts: 10
Joined: Tue Jan 27, 2015 11:32 pm

Data representation

Post by theclub456 »

how would i know what a byte or data period in a file represent to the game like for example if i found the vertex array in the file how would i know that that line or byte would be the vertex array and if you could tell me more tips on finding vertex and uv arrays that would be helpful too
TGE
Posts: 38
Joined: Sat Dec 20, 2014 5:14 pm

Re: Data representation

Post by TGE »

It's usually not hard to tell just by looking at the data, really. If you've got a big block of floats then you've got a buffer or if you've got a big block of 'messy' looking data it could also be a buffer (shorts instead of floats)