Questions tagged [assimp]
Open Asset Import Library (short name: Assimp) is a portable Open Source library to import various well-known 3D model formats in a uniform manner.
487
questions
-1
votes
0
answers
27
views
get texutre BaseColor from assimp GLTF/GLB [closed]
im tring to parse a .glb file with a assimp but i cant figure it out how to get the texture data of BaseColor.
-1
votes
0
answers
43
views
error LNK2019: unresolved external symbol "public: class aiScene const * __cdecl Assimp::Importer::ReadFile
I'm getting link errors when using the assimp library, but I did add assimp-vc143-mtd.lib to my project. And they are both x64.The key code is as follows.
Assimp::Importer imp;
const aiScene* ...
0
votes
1
answer
30
views
Bind different 3d models to a main model with opengl and assimp
I hope you're doing well. I am starting with OpenGL, and currently, I have been implementing Assimp to load 3D models and animations, and so far, everything is going well. However, now what I want to ...
0
votes
1
answer
30
views
cookTriangleMesh access exception
PxTriangleMesh* PhysX::CreateTriangleMesh(const PxVec3* verts, const PxU32 numVerts
, const PxU32* indexs, const PxU32 numIndexes, PxPhysics* physics, PxCooking* cooking)
{
// Create ...
0
votes
2
answers
46
views
Improve mesh geometry serialization performance
I want to improve the serialization time of my 3D application.
I use the following scene for testing:
https://www.dropbox.com/scl/fi/j8ays9phm2xs45icla4bo/TestScene.zip?rlkey=qy8jpwgz3s8b95mz62l8axcug&...
0
votes
1
answer
74
views
How can I get texture file by using assimp?
I am developing FBX model viewer using directx and assimp library. For loading texture, I called function like below. (I got FBX from mixamo)
aiString path;
mat->Get(AI_MATKEY_TEXTURE_DIFFUSE(0), ...
0
votes
1
answer
41
views
How to check that extracted FBX indices are correct?
I am trying to import FBX file using FBX SDK. Reference was "ImportScene" sample of FBX. I've extracted vertices (control point in FBX) and indices. I wanted to check whether the extracted ...
0
votes
1
answer
135
views
How do I compile cmake generated binaries in 64bits using MinGW (Windows, GCC)?
I've been trying to compile the model loading library Assimp for my project using cmake and then MinGW. However, I don't know how to do that for 64bits which is what I'm using on my project. I used ...
1
vote
0
answers
25
views
Can you check if there are any errors in the collada (.dae) models that I extracted?
I used the Assimp loader in my DirectX 11 engine to open my .dae model files, but it's not functioning correctly.
My team and I don't believe there are any errors in my code, so I asked others for ...
1
vote
0
answers
41
views
The .dae model loaded with Dx11 assimp looks strange
(The Pictures are at bottom)
I am currently using assimp in my DX11 engine to load models, but I am facing difficulty in concatenating two models together.
I am recreating Super Mario Odyssey for my ...
-1
votes
1
answer
94
views
Can Qt QSceneLoader object load and render GLB (3D model) file
I am using Qt6.5.2. My expectation is to load GLB file and render it in Qt window. As per Qt documentation for QSceneLoader class, QT supports GLB file but on loading GLB file in my Qt application, I ...
0
votes
1
answer
52
views
getting multiple -fpermissive errors when trying to build assimp from makefile
I've downloaded the assimp source code from git using git clone https://github.com/assimp/assimp.git. I then used cmake, but I had to add the flag -DASSIMP_WARNINGS_AS_ERRORS=OFF in order to sidestep ...
0
votes
1
answer
73
views
Assimp, BGFX and C++ trouble matching vertices to indices
I have been trying to make a generic model class in c++ that can use any underlying data type, defined by it's BGFX layout. To do this I have been using assimp to import the model data. Unfortunately ...
0
votes
0
answers
79
views
Loading the mtl colors from an 3D model in the Wavefront .obj format using Silk.NET.Assimp
I've written a model loader for 3D models in the Wavefront obj format in C# using the Silk.Net Assimp-Bindings.
I used the code from the opengl tutorials (Tutorial 4.1) provided by the Silk.Net-...
0
votes
1
answer
182
views
MinGW's linker (ld.exe) gives dozens of errors regarding the glfw3.lib static library file. Unlike the Visual Studio's (link.exe)
I'm not using any IDE.
Here is my only cmake file :
cmake_minimum_required(VERSION 3.8)
project(App VERSION 1.3)
file(GLOB_RECURSE APP_SOURCES
${PROJECT_SOURCE_DIR}/*.cpp
${PROJECT_SOURCE_DIR}/...
0
votes
1
answer
37
views
Unknown type name with Assimp library
I'm using the assimp library within my C project. I installed the library with sudo apt install libassimp5 and included the following headers:
#include <assimp/cimport.h>
#include <assimp/...
0
votes
0
answers
24
views
When does aiNodeAnim animate a mesh directly and not a bone
An aiNode has a field called mMeshes which is described by the documentation as "the meshes of this node". Will a node always have a mesh? If not, then what does it mean for a node to not ...
0
votes
1
answer
84
views
When do I use aiNode.mTransform
I'm writing a program that will load an animation from a file using assimp. According to this answer "The transform we use for skinning is (B_keyframe * offsetMatrix), where B_keyframe is the ...
0
votes
1
answer
194
views
How can I load a model with assimp.net and C# when my current code isn't working?
I'm trying to import a model with assimp.net and c# but the my code doesn't work any help?
Here is my code:
public void LoadModel(string model, out float[] vertices, out int[] indices) {
...
0
votes
0
answers
93
views
Using CMake to link assimp Prebuilt binary
├── CMakeLists.txt #root
├── README.md
├── app
│ ├── CMakeLists.txt
│ └── src
│ └── main.cpp
└── ExternalLibrary
├── CMakeLists.txt
├── assimp
│ ├── CMakeLists.txt
│ ├── ...
0
votes
1
answer
317
views
Building Unreal Engine 5 project with Visual Studio for Linux - ld.lld : error
I am trying to build a Dedicated Server for an Unreal Engine 5 Project for Linux from Visual Studio.
The project contains a Plugin (UE4_Assimp) that relies on an external library (Assimp) for the ...
0
votes
1
answer
77
views
Importing 3d model(fbx) using Assimp creates higher number of vertices than original 3d model
I have a simple human face 3d model with 468 vertices. In blender stats also shows 468 vertices and 898 faces, when I import/read using Assimp, it becomes 2694 vertices(which I think 3×number of faces)...
3
votes
0
answers
127
views
Struggling to implement assimp skeleton into DX12
Recently I have been trying to implement assimp into Frank Luna's basic dx12 engine as part of my learning. I have had real trouble getting the matrix mathematics working correctly, and have hit a bit ...
0
votes
1
answer
88
views
how is the aiNode::mTransformation calculated?
When I want to load a model through Assimp library, I encounter such a problem:
The explanation of aiNode::mTransformation (https://assimp.sourceforge.net/lib_html/structai_node.html#...
2
votes
2
answers
936
views
Assimp can't find utf8.h header
I've just started playing around with Assimp to parse some stl files. I built it from source and installed it as a static library in my system (Manjaro Linux x86_64 - Kernel 6.2.6-1). To get a feel of ...
0
votes
1
answer
167
views
undefined reference error when including both ompl and assimp packages with CMake [duplicate]
I get the following error when trying to compile my project using CMake
(I am on Ubuntu 22.04.2 LTS):
Consolidate compiler generated dependencies of target AssimpTest
[ 50%] Building CXX object ...
1
vote
1
answer
711
views
how to build assimp as a static lib (/MT)?
I've been trying to build assimp as a static library using CMakeGUI.
I got assimp-3.1.1 for the source code. build location at assimp-3.1.1/build.
I got 2 options which appear to be relevant: ...
0
votes
1
answer
46
views
what's the lightest lib able to load FBX in Android?
what's the lightest lib able to load FBX in Android?
autodesk official fbxsdk still not support Android.
assimp workd in Android, but is there any other lib smaller than it?
thanks!
0
votes
0
answers
34
views
what's the difference between Bone and Joint in Skeleton while rendering FBX model?why most toturials have Bone but no Joint class?
what's the difference between Bone and Joint in Skeleton while rendering FBX model?why most toturials have Bone but no Joint class?
how to animate a FBX model imported by Assimp(which only has Bone ...
0
votes
0
answers
51
views
how to import FBX model by Assimp then control it by its Joints?
how to import FBX model by Assimp then control it by its Joints?
eg. import a human/hand model, and the set the value of its Joints dynamically each frame.
I've searched the doc of Assimp, found there ...
0
votes
0
answers
36
views
Using StandardCyborgCocoa add swiftassimp as a local library building for ios on mac m1
I got the git clones of StandardCyborgCocoa and swiftassimp locally on my mac, and installed assimp, a dependency of swift assimp, as homebrew. When I tried to apply swiftassimp as a local package in ...
0
votes
1
answer
226
views
How to read text(ASCII) files with Assimp?
I can successfully read binary files of different extensions(fbx, blend, ifc and etc.) with assimp but if file is not binary assimp failed reading.
#include <string>
#include <assimp/cimport....
0
votes
0
answers
33
views
A problem with the form of converting ply to fbx
We are currently in the process of converting PLY or PCD data to FBX.
I did the conversion using the Assimp library as shown below, but I found a problem with missing colors.
May I know where is wrong?...
0
votes
1
answer
104
views
Unexpected transformationMatrix and offset Matrix with Skeletal Animation
What I use:
Assimp to import .fbx files from blender
OpenGL for rendering
glm lib for handling matrices and vectors
I am trying to make skeletal animation work. I dont read the .fbx file directly ...
0
votes
1
answer
103
views
Assimp/DirectX depth problem when load 3d model
I'm trying to upload a 3d model using assimp. There is some strange thing going on with the depth. When I use the left-handed projection/view matrix the model looks like this. (The floor and parts of ...
0
votes
1
answer
408
views
Why does CMake fail to link my static library?
I am trying to link a static library which I have compiled from the assimp source to my executable CMake project so that it does not have to compile assimp as often since it's such a large library.
I ...
2
votes
1
answer
70
views
Mesh loaded with Assimp displaying partial amount of vertices?
I was writing a mesh loader for a DirectX 11 project using C++, and I decided to use assimp because of the experience I gained with the API while learning OpenGL. The loader has no issues dealing with ...
0
votes
1
answer
282
views
Assimp Error when loading model in the browser ( WASM )
I am trying to load a .glb 3d model (glb is the binary version of gltf) using Assimp ... in a browser.
I am using cmake.
Assimp is built with the following Options :
SET(ASSIMP_INSTALL ON CACHE BOOL &...
0
votes
0
answers
71
views
Assimp multiple definition error in material.h when linking across multiple compilation units
I'm following the example provided at https://assimp.sourceforge.net/lib_html/usage.html to import a simple model using the assimp library. The first three lines in the example are the required ...
0
votes
0
answers
122
views
How to get the exact world coordinates of mouse click position
I have a mesh loaded (assimp) in 3D environment in OpenGL. I want to move it along the mouse click (dragging) from one point to another. My present solution is behaving weirdly, the unprojected ...
0
votes
1
answer
203
views
Use LoadModelFromMemoy in ASSIMP to load obj model with no texture loaded
I'm currently working on an Android project where I need to load .obj file with ASSIMP on Android Platform. My way of implementing that is to use the AssetManager to load the .obj file into memory ...
1
vote
1
answer
74
views
ASSIMP mesh loader leak
Facing a leak in ASSIMP mesh loader
as per valgrind, I lose 80 bytes:
#include <assimp/Importer.hpp> // C++ importer interface
#include <assimp/cimport.h>
#include <assimp/scene.h&...
0
votes
1
answer
272
views
Cmake custom command conditional on build
I have an issue with cmake. Iv'e tried seraching all online but no answers and Ive tried many possible solutions and nothing has worked.
Im trying to copy a dll file into the executable directory ...
0
votes
1
answer
398
views
how to get the model's max x,y,z withing loading model by assimp
I want to split model space with octree to check intersection detection,
so i need known model's max x,y,z and min xyz.
to get the result,i traverse all meshes's vertex and compare them
-1
votes
1
answer
166
views
How to get rid of assimp linker errors?
Note for the people that close questions without understanding the problem: I know what an linker error is. My problem is not the GENERIC question, what a linker error is, my problem is, specific to ...
1
vote
1
answer
673
views
What is the best way to add assimp to a CMake project?
I'm trying to build assimp as a static library to link it with my executable in a CMakeFile.txt file. The executable builds just fine but problem with this is that it takes a long time to link every ...
0
votes
0
answers
231
views
pyassimp.load extremely slow or hanging indefinitely
I am trying to load a low-poly FBX file into my python program with pyassimp, but it is unusable slow. I am using pyassimp version 4.1.4, and I built assimp version 5.2.5 from source (https://github....
0
votes
2
answers
2k
views
How to set/unset compiler flags in a cmake project?
I am new to cmake and made a cmake project with scaffolding provided by qt creator. I added a library (assimp) in source form. While compiling my project with the default kit (mingw), I get errors ...
0
votes
1
answer
332
views
Assimp GLTF: Meshes not properly scaled (?)
I am currently trying to load the Sponza model for my PBR Renderer. It is in the GLTF format. I have been able to load smaller models quite successfully, but when I try to load the Sponza scene, some ...
1
vote
2
answers
383
views
Assimp animation data gives unexpected values
I'm using Assimp to load in animation data from an fbx file, but when I load the fbx with Blender and compare the keyframe values between Blender and the values Assimp provides, they're not the same.
...