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
0 votes
0 answers
74 views

Animation not animating correctly in assimp [closed]

I'm using assimp in my C game engine (which uses Vulkan) to try and animate a model but it's animating extremely weirdly. The animation implementation is based off the learnopengl.com skeletal ...
Slugarius Maximur's user avatar
2 votes
2 answers
59 views

What is the purpose of the pkey parameter?

I want to read a diffuse texture like this: aiGetMaterialString(material, AI_MATKEY_COLOR_DIFFUSE, // this is the pkey parameter aiTextureType_DIFFUSE, ...
user1785730's user avatar
  • 3,759
0 votes
1 answer
76 views

Reading a 3D model with lwjgl-assimp failes in Clojure

This is my Clojure code: (ns learnopengl.mesh-model (:import [org.lwjgl.assimp Assimp AINode AIMesh])) (defn read-model "read a 3D model from a file" [path] (let [scene (Assimp/...
user1785730's user avatar
  • 3,759
1 vote
1 answer
179 views

Failing to load FBX meshes with correct transform. Assimp 5.2.5

I exported a model to fbx format inside 3ds max. Inside Max the scene look like this: When i import it in my software i get this: https://youtu.be/WPQnkxzL24g The meshes transform is wrong. But if I ...
TheChamp's user avatar
1 vote
0 answers
162 views

Visual Studio 2022 OpenGL Project: 'assimp/Importer.hpp' Not Found Despite Correct Include Path

I keep getting below error during build at #include <assimp/Importer.hpp> Error: C1083: Cannot open include file: 'assimp/Importer.hpp': No such file or directory I have tried to clean the ...
Zoro's user avatar
  • 41
0 votes
1 answer
150 views

Texture mapping issues with Assimp and OpenGL: Some meshes have incorrect UV mapping [closed]

I am trying to load and render 3D models using C++, modern OpenGL (glfw 3.4.0, glad, glm), and the newest Assimp. My model loader is mostly working, but I am encountering an issue where some meshes ...
Leonard's user avatar
  • 19
0 votes
0 answers
132 views

C++/Raylib - Unable to load mesh with Assimp

I want to preload 3d obj files before I run InitWindow from Raylib by preloading with assimp. So I have the following code: std::vector<Mesh> preloadedMeshes; // Store preloaded meshes std::...
Venelin's user avatar
  • 3,346
1 vote
0 answers
28 views

Assimp .NET Model Animation went wrong (DEFAULT VALUES?)

I made today a skinned mesh, and i tried out my Blockbench model with a animation and saw that the keyframes of this model that set to 0 not set into the model, so my question is now how can i ...
MrScautHD's user avatar
1 vote
1 answer
96 views

What am I doing wrong when loading a skeleton and animation?

I am trying to load an animation and skeleton using assimp. Im not sure if im doing the matrix multiplication correct or if I'm missing a Inverse or transpose somewhere. My engine is using a ...
ZultooX's user avatar
  • 19
2 votes
1 answer
78 views

Strange relative paths containing "*0\0" or "*1\0" cutting off the first 3 characters of path while working with Blender, Assimp.NET and FBX files

I am trying to make a program to merge fbx models. Each model have multiple nodes. Some of the nodes have a specific name meaning that those are functioning as connection points for other models. I ...
Nova's user avatar
  • 21
0 votes
1 answer
81 views

How can I use assimp's aiMeshMorphKey to animate a character's facial expressions?

I'm trying to implement facial expressions using morph animation in my 3D application. I've been looking into the assimp library and found the aiMeshMorphKey structure within the aiAnimation. Could ...
siwameron's user avatar
-1 votes
1 answer
69 views

What is aiAnimation in assimp library?

What is aiAnimation in assimp library? I learned about implementing skeletal animation using assimp at the link below.text Therefore, I loaded a 3D model file intended to be used in Unity and an FBX ...
siwameron's user avatar
0 votes
0 answers
15 views

Miscalculating skeleton matrices from assimp

After loading a model with assimp, all the bone data, nodes, etc, I went on a two step task to implement skinning. If I use just the vertex data with the node hierarchy, I am able to render the model ...
Joao Pincho's user avatar
  • 1,001
0 votes
0 answers
39 views

CMake: including assimp header files and linking to shared library [duplicate]

I am trying to include the assimp library to import models. When I went to compile the code using CMake I got a series of errors. I followed the build instructions to build a dynamic library on Assimp'...
aag's user avatar
  • 13
0 votes
0 answers
239 views

Helix Viewport + SharpDX - Loaded models not visible in viewport

For some reason I can't see any of the models I'm importing into this Helix viewport I've set up. I've tried a thousand code combinations, drawing from the examples in the HelixToolkit git as well. ...
aten intelligencecasino's user avatar
1 vote
0 answers
47 views

How to convert UTextureRenderTarget2D to Assimp embaded texture?

I'm using Assimp to export FBX with embedded textures. Reading an image from a png file (into the built-in aiTexture*) works fine. But when I try to convert UTextureRenderTarget2D to aiTexel* pcData I ...
DigitalBug's user avatar
0 votes
1 answer
37 views

Getting a lot of "Duplicate class ... found in modules assimp.jar"

I'm creating an Android app using Kotlin to read PLY files and render them using OpenGL. I found about the Assimp library and tried some approaches like building from its source (had issues creating ...
juliano.net's user avatar
  • 8,187
0 votes
1 answer
91 views

Using rapidjson and assimp together causes rapidjson to behave unpredictably

I have the following test program (test.gltf is a file containing just "{}"): #include "assimp/Importer.hpp" #include "assimp/postprocess.h" #include "assimp/scene.h&...
Adversus's user avatar
  • 2,266
0 votes
1 answer
295 views

PyAssimp error for any loaded file - Scene has not attribute meshes, materials or textures

I am trying to get any sample (including the ones found in the Assimp repo) to work. Using pyassimp 5.2.5 with Python 3.11.6. Below there is an example for a very basic call. I am loading an OBJ of a ...
rbaleksandar's user avatar
  • 9,812
0 votes
1 answer
717 views

Converting local space normals into world space

I need to convert a local space mesh into global space. The resulting normal vectors don't seem to be correct. I got the world transform matrix for the vertex (Which works, because the position of the ...
Fynn Haupt's user avatar
0 votes
1 answer
76 views

UV texture mapping issue in .X file using assimp

Describe the bug UV texture mapping issue in .X file, sometimes it loads perfectly but in some rare cases it happens. To Reproduce Steps to reproduce the behavior: Try loading Land_Objects_WareHouse....
Pratik kumar's user avatar
0 votes
1 answer
226 views

Issue Linking Assimp Windows 11

I am having issues with linking assimp in c++ for windows 11. I am working the the LearnOpenGL tutorial however I cannot get assimp to link correctly. I am able to make, and generate the assimp .dll ...
Maxwell Stevens's user avatar
1 vote
1 answer
418 views

DirectX12 Problems with skeletal animation and Assimp library

I'm trying to implement skeletal animation in my game engine but I'm running into problems when animating the bones in C++. The character animates but the torso and arms appear twisted. I'm following ...
GCourtney7's user avatar
0 votes
1 answer
115 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 ...
MARCOS MEDINA's user avatar
0 votes
1 answer
75 views

cookTriangleMesh access exception

PxTriangleMesh* PhysX::CreateTriangleMesh(const PxVec3* verts, const PxU32 numVerts , const PxU32* indexs, const PxU32 numIndexes, PxPhysics* physics, PxCooking* cooking) { // Create ...
shroow's user avatar
  • 1
0 votes
2 answers
83 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&...
TheChamp's user avatar
0 votes
1 answer
478 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), ...
yldbear77's user avatar
0 votes
1 answer
202 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 ...
YoonSeok OH's user avatar
0 votes
1 answer
1k 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 ...
Ian vos's user avatar
  • 49
1 vote
0 answers
62 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 ...
user19632259's user avatar
1 vote
0 answers
71 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 ...
user19632259's user avatar
0 votes
1 answer
514 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 ...
Sridharan's user avatar
0 votes
1 answer
134 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 ...
Kevin Shaughnessy's user avatar
0 votes
1 answer
230 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 ...
will martin's user avatar
0 votes
1 answer
668 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}/...
LucasSokol's user avatar
0 votes
1 answer
100 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/...
Scollier's user avatar
  • 631
0 votes
1 answer
277 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 ...
SGriffeth's user avatar
0 votes
1 answer
1k 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) { ...
Samma's user avatar
  • 1
0 votes
1 answer
680 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 ...
Zi1mann's user avatar
  • 344
0 votes
1 answer
425 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)...
paul 's user avatar
3 votes
0 answers
315 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 ...
Gregm8's user avatar
  • 31
1 vote
1 answer
233 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#...
SZYoo's user avatar
  • 488
2 votes
2 answers
2k 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 ...
Filipe Pedrosa's user avatar
0 votes
1 answer
396 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 ...
Flair's user avatar
  • 3
1 vote
1 answer
2k 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: ...
HolyCowOfDoom's user avatar
0 votes
1 answer
111 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!
gpu's user avatar
  • 133
0 votes
0 answers
55 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 ...
Newb_newb's user avatar
1 vote
1 answer
445 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....
Arkady Rudenko's user avatar
0 votes
1 answer
295 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 ...
davidusw's user avatar
0 votes
1 answer
255 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 ...
Artrm Kovalchuk's user avatar

1
2 3 4 5
10