#include "common/common.h"
#include "geometry/geometry_3d.h"
#include "threadsafe/smart_ptr.h"
#include "wave-glut/camera.h"
#include "wave-glut/renderable.h"
Go to the source code of this file.
Classes | |
struct | glut::material_t |
material (used for rendering polygons) More... | |
class | glut::MaterialRegistry |
Clients of the parsing APIs must implement this interface themselves. More... | |
struct | glut::polygon_t |
polygon object. More... | |
class | glut::model_t |
model object. More... | |
struct | glut::lod_entry_t |
level-of-detail entry. contains a model and distance information More... | |
struct | glut::lod_model_t |
level-of-detail model. Contains multiple level-of-detail entries (models) More... | |
Namespaces | |
namespace | glut |
Functions | |
void | glut::parseColor (IO std::istream &stream, OUT img_color_t &color) |
void | glut::parseMaterial (IO std::istream &stream, IN const char *parentDir, OUT material_t &material) |
void | glut::parsePolygon (IN MaterialRegistry *mreg, IO std::istream &stream, OUT polygon_t &polygon) |
void | glut::parseModel (IN MaterialRegistry *mreg, IO std::istream &stream, OUT model_t &model) |
void | glut::parseLodEntry (IN MaterialRegistry *mreg, IO std::istream &stream, OUT lod_entry_t &entry) |
void | glut::parseLodModel (IN MaterialRegistry *mreg, IO std::istream &stream, OUT lod_model_t &lod_model) |
smart_ptr< MaterialRegistry > | glut::getSimpleRegistry (IN const char *materialDir) |
get a simple implementation of a material registry. | |
smart_ptr< Renderable > | glut::loadModel (IN const char *filename, IN MaterialRegistry *reg) |
load a model from a Wavepacket Glut Model file (.wgm extension, normally) | |
void | glut::writeModelToStream (IO std::ostream &stream, IN const model_t &model) |
assumes you have already written the key name, this will write the opening and closing brackets |