You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the following C++ code to convert an OBJ model to a GLB format while embedding the textures. However, the texture is not correctly embedded into the output GLB file. Here is the code I'm using:
I am using the following C++ code to convert an OBJ model to a GLB format while embedding the textures. However, the texture is not correctly embedded into the output GLB file. Here is the code I'm using:
#include <assimp/Importer.hpp>
#include <assimp/Exporter.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include
#include
#include
extern "C" {
int convertedObjToGlb(const char* inputPath, const char* outputPath, const char* mtlPath, const char* texturePath) {
try {
Assimp::Importer importer;
Assimp::Exporter exporter;
}
}
@assimp-mirror
The text was updated successfully, but these errors were encountered: