Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
Filter by
Sorted by
Tagged with
14 votes
3 answers
5k views

Matrix calculations for gpu skinning

I'm trying to do skeletal animation in OpenGL using Assimp as my model import library. What exactly do I need to the with the bones' offsetMatrix variable? What do I need to multiply it by?
McLovin's user avatar
  • 3,415
5 votes
3 answers
7k views

strncasecmp and strcasecmp has not been declared

I'm trying to compile Assimp with MinGW in Code::Blocks, but I get the following errors. \assimp-3.3.1\assimp-3.3.1\code\StringComparison.h||In function 'int Assimp::ASSIMP_stricmp(const char*, const ...
Letokteren's user avatar
3 votes
2 answers
2k views

Skeletal animation bug with Assimp in DirectX 12

I am using Assimp to load an FBX model with animation (created in Blender) into my DirectX 12 game, but I'm experiencing a very frustrating bug with the animation rendered by the game application. The ...
Maico De Blasio's user avatar
24 votes
1 answer
2k views

Mirrored mesh and wrong UV map runtime export

EDIT: So after a brief contact with the Assimp dev, I was pointed towards the import process. As I took over the code from someone else, I did not think looking that part: using (var importer = new ...
Everts's user avatar
  • 10.7k
12 votes
1 answer
9k views

Assimp model loading library install/linking troubles

I'm trying to install Assimp to use in my projects, but I'm having some trouble. I'm currently using win 10 pro and visual studio 15 2017. I have downloaded Assimp 4.0.1.zip, extracted it into a ...
eternalNoob's user avatar
6 votes
5 answers
18k views

CMake error while configuring "install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl"."

I'm trying to use CMake to configure assimp's samples but there are some error while configuring I've tried lot's of method but no one works. CMake Error at CMakeLists.txt:41 (INSTALL): ...
CloudL's user avatar
  • 211
6 votes
1 answer
7k views

How do I get models to animate using Assimp?

Currently I'm trying to make a game engine in C++ with OpenGL and want to get 3D animations to work. I have been advised to use Assimp and was able to find a tutorial to get static models to work, but ...
WhyYouNoWork's user avatar
6 votes
2 answers
9k views

How do you load Blender files using Assimp?

I tried to load Blender file using Assimp library on C++ using the following code, but it fails since it doesn't have any meshes at all. The blender file I am using is the default cube saved using ...
sub_o's user avatar
  • 2,802
5 votes
3 answers
3k views

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 ...
Manh Nguyen's user avatar
4 votes
1 answer
11k views

assimp-vc140-mt.dll ASSIMP was not found

I have downloaded the Assimp project from http://assimp.sourceforge.net/main_downloads.html Assimp release image assimp zip image And I've also downloaded the cmake x86 version from this link: ...
Viktor Korai's user avatar
4 votes
2 answers
2k views

Building android app on Qt using additional library (Assimp)

Hi I am trying to port an OpenGL desktop app to android. I have no knowledge of android development so am depending on Qt Creator to package the app. As part of the setup, I have invoked 'make-...
Maelstorm's user avatar
  • 640
3 votes
1 answer
1k views

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). ...
developer's user avatar
  • 653
3 votes
1 answer
1k views

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 ...
developer's user avatar
  • 653
2 votes
2 answers
5k views

Error in building Assimp in Cmake

Hi I'm trying to build Assimp with Cmake but the following error message appears everytime I try to configure Assimp. The version of Cmake is 3.11.0 and assimp is 4.0.0. Looking for DirectX... ...
Peter's user avatar
  • 508
2 votes
1 answer
882 views

Fastest way to deal with multiple textures in OpenGL?

For each type of texture (ambient, diffuse, specular, etc) assimp will return a list of textures. How do we deal with that many textures? It seems that the number of texture binds for every model may ...
Ariel's user avatar
  • 21
2 votes
1 answer
4k views

can't use assimp library

I installed the assimp library using these commands: sudo apt-get install libassimp-dev assimp-utils sudo apt-get install libxmu-dev libxi-dev I downloaded the c++ source code from the assimp website,...
darth vader's user avatar
2 votes
1 answer
12k views

Assimp with cmake

I want to include assimp to my project using CMake. I have Ubuntu 14.04 LTE and QTCreator. Project contain of main.cpp and linked libraries stored in libs directory. Main CMakeLists.txt ...
Szczepan's user avatar
  • 365
2 votes
2 answers
2k views

Assimp Faces all have indices (0,1,2)

I'm using Assimp to load in OBJ files to render in OpenGL using my own rendering pipeline. But when I load in a file, every face has indices (0,1,2), rather than appropriate entries into the vertex ...
Illiander's user avatar
2 votes
1 answer
6k views

Assimp faces indices

I have been using Assimp for a while and now I'm trying to load a .obj file. It loads perfectly, but I would like to manipulate the face data after loading it. Basically I have this in the simple ...
petradragon4's user avatar
2 votes
1 answer
2k views

Building assimp 3.2 does not work anymore

I can't build assimp 3.2 anymore. Yesterday it worked but today it doesn't. I am downloading assimp from here. Then I'm doing cmake CMakeLists.txt -G 'Unix Makefiles' and make as described in their ...
gartenriese's user avatar
  • 4,376
1 vote
1 answer
2k views

(UE4 Assimp) Issues loading mtl texture at runtime

I'm using Assimp to import 3d Obj at runtime with Unreal Engine. I try to import textures thanks to the mtl file, I can get the name texture file, but my problem is, how to use it to import the ...
Ragelight_'s user avatar
1 vote
0 answers
2k views

How to include Assimp with CMakeLists?

I'm unable to include the external library assimp into my project using CMakeLists. I got it working by doing: add_subdirectory(${CMAKE_SOURCE_DIR}/external/assimp-3.1.1-win-binaries) ...
Edvin's user avatar
  • 2,041
1 vote
1 answer
2k views

Assimp doens't return texture data

Im using assimp to load 3D models. My models have embedded textures ("I guess"). But I have two problems: I can't find a way to actually get the texture file path ... The pcData doensn't seems to be ...
Icaro Amorim's user avatar
1 vote
2 answers
2k views

OpenGL Texture Sampling not working

I'm using VC++10 + OpenGL + the Assimp Library to consume and then render some 3D models. The code is rendering the positions correctly, but for some reason the textures are seriously bugged. My ...
DanoThom's user avatar
  • 145
1 vote
1 answer
933 views

LWJGL Assimp: Loading Textures

I'm using the LWJGL 3 version of assimp, and I've stumbled my way through loading a model. The issue I'm running into is loading actual pixel data for textures. What is the process of loading these ...
pdid's user avatar
  • 347
1 vote
1 answer
2k views

assimp demo loading 3d model

I'm having my first try with assimp loading a 3D model. The example is given here from lighthouse3d link It compiles without errors. However, I get a similar error to the error Jeffrey had discussed ...
TSL_'s user avatar
  • 2,079
0 votes
1 answer
4k views

CMake ignoring compilation flags [duplicate]

I'm trying to compile assimp using MinGW. I run the commands cmake CMakeLists.txt -G "MinGW Makefiles" -Wno-error cmake --build . but when the project builds I still get an error and the ...
confused cmake user's user avatar
0 votes
1 answer
2k views

How to build Assimp for Android? [closed]

I am trying to build a .so lib of the C++ lib Assimp, for Android. The explanations on GitHub are very unclear and outdated. Any idea about how to do that ? A detailed tutorial would be great :)
toto_tata's user avatar
  • 15.5k
0 votes
1 answer
647 views

is it possible to run assimp commandline tool with the php

I used following command to convert the 3d models with the assimp Assimp, and it is working fine on Windows: assimp2json seaknight.obj seaknight.json I need to know how can I run this command from ...
Jothi Kannan's user avatar
  • 3,358
0 votes
1 answer
2k views

My OpenGL program stops running when I use the Assimp importer.ReadFile

I'd like to ask a question about assimp. When I try to run my code the compiler and the linker give me no errors but it crashes when I use the ReadLine function, but if I comment the part in which I ...
Ciarfix's user avatar
0 votes
2 answers
3k views

How to import assimp to my my Xcode project?

I have downloaded assimp source code. How to import assimp to Xcode project - ARToolKit5 downloaded from ARToolkit official website? I am trying to load external models - made by blender,maya,3dmax - ...
Shira's user avatar
  • 943
0 votes
1 answer
1k views

Edge Collapse with assimp

I'm trying to implement the edge collapse in my game engine, there is a problem caused by Assimp. The indices that parsed from face.mNumIndices is always the increment order indexing. When I check ...
Tokenyet's user avatar
  • 4,321
0 votes
1 answer
2k views

Can't export models with assimp by using exporter class

i am using assimp libary to load models to my ios app. but for some large model files loading times are too long for an mobil app. considering the convert process time. i decided to convert my models ...
Mehmet Emre Portakal's user avatar
0 votes
1 answer
3k views

Assimp not properly loading indices

I'm trying to load simple 3d model cube.3ds, but next error occurs: when I read indices to my vector, vector contains: [0, 1, 2, 3, ...]. It's not properly. I found almost the same topic: Assimp and ...
eugene's user avatar
  • 31
0 votes
3 answers
1k views

cannot build assimp with minGw64

I used cmake and I was able to build a C::B project. But Compiling the Assimp.cbp file raised a bunch of errors. Is there someone experimented in compiling assimp with mingw64 under w10 for C::B to ...
user avatar
0 votes
1 answer
532 views

assimp import failing on Xcode

What I'm trying to do ... to import assimp, specifically: #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> and some other assimp headers. ...
blkpingu's user avatar
  • 1,686
0 votes
1 answer
1k views

Cmake not generating assimp solutions properly [Windows 10]

Cmake 3.15 32-bit Assimp 4.1.0 Hi there, I'm experiencing some difficulties with cmake and assimp. For the past few days I have been trying to generate an assimp workspace for CodeBlocks via cmake. ...
SteyrMozzy's user avatar
-1 votes
1 answer
5k views

Dev IL linking and compiling error (0xc000007b) [closed]

I'm trying to make this project work Link to Lighthouse First a bunch of info: I'm using: Windows 7 Pro 64-bit and Visual Studio 2013 Ultimate (Project on default settings which I believe is 32-bit) ...
Patryk Krawczyk's user avatar