Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:shape [2016/12/05 18:45] – Sit Melai | en:shape [2021/12/03 18:19] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Shape ====== | + | ====== Shape specifications |
| + | |||
| + | ===== A Shape in the code ===== | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| Following notes are only a draft and work in progress! | Following notes are only a draft and work in progress! | ||
| - | --- //[[wiki:user: | + | --- // |
| </ | </ | ||
| Line 158: | Line 160: | ||
| uint InterfaceVertexId // id of the vertex this vertex is welded to | uint InterfaceVertexId // id of the vertex this vertex is welded to | ||
| </ | </ | ||
| + | |||
| + | ==== The .shape format ==== | ||
| + | |||
| + | You want to make your own importer/ | ||
| + | <WRAP center round important 60%> | ||
| + | Not finished yet, missing some parts that can be parsed as PolyPtr! WIP! | ||
| + | |||
| + | --- // | ||
| + | </ | ||
| + | |||
| + | Check [[en: | ||
| + | |||
| + | |||
| + | Base class for start is **CShapeStream**. | ||
| + | You need all classes that are called from this class, and following classes (or child classes) for PolyPtr: | ||
| + | |||
| + | * **ITexture** | ||
| + | * **IMeshVertexProgram** (CMeshVPWindTree, | ||
| + | * **IShape** (CMesh, CMeshBase, CMeshMRM, CMeshMRMSkinned, | ||
| + | |||
| + | |||
| {{tag> | {{tag> | ||





