Shaiya Online/Model: Difference between revisions
Jump to navigation
Jump to search
imported>Tsukihime (Created page with "Shaiya Online model format ===Format=== <pre> uint32 constant00 uint32 numBones struct Bone { float[16] Matrix4X4 } uint32 numVerts struct Vert { float[3] CoordXYZ ...") |
imported>Tsukihime |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
===Format Specifications=== | |||
3DC | |||
<pre> | <pre> | ||
| Line 21: | Line 21: | ||
} | } | ||
uint32 | uint32 numFaces | ||
uint16[ | numFaces Face { | ||
uint16[3] v1, v2, v3 | |||
} | |||
</pre> | |||
3DO | |||
<pre> | |||
uint32 null | |||
uint32 numVerts | |||
numVerts Vertex { | |||
float[3] vx, vy, vz | |||
float[3] nx, ny, nz | |||
float[2] tu, tv | |||
} | |||
uint32 numFaces | |||
numFaces Face { | |||
uint16[3] v1, v2, v3 | |||
} | |||
</pre> | </pre> | ||
===Notes=== | |||
There are two types of 3DC's. The first type is specified above. The second type is very similar, except without the bone struct or the numBones (the vertex struct is still the same though) | |||
===Import Scripts=== | |||
Any import scripts that have been written. | |||
===Related Games=== | |||
Games that use the same, or a very similar, format. | |||
[[Category:3D Model Formats]] | [[Category:3D Model Formats]] | ||
Latest revision as of 03:43, 15 January 2012
Format Specifications
3DC
uint32 constant00
uint32 numBones
struct Bone {
float[16] Matrix4X4
}
uint32 numVerts
struct Vert {
float[3] CoordXYZ
float Weight
byte BoneID01
byte BoneID02
byte NULL1
byte NULL2
float[3] NormalXYZ
float[2] TexCoordUV
}
uint32 numFaces
numFaces Face {
uint16[3] v1, v2, v3
}
3DO
uint32 null
uint32 numVerts
numVerts Vertex {
float[3] vx, vy, vz
float[3] nx, ny, nz
float[2] tu, tv
}
uint32 numFaces
numFaces Face {
uint16[3] v1, v2, v3
}
Notes
There are two types of 3DC's. The first type is specified above. The second type is very similar, except without the bone struct or the numBones (the vertex struct is still the same though)
Import Scripts
Any import scripts that have been written.
Related Games
Games that use the same, or a very similar, format.