Need help with assimp-net?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

assimp
149 Stars 75 Forks 121 Commits 30 Opened issues

Description

Automatically exported from code.google.com/p/assimp-net

Services available

!
?

Need anything else?

Contributors list

# 4,757
Android
Raspber...
fbx
asset-p...
3 commits
# 363,171
C#
WPF
wpf-con...
TypeScr...
1 commit
# 412,882
JavaScr...
C#
direct3...
OpenGL
1 commit

C# .NET Wrapper for the Open Asset Import Library (Assimp)

Since Google Code no longer allows new downloads, the latest release can be downloaded via NuGet or on this side.

A .NET wrapper for the Open Asset Import Library (Assimp). The wrapper uses P/Invoke to communicate with Assimp's C-API and is divided into two parts:

Low-level The native methods are exposed via the AssimpLibrary singleton. "Unmanaged" structures prefixed with the name 'Ai' that contain IntPtrs to the unmanaged data. The unmanaged library is loaded/unloaded dynamically, 32 and 64 bit is supported. The managed DLL is 'AnyCPU' Located in the 'Assimp.Unmanaged' namespace. High-level A more C# like interface that is more familiar to .NET programmers and allows you to work with the data in managed memory. Completely handles data marshaling for both import and export, the user left only concerned with the data itself. Located in the default 'Assimp' namespace. Commonalities between these two levels are certain structures like Vector3D, Color4D, etc. The High level layer is very similar to Assimp's C++ API and the low level part is public to allow users do whatever they want (e.g. maybe load the unmanaged data directly into their own structures).

For a brief overview and code sample, check out the Getting Started wiki page.

The binaries were built in Visual Studio 2012 as AnyCpu and target .NET 4.5 and .NET 2.0. They are deployed with the Assimp 3.1.1 release (you can download the latest Assimp releases here).

It is fairly easy to build AssimpNet yourself as it does not rely on many external dependencies that you have to download/install prior. The only special instruction is that you need to ensure that the interop generator patches the AssimpNet.dll in a post-build process, otherwise the library won't function correctly. This is part of the standard build process when running out of a msbuild environment. Look at that build process if you are using something else.

Enjoy!

In addition, check out these other projects from the same author:

Tesla Graphics Engine - a 3D rendering platform written in C# and the primary motivation for developing AssimpNet. DevIL.NET - a sister C# wrapper for the Developer Image Library (DevIL). (Mostly a relic at this point) Follow project updates and more on Twitter

A support forum is located here. Feel free to post questions or comments on the direction of the library

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.