At the moment I'm sometimes aligning to 8 and sometimes to 16 bytes, not sure whats up with that..
I made some progress with the bones, although at the moment it only works a few models and even on these it's still not perfect:
(As you can see, for some reason the leg influences the hair, but...
Yeah, it starts at 0x800, I kinda got it mixed up there..
I'd love to release the code but currently it's a huge mess, since I started writing that thing without really knowing much about the format, so a lot of trash piled up over time.. Once I figure out how the bones work I'll probably rework...
I don't think so, I didn't quiet follow what the maxscript did, I never got it to work either.
If you look at position 0x801 in the file shaundi.ccmesh_pc you'll find a list of 28*4 dwords, each of these 28 entries represent parts of the model and their LOD's. One of the values is the starting...
I looked at the model format over the last few days, I already got some stuff working, including UV-coords and Normals (For those interested, the normals are stored in the 3 bytes after the position floats, so only 1 byte for each axis)
Obligatory screenshot: (Textures don't get loaded yet...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.