assimp/port/Assimp.NET/README.txt

47 lines
1.6 KiB
Plaintext
Raw Normal View History

Assimp.NET
----------
This part of the assimp project provides a .NET wrapper for the main assimp
classes and a test viewer written in C# that shows how to use the API.
NOTE: This has only been tested on 32-bit Windows 7 in .NET 3.5SP1 compiled
under Visual Studio 2008 with the 'Debug' and 'Release' targets.
How To Build
------------
For Windows:
You don't need to build the main assimp projects first, that project is
referenced in the "Assimp.NET.sln" solution file so you can test C++ changes
to the main assimp source from the C# viewer application.
1) Download SWIG 2.0.0 or later (http://sourceforge.net/projects/swig/)
Install it somewhere like (C:\Program Files\swigwin-2.0.0).
2) Download Boost 1.43.0 or later (http://www.boost.org/)
Install it somewhere like (C:\Program Files\Boost\boost_1_43_0).
2) In Visual Studio 2008 go to:
Tools->Options->Projects and Solutions->VC++ Directories
Set "Platform:" to "Win32"
Set "Show directories for:" to "Executable Files"
- Add the swig directory to this list (C:\Program Files\swigwin-2.0.0).
Set "Show directories for:" to "Include Files"
- Add the boost directory to this list (C:\Program Files\Boost\boost_1_43_0).
3) Open the "Assimp.NET.sln" solution file in Visual Studio
4) Build and run Assimp.NET_DEMO.
The demo application is currently hardcoded to load a specific 3DS file from
the test directory. Change this in Assimp.NET\AssimpView.cs to load a different file.
License
-------
The license for Assimp.NET is the same as the main Assimp license.