Help needed figuring out the X3D Files from the Precure 3DS games.
Posted: Tue Apr 23, 2019 11:32 pm
Hi Guys,
I've spent roughly the last two weeks, to figure out, how this Format works. During this time, I managed to find the Vertex, Face and UVs in a reproduceable manner -> Vertices start in the SMDL block as a block of 64 Bytes per Vertex. The first 12 Bytes are the X Y and Z coordinates as Floats. The next 4 Bytes are usually 00 00 80 FF. The Following 12 Bytes are the normals as Float, followed by 4 bytes as usually 0 and 4 bytes as FF. The next 8 Bytes are the UVs as Float again. Followed by 4 bytes as 0 yet again. I don't know what the last 16 Bytes do though, but 00 00 80 FF appear frequently as the first 4 bytes. The Faces start imediately after the last vertex. They are laid out as Short Tri-Strips.
This in itself works fine with Models, where the is only one mesh, like Tops, or Accessories. However it doesn't work as intuitively with models with multiple meshes, like the heads, where I have to piece together the amount of faces and vertices per mesh.
Can you help me figure out, where the Mesh Table is?
Sample Files
I've spent roughly the last two weeks, to figure out, how this Format works. During this time, I managed to find the Vertex, Face and UVs in a reproduceable manner -> Vertices start in the SMDL block as a block of 64 Bytes per Vertex. The first 12 Bytes are the X Y and Z coordinates as Floats. The next 4 Bytes are usually 00 00 80 FF. The Following 12 Bytes are the normals as Float, followed by 4 bytes as usually 0 and 4 bytes as FF. The next 8 Bytes are the UVs as Float again. Followed by 4 bytes as 0 yet again. I don't know what the last 16 Bytes do though, but 00 00 80 FF appear frequently as the first 4 bytes. The Faces start imediately after the last vertex. They are laid out as Short Tri-Strips.
This in itself works fine with Models, where the is only one mesh, like Tops, or Accessories. However it doesn't work as intuitively with models with multiple meshes, like the heads, where I have to piece together the amount of faces and vertices per mesh.
Can you help me figure out, where the Mesh Table is?
Sample Files
