assimp/port/Assimp.NET
adamdavidson 1c0e25288b Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@782 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-07-12 13:13:43 +00:00
..
Assimp.NET Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model. 2010-07-12 13:13:43 +00:00
Assimp.NET_CS Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model. 2010-07-12 13:13:43 +00:00
Assimp.NET_DEMO Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model. 2010-07-12 13:13:43 +00:00
Assimp.NET.sln Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model. 2010-07-12 13:13:43 +00:00
README.txt Update of C#/.NET bindings plus working Managed DirectX Viewer that displays standard DirectX Fixed Function Materials (Ambient, Diffuse, Specular, Emissive) and the first set of texture coordinates if contained in the model. 2010-07-12 13:13:43 +00:00

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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.