Logo Khaganat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:shape [2016/12/05 19:45] – created Sit Melaien: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:siela1915|Sit Melai]] 2016/12/05 19:37//+ --- //[[user:siela1915|Sit Melai]] 2016/12/05 19:37//
 </WRAP> </WRAP>
  
Line 12: Line 14:
  
  
-==== How it is serialized in the code (using serial())+==== How it is serialized in the code (using serial()) ====
- ====+
  
 <hidden><code> <hidden><code>
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
 </code></hidden> </code></hidden>
 +
 +==== The .shape format ====
 +
 +You want to make your own importer/exporter for .shape files? Take a look at the structure of the .shape format.
 +<WRAP center round important 60%>
 +Not finished yet, missing some parts that can be parsed as PolyPtr! WIP!
 +
 + --- //[[user:siela1915|Sit Melai]] 2016/12/11 16:48//
 +</WRAP>
 +
 +Check [[en:nel_files|Nel Files Documentation]] for how to serialize each class:
 +
 +
 +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, CMeshVPPerPixelLight)
 +  * **IShape** (CMesh, CMeshBase, CMeshMRM, CMeshMRMSkinned, CMeshMultiLod)
 +
 +
  
 {{tag>Tag_a_ajouter}} {{tag>Tag_a_ajouter}}
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/shape.1480963526.txt.gz · Last modified: 2021/12/03 19:18 (external edit)

Licences Mentions légales Accueil du site Contact