The small3d library
Classes | Namespaces
WavefrontFile.hpp File Reference

Wavefront (.obj) file parser. More...

#include <vector>
#include "File.hpp"
#include "BoundingBoxSet.hpp"
#include <unordered_map>
#include "Material.hpp"

Go to the source code of this file.

Classes

class  small3d::WavefrontFile
 .obj (Wavefront) file parser class. The file format has to be somewhat specific, with triangulated faces and containing the normals. Such a file can be exported from Blender for example (see blender.org). From the file menu, select Export > Wavefront (.obj). Then from the "Export OBJ" menu, only select "Write Normals", "Triangulate Faces" and "Keep Vertex Order". More...
 

Namespaces

 small3d
 

Detailed Description

Wavefront (.obj) file parser.

Created on: 2021/02/22 Author: Dimitri Kourkoulis License: BSD 3-Clause License (see LICENSE file)