2018-01-06 07:12:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2019-02-07 18:22:47 +00:00
|
|
|
All GL-based samples depend on FreeGLUT, the image loading will be done
|
|
|
|
by a header-only library. For convenience, these libraries are included
|
|
|
|
in the repository in their respective Windows/x86 prebuilt versions.
|
|
|
|
To build on linux, install freeglut using the package manager of your
|
|
|
|
choice. For instance on Ubuntu to install freeglut you can use the following
|
|
|
|
command:
|
2018-01-06 07:12:40 +00:00
|
|
|
|
2019-02-07 18:22:47 +00:00
|
|
|
> sudo apt install freeglut
|
|
|
|
|
|
|
|
All samples will be placed at
|
|
|
|
|
|
|
|
Win32: <assimp_repo>/<config>/bin
|
|
|
|
|
|
|
|
or Linux : <assimp_repo>/bin
|
2018-01-06 07:12:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|