Skip to content
An FBX reader and writer for .NET
C#
Branch: master
Clone or download
hamish-milne Merge pull request #4 from aholkner/bugfix/uncompressed_array
Fix binary FBX small arrays corruption
Latest commit 53d9479 Jul 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Fbx Fix binary FBX small arrays corruption Jul 23, 2019
FbxTest ASCII reading now done Sep 28, 2015
.editorconfig Add .editorconfig file to force tabs instead of spaces Jul 19, 2019
.gitattributes
.gitignore 🎉 Added .gitattributes & .gitignore files Sep 26, 2015
FbxWriter.sln Updated readme and solution config Sep 27, 2015
GPL.LICENSE Create GPL.LICENSE Oct 7, 2016
LGPL.LICENSE Create LGPL.LICENSE Oct 7, 2016
README.md ASCII reading now done Sep 28, 2015

README.md

FBX manipulation for .NET

  • Read FBX binary files (Done)
  • Read FBX ASCII files (Done)
  • Write fully compliant FBX binary files (Done)
  • Write FBX ASCII files (Done)
  • Format detection (TODO)
  • Store and manipulate raw FBX object data (Done)
  • Higher level processing of FBX nodes (TODO)
  • Optional integration with DotNetZip for more efficient compression (TODO)
using Fbx;

class FbxExample
{
	static void Main(string[] args)
	{
		// Read a file
		var documentNode = FbxIO.ReadBinary("MyModel.fbx");
		
		// Update a property
		documentNode["Creator"].Value = "My Application";
		
		// Preview the file in the console
		var writer = new FbxAsciiWriter(Console.OpenStandardOutput());
		writer.Write(documentNode);
		
		// Write the updated binary
		FbxIO.WriteBinary(documentNode, "MyModel_patched.fbx");
	}
}
You can’t perform that action at this time.