Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:shape [2016/12/05 19:45] – created Sit Melai | en:shape [2021/12/03 19: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 12: | Line 14: | ||
- | ==== How it is serialized in the code (using serial()): | + | ==== How it is serialized in the code (using serial()) ==== |
- | ==== | + | |
< | < | ||
Line 159: | 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> |