diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..562c648
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,28 @@
+#ignore thumbnails created by windows
+Thumbs.db
+#Ignore files build by Visual Studio
+*.obj
+*.exe
+*.pdb
+*.user
+*.aps
+*.pch
+*.vspscc
+*_i.c
+*_p.c
+*.ncb
+*.suo
+*.tlb
+*.tlh
+*.bak
+*.cache
+*.ilk
+*.log
+[Bb]in
+[Dd]ebug*/
+*.lib
+*.sbr
+obj/
+[Rr]elease*/
+_ReSharper*/
+[Tt]est[Rr]esult*
\ No newline at end of file
diff --git a/Build/samplefile.FBX b/Build/samplefile.FBX
new file mode 100644
index 0000000..338db02
Binary files /dev/null and b/Build/samplefile.FBX differ
diff --git a/ManagedFbx.Samples/FbxForm.Designer.cs b/ManagedFbx.Samples/FbxForm.Designer.cs
new file mode 100644
index 0000000..8b47336
--- /dev/null
+++ b/ManagedFbx.Samples/FbxForm.Designer.cs
@@ -0,0 +1,69 @@
+partial class FbxForm
+{
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if(disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.uxFbxTree = new System.Windows.Forms.TreeView();
+ this.uxTranslationLabel = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // uxFbxTree
+ //
+ this.uxFbxTree.Location = new System.Drawing.Point(12, 12);
+ this.uxFbxTree.Name = "uxFbxTree";
+ this.uxFbxTree.Size = new System.Drawing.Size(403, 490);
+ this.uxFbxTree.TabIndex = 0;
+ this.uxFbxTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTreeSelect);
+ //
+ // uxTranslationLabel
+ //
+ this.uxTranslationLabel.AutoSize = true;
+ this.uxTranslationLabel.Location = new System.Drawing.Point(421, 12);
+ this.uxTranslationLabel.Name = "uxTranslationLabel";
+ this.uxTranslationLabel.Size = new System.Drawing.Size(24, 13);
+ this.uxTranslationLabel.TabIndex = 1;
+ this.uxTranslationLabel.Text = "pos";
+ //
+ // FbxForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(839, 514);
+ this.Controls.Add(this.uxTranslationLabel);
+ this.Controls.Add(this.uxFbxTree);
+ this.Name = "FbxForm";
+ this.Text = "FbxForm";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TreeView uxFbxTree;
+ private System.Windows.Forms.Label uxTranslationLabel;
+
+}
\ No newline at end of file
diff --git a/ManagedFbx.Samples/FbxForm.cs b/ManagedFbx.Samples/FbxForm.cs
new file mode 100644
index 0000000..06ce62b
--- /dev/null
+++ b/ManagedFbx.Samples/FbxForm.cs
@@ -0,0 +1,39 @@
+using System.IO;
+using System.Windows.Forms;
+using ManagedFbx;
+
+public partial class FbxForm : Form
+{
+ public FbxForm(Scene scene)
+ {
+ InitializeComponent();
+ AllowDrop = true;
+ Add(scene.RootNode, null);
+ }
+
+ public void Add(SceneNode node, TreeNode parentNode)
+ {
+ var item = new TreeNode(node.Name) { Tag = node };
+
+ if(parentNode == null)
+ uxFbxTree.Nodes.Add(item);
+ else
+ parentNode.Nodes.Add(item);
+
+ foreach(var sub in node.ChildNodes)
+ {
+ var subitem = new TreeNode(sub.Name) { Tag = sub };
+ Add(sub, item);
+ }
+ }
+
+ private void OnTreeSelect(object sender, TreeViewEventArgs e)
+ {
+ var node = e.Node.Tag as SceneNode;
+
+ if(node == null)
+ return;
+
+ uxTranslationLabel.Text = string.Format("Position: {0}\nRotation: {1}\nScale: {2}", node.Position, node.Rotation, node.Scale);
+ }
+}
diff --git a/ManagedFbx.Samples/FbxForm.resx b/ManagedFbx.Samples/FbxForm.resx
new file mode 100644
index 0000000..29dcb1b
--- /dev/null
+++ b/ManagedFbx.Samples/FbxForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/ManagedFbx.Samples/ManagedFbx.Samples.csproj b/ManagedFbx.Samples/ManagedFbx.Samples.csproj
new file mode 100644
index 0000000..e91b6b6
--- /dev/null
+++ b/ManagedFbx.Samples/ManagedFbx.Samples.csproj
@@ -0,0 +1,95 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}
+ WinExe
+ Properties
+ ManagedFbx.Samples
+ ManagedFbx.Samples
+ v4.5
+ 512
+
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ false
+
+
+ true
+ ..\Build\
+ DEBUG;TRACE
+ full
+ x86
+ prompt
+ MinimumRecommendedRules.ruleset
+
+
+ bin\x86\Release\
+ TRACE
+ true
+ pdbonly
+ x86
+ prompt
+ MinimumRecommendedRules.ruleset
+ false
+
+
+ Program
+
+
+
+ ..\Build\ManagedFbx.dll
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ FbxForm.cs
+
+
+
+
+
+
+ FbxForm.cs
+
+
+
+
+
\ No newline at end of file
diff --git a/ManagedFbx.Samples/Program.cs b/ManagedFbx.Samples/Program.cs
new file mode 100644
index 0000000..33f3c51
--- /dev/null
+++ b/ManagedFbx.Samples/Program.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Windows.Forms;
+using ManagedFbx;
+
+public class Program
+{
+ [STAThread]
+ public static void Main()
+ {
+ var manager = new Manager();
+ var scene = manager.ImportScene("samplefile.fbx");
+
+ Application.EnableVisualStyles();
+ Application.Run(new FbxForm(scene));
+ }
+}
\ No newline at end of file
diff --git a/ManagedFbx.Samples/Properties/AssemblyInfo.cs b/ManagedFbx.Samples/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..f2e92ea
--- /dev/null
+++ b/ManagedFbx.Samples/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Managed")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Managed")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("e43b02f2-c8e6-4d25-ad63-b4a812fe2bec")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/ManagedFbx.sln b/ManagedFbx.sln
new file mode 100644
index 0000000..cb20327
--- /dev/null
+++ b/ManagedFbx.sln
@@ -0,0 +1,54 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ManagedFbx", "ManagedFbx\ManagedFbx.vcxproj", "{163D9B5E-1A69-4821-89DE-298736F2C14E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedFbx.Samples", "ManagedFbx.Samples\ManagedFbx.Samples.csproj", "{78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|Win32 = Debug|Win32
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|Win32 = Release|Win32
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|Win32.Build.0 = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|x86.ActiveCfg = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Debug|x86.Build.0 = Debug|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|Any CPU.ActiveCfg = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|Mixed Platforms.Build.0 = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|Win32.ActiveCfg = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|Win32.Build.0 = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|x86.ActiveCfg = Release|Win32
+ {163D9B5E-1A69-4821-89DE-298736F2C14E}.Release|x86.Build.0 = Release|Win32
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Win32.ActiveCfg = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|Win32.Build.0 = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|x86.ActiveCfg = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Debug|x86.Build.0 = Debug|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Mixed Platforms.Build.0 = Release|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Win32.ActiveCfg = Release|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|Win32.Build.0 = Release|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|x86.ActiveCfg = Release|x86
+ {78BA3050-B035-46F5-AAC2-4B9B8A3CFDDC}.Release|x86.Build.0 = Release|x86
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/ManagedFbx/Expose.cpp b/ManagedFbx/Expose.cpp
new file mode 100644
index 0000000..df15290
--- /dev/null
+++ b/ManagedFbx/Expose.cpp
@@ -0,0 +1,20 @@
+#include "stdafx.h"
+
+namespace FbxSdk
+{
+ public ref class Expose
+ {
+ public:
+ static System::String ^ManagedTest()
+ {
+ auto test = "rawr";
+ return gcnew System::String(test);
+ }
+
+ static void Load(System::String ^filepath)
+ {
+ auto manager = FbxManager::Create();
+ auto scene = FbxScene::Create(manager, "Scene");
+ }
+ };
+}
\ No newline at end of file
diff --git a/ManagedFbx/FbxException.cpp b/ManagedFbx/FbxException.cpp
new file mode 100644
index 0000000..e69de29
diff --git a/ManagedFbx/FbxException.h b/ManagedFbx/FbxException.h
new file mode 100644
index 0000000..32afabb
--- /dev/null
+++ b/ManagedFbx/FbxException.h
@@ -0,0 +1,12 @@
+#pragma once
+
+namespace ManagedFbx
+{
+ public ref class FbxException : public System::Exception
+ {
+ public:
+ FbxException(System::String ^message, ...array