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.

Open Asset Import Library (Assimp) is a portable open source library to import various 3D model formats in a uniform manner.

Written in C++, it is available under BSD license.

492 questions
0
votes
1 answer

Assimp SimpleOpenGL example Linker errors

I'm trying to get the sample "SimpleOpenGl" from Assimp to work, but I get some linker errors i can't solve. (And yes I am very new) I get 12 LNK2001 errors (below is two of them) 1>Sample_SimpleOpenGL.obj : error LNK2001: unresolved external symbol…
Nicolai Lissau
  • 7,298
  • 5
  • 43
  • 57
0
votes
1 answer

Assimp Sample giving errors

I just got the last assimp SDK, and made a project, I linked it corectly ( no errors with linking ) But I seem to have some troubles with the Sample project. To be more specific the SimpleOpenGL one. I am using C++ combined with OpenGL and visual…
taigi tanaka
  • 299
  • 1
  • 4
  • 17
-1
votes
0 answers

Blender Model Texture not mapped correctly OpenGL Modern (core) 4.3

I am trying to load a textured model cube made in Blender using my custom importer made in OpenGL, C++ and assimp. But the Cube is not textured properly as shown in Blender. This is my Texture : This is how it looks in BLender : This is how it…
Shloak
  • 15
  • 4
-1
votes
1 answer

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 get the following…
Sridharan
  • 1
  • 2
-1
votes
1 answer

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 Assimp missing some things which should be there!…
Elmi
  • 5,899
  • 15
  • 72
  • 143
-1
votes
1 answer

Assimp load fbx texture failed, POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float)

I am using this code to load FBX (note: specific for FBX), the textures unable to load successfully for (unsigned int i = 0; i < mat->GetTextureCount(type); i++) { aiString str; mat->GetTexture(type, i, &str); if (auto…
Nicholas Jela
  • 2,540
  • 7
  • 24
  • 40
-1
votes
1 answer

Assimp C++ NULL mesh face data

I've been having this problem for a while and I'm certain I've got something fundamentally wrong. Assimp is built from source from the most recent commit on github, but I have also tried on v5.0.0/1/2. I can import an fbx file almost to completion…
beeves
  • 11
  • 3
-1
votes
2 answers

OpenGL does not draw Model properly

I exported the Blender Box as a Collada file, I am loading it with Assimp, yet it does not draw properly. Here is how it looks: I have tried using .fbx and .obj without success. is this an error in my code, or is the vertex data not correct? I…
DuckPuppy
  • 123
  • 1
  • 1
  • 7
-1
votes
1 answer

UE4 4.26.1 package IOS Arm64 with Assimp

I'm trying to use Assimp library in UE4 for Android& IOS, right now only successful with Android armeabi-v7a, need some help if anyone already done those kind of things or have those knowledge. I struggle a lot to compile Assimp to .a&.so, finally…
Cabrij
  • 1
  • 2
-1
votes
1 answer

Assimp doesn't read weights for specific bone of a mesh from .dae or .fbx file

I am having a problem with importing animated model (.dae or .fbx). In debug mode on the picture below, assimp doesn't load weights for specific bone. I tried for 3 different models and error is the same. This is the last model I tried. If you could…
bb8
  • 11
  • 2
-1
votes
1 answer

Unable to load 3D model with assimp

I've life like loading 3D model. Because of that I tried to use Assimp. Sadly, I wasn't able to get any result out of it. I was able to get a mesh class working and by manually filling data to it, I was able to make a cube. But my model class…
-1
votes
1 answer

OpenGL: Assimp mesh incorrect

I'm currently trying to import a Mesh using Assimp. For some reason, it's displayed incorrectly. I'm trying to load Suzanne: This is a screenshot from Open3D Model Viewer - which also uses Assimp. That means the model file is correct. Now when I…
Freakyy
  • 365
  • 5
  • 16
-1
votes
1 answer

Passing color to Assimp model's GLSL shader 1.40 on Intel HD 4000

I'm trying to pass color attributes to each point of a 3d model imported by assimp via the vertex shader. Attempted solutions: Pass in via layout (location = 0) in vec3 color; My laptop has Intel HD 4000 graphics which do not support #extension…
faeophyta
  • 323
  • 5
  • 16
-1
votes
1 answer

How do I use a static library (in my case assimp) without the source files

I have a libassimp.a file and the header files. How can I use the library? I'm adding the header files to my project with set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem ${ASSIMP_INCLUDE_DIR}"). With ASSIMP_INCLUDE_DIR being…
gartenriese
  • 4,131
  • 6
  • 36
  • 60
-1
votes
1 answer

OpenGL crash when i try to display a .obj with EOB

I'm working on a 3D object viewer, a really basic opengl program i think. But i'm new to opengl and i find a problem that i can't resolve. The last tutorial that i used is here : LearnOpenGL So the code than i'll show is from there (Model Loading…
1 2 3
32
33