3DView2 Workspace Setup
What you need
In order to compile
3DView2 or
3DEmotion you need:
- Microsoft Visual Studio 7.1 (aka Visual Studio .NET 2003) or better (other compilers might work, too, but I cannot help you with that.)
- The latest version of the Microsoft DirectX SDK installed. (DirectX 9 SDK, October 2005 Update at the time I write this. Later version should work, too.). The SDK is available here:
http://msdn.microsoft.com/directx.
- The EAX 2.0 SDK by Creative Labs installed; it is needed by the sound system. Download:
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=71&aid=138
- The current Java SDK installed if you plan to compile the Eclipse plugin. It is available from
http://java.sun.com (Without the Java SDK, you will still be able to compile the standalone version of 3DView.)
I assume you have at least a basic understanding of C++, Microsoft Windows Programming and Microsoft DirectX. If not, there are excellent tutorials out there. It is not that difficult, really :)
Getting the source code
Grab the project org.micropsi.native.code from our
CVS. (Careful: it's huge! About 70MB at the time I write this, but chances are it has grown since then :)) It is split into several subprojects witch reside in separate folders. See
3DView2 Project Structure for details.
Compiling
In the folder
micropsi/3dview2/code, there should be a Solution File called
3dview_with_libs.sln. The solution file for 3demotion is
3demotion_with_libs.sln in the folder
micropsi/3demotion/code. Open one of these files with Visual Studio and
Batch Build all targets and all configurations. You're done!
Setting the Working Directory
You must set the working directory for both 3dview2.exe and 3demotion.exe to
../bin in MS Visual Studio (under
project properties -->
debugging). Otherwise you will get error messages (file not found etc.) when running the applications from within Visual Studio.