3#include "CompositeObj.hpp"
4#include "system/System.hpp"
28int saveColor(
const std::string & outputPath,
const glm::vec3 & color);
44int saveDescription(
const std::vector<CompositeObj::Object> & objects,
const std::unordered_map<std::string, Material> & materials,
const std::string & outputPath);
Helpers to export a Rendu scene.
Definition: SceneExport.cpp:4
int saveColor(const std::string &outputPath, const glm::vec3 &color)
Definition: SceneExport.cpp:8
Material saveMaterial(const std::string &baseName, const CompositeObj::Material &material, const std::string &outputDirPath)
Definition: SceneExport.cpp:18
int saveDescription(const std::vector< CompositeObj::Object > &objects, const std::unordered_map< std::string, Material > &materials, const std::string &outputPath)
Definition: SceneExport.cpp:195
OBJ material descriptor.
Definition: CompositeObj.hpp:16
Contain exported texture infos for a given material.
Definition: SceneExport.hpp:15
std::string normalName
Normal map name.
Definition: SceneExport.hpp:17
std::string depthName
Optional depth map.
Definition: SceneExport.hpp:19
std::string roughMetAoName
Roughness-metalness-ambient occlusion texture name.
Definition: SceneExport.hpp:18
std::string colorName
Color texture name.
Definition: SceneExport.hpp:16
bool hasAlpha
Alpha mask.
Definition: SceneExport.hpp:20