I have Assimp as a git submodule in my project and I’m trying to write a CMakeLists.txt that lets me build Assimp and link it with my application. Assimp builds successfully when I do an out-of-source build in the repo with the Visual Studio 16 2019 generator on Windows 10. mkdir build cd build cmake ..
Category : assimp
I digged through stackoverflow and other websites to see if others experienced the same issue as me, and they did, and fixed it, but their fixes didn’t work for me. Essentially, I am trying to generate a project file with CMake so that I can use Assimp with OpenGL but I get the following error: ..
I have a C++ program that uses Assimp to load models and can load non-boned models fine. The tutorials I have found say each "aiMesh" object in a node has mNumBones and mBones an array of pointers to aiBone objects. None of the models I have tested which represent animated characters when loaded cause assimp ..
I am currently trying to load a skeletal animation from a collada file (.dae). But there seems to be a bug in my code which I can not find myself. The bug visualizes in not showing the last child’s of the hierarchy at all. They are loaded but transformed in a way they disappear. I ..
Hello i tried to build Assimp in MSYS. I’m using gcc (10.2.0) While building Assimp,multiple error messages appeared: /usr/bin/windres: /c/Users/MY_NAME/Downloads/assimp-5.0.1/assimp-5.0.1/contrib/zlib/win32/zlib1.rc:7: syntax error make[2]: *** [contrib/zlib/CMakeFiles/zlib.dir/build.make:278: contrib/zlib/CMakeFiles/zlib.dir/win32/zlib1.obj] error 1 make[1]: *** [CMakeFiles/Makefile2:272: contrib/zlib/CMakeFiles/zlib.dir/all] error 2 make: *** [Makefile:150: all]error 2 How can i build Assimp in MSYS ? Source: Windows Que..
Hello i tried to compile Assimp with mingw32. But during compilation multiple errors appeard. The first was: C:UsersMY_NAMEDownloadsassimp-5.0.1assimp-5.0.1codeSMDSMDLoader.cpp:579:12: error: ‘strtok_s’ was not declared in this scope; did you mean ‘strtok_r’? I found a solution for the this problem,i changed the source code and it worked but i don’t found a solution for the second problem. ..
I am creating my C++ game engine and I wanted to be able to export my scenes using the FBX format. So when I tried to export an FBX from a previously imported OBJ file that actually renders correctly. It is not exported correctly when exporting to anything other than what was originally imported from. ..

I’m using modern OpenGL to visualize a head mesh imported from an .obj file whose normal vectors have been created by Blender. When I load that model in any 3D object viewer, everything looks fine but when I try to visualize it myself using OpenGL, the surface doesn’t appear as smooth (looks bumpy) and also ..

I’m a modern OpenGL newbie and am using it to visualize a head mesh imported from an .obj file whose normal vectors have been created by Blender. When I load that model in any 3D object viewer, everything looks fine but when I try to visualize it myself using OpenGL, the surface doesn’t appear as ..
I’m trying to load my model (from this tutorial) with Assimp. There is no loading error reported, but i get segmentation fault when trying to access mesh from scene->mMeshes. What might be reason for this? Here is code sample: void resource_manager::load_model(std::string path) { model new_model; const aiScene *scene = load_file(path); new_model.meshes = load_meshes(scene, scene->mRootNode); //… ..
Recent Comments