Namespaces | Defines

_src_graph_model_cache.cc File Reference

Cache of 3D model files. More...

#include "base/module.hh"
#include "base/conf.hh"
#include "base/file.hh"
#include "base/stream.hh"
#include "base/stream_zlib.hh"
#include "math/module.hh"
#include "math/funcs.hh"
#include "math/matrix.hh"
#include "math/matrix_funcs.hh"
#include "object/module.hh"
#include "world/module.hh"
#include "world/conf.hh"
#include "shader/module.hh"
#include "shader/conf.hh"
#include "shader/shader_model.hh"
#include "graph/module.hh"
#include "graph/osg.hh"
#include "graph/graph.hh"
#include "graph/model_cache.hh"

Namespaces

namespace  graph
 

graph module.


Defines

#define GRAPH_MODEL_CACHE_CC   1

Detailed Description

Cache of 3D model files.

LastChangedDate:
2012-03-10 11:00:48 -0500 (Sat, 10 Mar 2012)
Author:
Jim E. Brooks http://www.palomino3d.org
 *
 * Model scale and model offset:
 * -----------------------------
 * A 3D model is scaled by scaling its matrix.
 * The scale is computed such that is multiplies a 3D meter vector.
 * This means that a model's offset, which is defined in meters,
 * can be directly assigned to its matrix's origin.
 * Evidently, OSG must be multiplying the matrix origin by the matrix scale.
 *
 * Compressed (gzip) 3D model files can be loaded:
 * ---------------------------------------------
 * Compressed 3D models are read from a .gz file using "gzstream"
 * which is passed to osgDB::ReaderWriter::readNode(std::istream&).
 * A consequence is that OSG must be notified of all directories
 * that contains graphics assets referenced by the 3D model file.
 *
 * 

Define Documentation

#define GRAPH_MODEL_CACHE_CC   1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10