summaryrefslogtreecommitdiff
path: root/NW4RTools/Models/Model.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-02-04 15:40:12 +0100
committerTreeki <treeki@gmail.com>2011-02-04 15:40:12 +0100
commitdb8fc350b2bffda63d27797bfe7ae4afb4af327e (patch)
treea0a89cd83615e7794d9507d10c329e30c4226670 /NW4RTools/Models/Model.cs
downloadnw4rtools-db8fc350b2bffda63d27797bfe7ae4afb4af327e.tar.gz
nw4rtools-db8fc350b2bffda63d27797bfe7ae4afb4af327e.zip
Initial commit of NW4RTools.
Supports BRRES reading for: Model Bytecode, Model Nodes, Model Vertex Data, and incomplete Materials. Writing is completely unimplemented so far.
Diffstat (limited to 'NW4RTools/Models/Model.cs')
-rw-r--r--NW4RTools/Models/Model.cs37
1 files changed, 37 insertions, 0 deletions
diff --git a/NW4RTools/Models/Model.cs b/NW4RTools/Models/Model.cs
new file mode 100644
index 0000000..ea95f4f
--- /dev/null
+++ b/NW4RTools/Models/Model.cs
@@ -0,0 +1,37 @@
+using System;
+namespace NW4RTools.Models {
+ public class Model {
+ public enum ScaleModeType {
+ Standard, SoftImage, Maya
+ }
+
+ public enum TexMatrixModeType {
+ Maya, SoftImage, Max
+ }
+
+ public ResDict<ByteCode> Bytecode;
+ public ResDict<Node> Nodes;
+ public ResDict<VertexPosData> VtxPosData;
+ public ResDict<VertexNrmData> VtxNrmData;
+ public ResDict<VertexClrData> VtxClrData;
+ public ResDict<VertexTexCoordData> VtxTexCoordData;
+
+ /*public ResDict Bytecode, Nodes, VtxPosData, VtsNrmData, VtxClrData, VtxTexCoordData;
+ public ResDict VtxFurVecData, VtxFurPosData, Materials, Shaders, Shapes;
+ public ResDict Textures, Palettes;*/
+
+ public ScaleModeType ScaleMode;
+ public TexMatrixModeType TexMatrixMode;
+
+ public bool UsesNrmMtxArray, UsesTexMtxArray;
+
+ public Int32[] MatrixIDtoNodeID;
+
+ public Vec3 Minimum, Maximum;
+
+
+ public Model() {
+ }
+ }
+}
+