CMSC23700 Common Code Library
Support code for CS23700 programming projects
Loading...
Searching...
No Matches
OBJ Namespace Reference

Classes

struct  Group
 
struct  Material
 Structure that defines a material in a model. More...
 
class  Model
 A model from an OBJ file. More...
 

Enumerations

enum  { NoLight = 0 , Diffuse = 1 , Specular = 2 }
 
enum  { DefaultComponent = 0 , UniformComponent = 1 , MapComponent = 2 }
 bit mask that records how a component is specified More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Illumination modes define how to interpret the material values. Note that other modes are mapped to Specular by the loader

Enumerator
NoLight 

just use color component

Diffuse 

ambient + diffuse

Specular 

include specular highlights

◆ anonymous enum

anonymous enum

bit mask that records how a component is specified

Enumerator
DefaultComponent 

the component is not specified in the material

UniformComponent 

there is a uniform value for the component

MapComponent 

there is a map for the component