assimp/samples
Marc-Antoine Lortie aa8a6122ce Fixed SimpleTexturedDirectX11 sample.
- Removed OpenGL/Glut references in SimpleTexturedDirectX11 CMakeFile
- Moved UTFConverter from SimpleTexturedOpenGL to its own file to be able to reuse it.
- Added compile definition SHADER_PATH to allow to locate the shader files in CMakeFile
- Fixed compile warnings
- Made global pointers null to help prevent dangling references.
- Added missing members initialization in class constructors.
- Removed references to missing model "Models/mymodel.fbx"
- Fixed error when extracting model file directory
- Added missing device context assignment in ModelLoader Load method
- Fixed memory leak caused by variable 'ourModel' not deleted.
- Removed call to dev->Release() in ModelLoader.cpp
- Adjusted Release() calls in reverse order when cleaning up D3D
- Made Throwanerror implementation throw an error instead of displaying a message box
- Fixed leaking D3D resources
- Added a pointer to an ID3D11Debug to dump live objects.
2020-03-06 10:26:51 -05:00
..
SharedCode Fixed SimpleTexturedDirectX11 sample. 2020-03-06 10:26:51 -05:00
SimpleAssimpViewX header paths adjusted for unit tests and samples 2018-01-05 23:12:40 -08:00
SimpleOpenGL Removed uneeded expression in else() and endif() constructs. 2020-02-23 07:09:35 -05:00
SimpleTexturedDirectx11 Fixed SimpleTexturedDirectX11 sample. 2020-03-06 10:26:51 -05:00
SimpleTexturedOpenGL Fixed SimpleTexturedDirectX11 sample. 2020-03-06 10:26:51 -05:00
README Update README 2019-02-07 19:22:47 +01:00

README


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 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:

> sudo apt install freeglut

All samples will be placed at 

Win32: <assimp_repo>/<config>/bin

or Linux : <assimp_repo>/bin


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