b577075471
* Add capability to export GLTF (proposal) * fixes: VRM and mixamo lookAt, warning removals * editor: save gltf will also modify scene path and refresh scene list * filesystem fix * tangent fix, file system callbacks for writer, defaultScene * Fixed GLTF Export for GLB format and Stuff * camera fix: orientation is not rotated, aspectration is not imported, because it will be computed from monitor * import fix: no material * import fix: buffer view stride was not accounted for every vertex channel * import fix: skip importing othographic camera * fix: uvset_0 stride * export fix: surface map is not valid to use as specular map * export fix: camera doesn't need to be flipped * fixed import issue of reimporting existing nodes * editor: add gltf exporting tooltip to save button * revert camera aspect change in importer * fixed tangent.w double flipping * protect against importing 0 camera aspect * workaround fix for float precision issue with decompose and transform scaling <=0.0001 * scale workaround fix: support negative scale Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
12 lines
302 B
C++
12 lines
302 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace wi::scene
|
|
{
|
|
struct Scene;
|
|
}
|
|
|
|
void ImportModel_OBJ(const std::string& fileName, wi::scene::Scene& scene);
|
|
void ImportModel_GLTF(const std::string& fileName, wi::scene::Scene& scene);
|
|
void ExportModel_GLTF(const std::string& filename, wi::scene::Scene& scene);
|