modelsarequitenice wrote:May I ask how you found the vertices start address for this one
After you have the face indices blocks, you get the vertex count. assumed vertex start address: face_indices_startaddress - vertexcount x FVFsize,
is about 0x297F, then some trial and error and you're done.
In your hex2obj tut is shows how to calculate for seq, or is it the same for vb?
'seq' is obsolete; you can use 'vb' for any format; if it's sequential with floats use 'vb' with a FVFsize of 12.
And how come the bottom part of step 2 is greyed out for you?
Should be greyed out for UVpos!=99.
If it's equal to 99 uvs are assumed to be in a separate block (with uv start address and size UVB).
There's a small bug with unfinished 0.24e though; toggle 'VB' button to "ungrey" the mentioned editbox.
And finally, in files where there are multiple models inside - (I believe that one has multiple models but you only extracted one part
I always do one submesh only, leaving the rest to the customers.
You should write code to get multiple submeshes (see my Make_obj project with C source).
is there a way with hex2obj to extract the other parts
Wouldn't know why not; but too busy atm. Simply do binary a search for 000001000200, it's contained 31 times.
otherSubmesh.jpg
and maintain the correct scale.
dunno what the correct scale is; I usually adjust it manually in blender.