libdonut  2.3.2
Application framework for cross-platform game development in C++20
Classes | Namespaces | Enumerations
obj.hpp File Reference
#include <donut/math.hpp>
#include <cstddef>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  donut::obj::Error
 Exception type for errors originating from the OBJ API. More...
 
struct  donut::obj::FaceVertex
 Single vertex of a polygonal Face element. More...
 
struct  donut::obj::Face
 Face element forming a single polygon of FaceVertex vertices. More...
 
struct  donut::obj::Group
 Group containing polygonal Face elements within an Object. More...
 
struct  donut::obj::Object
 Object mesh containing Group elements within a Scene. More...
 
struct  donut::obj::Scene
 Scene of Object elements defined by an OBJ file. More...
 
struct  donut::obj::mtl::Material
 Material properties of an Object. More...
 
struct  donut::obj::mtl::Library
 Material library that stores the material properties for objects defined in a Scene. More...
 

Namespaces

 donut
 
 donut::obj
 
 donut::obj::mtl
 

Enumerations

enum class  donut::obj::mtl::IlluminationModel : std::uint8_t {
  donut::obj::mtl::FLAT , donut::obj::mtl::LAMBERT , donut::obj::mtl::BLINN_PHONG , donut::obj::mtl::BLINN_PHONG_RAYTRACE ,
  donut::obj::mtl::BLINN_PHONG_RAYTRACE_GLASS , donut::obj::mtl::BLINN_PHONG_RAYTRACE_FRESNEL , donut::obj::mtl::BLINN_PHONG_RAYTRACE_REFRACT , donut::obj::mtl::BLINN_PHONG_RAYTRACE_REFRACT_FRESNEL ,
  donut::obj::mtl::BLINN_PHONG_REFLECT , donut::obj::mtl::BLINN_PHONG_REFLECT_GLASS , donut::obj::mtl::SHADOW
}
 Illumination model to use when rendering a specific Material. More...