assimp/samples
aramis_acg a5210b2765 - fix some issues with the SimpleOpenGl sample:
* Material's shininess would not be set if strength wasn't defined too;
 * Two-sided culling was working the opposite way, GL_CULL_FACE actually removes back faces when enabled;
 * GL_COLOR_MATERIAL should not be enabled for mesh->mColors since it replaces other materials, it now sets vertex color only. Also, it now uses glColor4fv directly. 
Thanks to Ricardo Costa for the patch (http://sourceforge.net/projects/assimp/forums/forum/817653/topic/4502991).
- some doc and formatting fixes in the very same sample.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@973 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
2011-04-25 11:29:07 +00:00
..
DevIL Add DevIL and Glut binaries for windows/x86. 2010-06-30 11:29:52 +00:00
SimpleAssimpViewX - update CHANGES.current. 2010-11-21 14:57:00 +00:00
SimpleOpenGL - fix some issues with the SimpleOpenGl sample: 2011-04-25 11:29:07 +00:00
SimpleTexturedOpenGL Quick fix to make the SimpleOpenGL sample compile with MinGW. 2010-11-10 19:34:40 +00:00
bin Move test models with problematic license restrictions to test/models-nonbsd and update the test suites accordingly. 2010-10-13 17:57:06 +00:00
glut Add DevIL and Glut binaries for windows/x86. 2010-06-30 11:29:52 +00:00
README - update CHANGES.current. 2010-11-21 14:57:00 +00:00

README

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 SAMPLES README
=====================


1. General
----------

This directory contains various samples to illustrate Assimp's
use in various real-world environments. Workspaces to build the
samples can be found in the respective directories. The VC workspaces
copy the created executables to the ./bin directory.

All GL-based samples depend on GLUT, some on DevIL. For convenience,
these libraries are included in the repository in their respective
 Windows/x86 prebuilt versions. To build on linux, install the
 required packages using the package manager of your choice.

Also note that the VS workspaces link against the DLL version of the 
Assimp library, thus you need to build it in the first place ( 
assimp-release-dll build configuration). The Assimp DLL needs to be
copied to ./bin as well (the VS workspaces will try to do this
automatically).


2. List of samples
------------------


SimpleOpenGL

  A very simple and straightforward OpenGL sample. It loads a
  model (gets the path to it on the command line, default is dwarf.x)
  and displays the model as wireframe. Animations and materials are
  not evaluated at all. This samples uses the C interface to Assimp.
  Basic materials are displayed, but no textures.

  This sample should work virtually everywhere, provided glut
  is available.


SimpleTexturedOpenGL

  An extended OpenGL sample, featuring texturing using the DevIL 
  library. Based on SimpleOpenGL and the NeHe GL tutorial style.

  This is a Windows-only sample.

  This sample was kindly provided by SamHayne (http://sf.net/users/samhayne/)
  See http://sourceforge.net/projects/assimp/forums/forum/817654/topic/3736373


SimpleAssimpViewX

  A Mac OSX-based viewer app. This sample was kindly provided by drparallax. 
  See http://sourceforge.net/projects/assimp/forums/forum/817654/topic/3917829