GithubHelp home page GithubHelp logo

assimp-net's Introduction

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

assimp-net's People

Contributors

kimkulling avatar karelholubicka avatar gitii avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.