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
3
votes
2 answers

Assimp - How do you import a mesh with textures using any file format?

When I import meshes, I get the material, but can't access the file name of the texture. The .mtl file explicitly shows the filename for the texture. In the code, it shows a texture count of 1 but the filename field shows an empty string and…
Jonathan
  • 91
  • 1
  • 8
3
votes
0 answers

Assimp - How to access armature which is separate from mesh?

I'm using Assimp to import an animated FBX file. My problem is that the armature within the scene exists independently to the 11 separate mesh which share that same joint data. Until now I've been retrieving the bone data as I iterate over the mesh…
livin_amuk
  • 1,285
  • 12
  • 26
3
votes
1 answer

Optimizing OpenGL rendering

I ran into a poor performance problem when rendering to OpenGL using Assimp. The scene has 367727 triangles. At the same time, 298084 is a model of chess. I do not think that the problem is in shaders, because: 128x128 window: 44 (43.7657) FPS,…
congard
  • 945
  • 2
  • 10
  • 28
3
votes
3 answers

What does mOffsetMatrix actually do in Assimp?

I am quite sure that mOffsetMatrix transforms vertex from mesh space to bone space, which is confirmed by this one http://assimp.sourceforge.net/lib_html/structai_bone.html But then I saw this, which says that it actually transforms vertices from…
Manh Nguyen
  • 373
  • 3
  • 12
3
votes
1 answer

Linking assimp library with find_package

I am struggling with linking the Assimp library with the find_package() function of CMake. # ASSIMP search path set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${CMAKE_CURRENT_LIST_DIR}/assimp/) find_package(assimp REQUIRED) if (assimp_FOUND) …
Jointts
  • 121
  • 3
  • 11
3
votes
3 answers

Using pyassimp library in Python

There is too many information out there and I tried most of them. However, I couldn't get assimp working in Python. This is the error that I get : File "C:\Users\X\AppData\Local\Programs\Python\Python35\lib\site-packages\pyassimp\helper.py", line…
edyvedy13
  • 2,156
  • 4
  • 17
  • 39
3
votes
2 answers

Assimp Tutorial for LWJGL

I've looked around the internet for tutorials for Assimp tutorials for LWJGL. The best one I've found is https://learnopengl.com/#!Model-Loading/Model, but it has different bindings than LWJGL. Edit: I am using the bindings provided with LWJGL. The…
pdid
  • 367
  • 2
  • 15
3
votes
1 answer

unresolved external symbol in visual studio while using assimp library

i have built assimp library and create .lib file, now I am using that into sample application but when i try to build sample app, i get errors: 1>assimp.lib(FBXParser.obj) : error LNK2001: unresolved external symbol…
debonair
  • 2,505
  • 4
  • 33
  • 73
3
votes
1 answer

Assimp triangulation not working

So I've been trying to use Assimp to load models, I want to render them using triangles. So far I've tried loading the test models that come with assimp and if I load an already triangulated model everything works fine. However whenever I try to…
Johan
  • 121
  • 1
  • 11
3
votes
2 answers

matrix order in skeletal animation using assimp

I had followed this tutorial and got the output animation for a rigged model as expected. The tutorial uses assimp, glsl and c++ to load a rigged model from a file. However, there were things that I couldn't figure out. First thing is assimp's…
user3124361
  • 471
  • 5
  • 21
3
votes
1 answer

assimp undefined reference to Importer Ubuntu OpenGL

undefined reference to `Assimp::Importer::Importer()' undefined reference to `Assimp::Importer::~Importer()' On Ubuntu, using OpenGL. Followed these steps Download assimp …
nestharus
  • 217
  • 2
  • 11
3
votes
1 answer

Assimp Skeletal Animation : Bones associated with a Vertex

I am trying to integrate the Assimp skeletal animation. Following this tutorial for reference. The change I am trying is to use fixed function pipeline. Problem: Position, Texture Coordinates and Normal Data is fine, but I cannot figure out how…
proton
  • 658
  • 1
  • 7
  • 26
3
votes
1 answer

Visual artifacts when loading OBJ model with Assimp

I am trying to integrate the Assimp loader to my framework. Everything is rendered fine, but in this spider model I'm rendering, its fangs are not being drawn as expected (see following picture). Below is the relevant code snippet: //Storing the…
proton
  • 658
  • 1
  • 7
  • 26
3
votes
1 answer

Assimp not loading names for neither the meshes nor the animations

I'm using Assimp to load COLLADA models, but the scene->mMeshes[i]->mName.C_Str() call returns me " " for every existing mesh index (of course, " " is not their original name). The same happens for the animations. However, I can retrieve the name of…
segfault
  • 83
  • 1
  • 5
3
votes
0 answers

Why does assimp fail to generate tangents?

I'm using Assimp to load in a model to render in OpenGL (the model is a .obj of the stanford bunny, with only vertex position information, no texture coordinates or normals). I set the postprocessing flags so that Assimp will generate smooth…
Haydn V. Harach
  • 1,265
  • 1
  • 18
  • 36
1 2
3
32 33