assimp/port/Assimp.NET
aramis_acg 05546ec7b6 really update C# Readme.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@849 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2010-11-21 16:43:41 +00:00
..
Assimp.NET Ingnore an error producing SetProperty method on AssimpSwigPort.i 2010-08-06 18:41:05 +00:00
Assimp.NET_CS Ingnore an error producing SetProperty method on AssimpSwigPort.i 2010-08-06 18:41:05 +00:00
Assimp.NET_DEMO - update Assimp.net viewer application to take the model file to be loaded from the command line. 2010-11-21 16:41:36 +00:00
Assimp.NET.sln Update Assimp.NET project files to always build x86 (32 bit) to support Managed Direct X even on 64 bit Windows for Debug and Release targets. 2010-07-23 20:51:05 +00:00
CSharpViewerScreenShot.PNG - update Assimp.net viewer application to take the model file to be loaded from the command line. 2010-11-21 16:41:36 +00:00
README.txt really update C# Readme. 2010-11-21 16:43:41 +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.


By default, the viewer application loads a pre-defined 3DS test file from
the /test/models/3DS folder. To load another file, pass it on the
command line.

The viewer is very minimalistic, don't expect all files to be displayed 
properly. Feel free to extend it ;-)



License
-------

The license for Assimp.NET is the same as the main Assimp license.