498 questions
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 ...
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?
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 ...
12
votes
1
answer
3k
views
How to get AssImp to work properly?
I have been trying to do this for about a week with no good anyhow. I am building a .dll (UNDONE Engine .dll) that depends upon Assimp to load models. The .dll compiles and links with no problems at ...
10
votes
0
answers
6k
views
Why do I get a "thread-local storage is not supported for the current target" error when compiling assimp for iOS
I am currently trying to use the assimp library http://assimp.org in an Unreal Engine project. I'm able to compile both the Windows and Mac versions of the library so that I can link them to my ...
10
votes
1
answer
3k
views
Load 3D Model in Unity using Assimp
is it possible to load a 3D model in Unity using Assimp?
When i search for code samples with Assimp, i only find c++ samples using Virtual Studio.
I can load 3D Models with AssimpNET version 3.0 ( c#...
9
votes
1
answer
3k
views
Assimp animation bone transformation
Recently I'm working on bone animation import, so I made a 3d minecraft-like model with some IK technique to test Assimp animation import. Ouput format is COLLADA(*.dae),and the tool I used is Blender....
8
votes
4
answers
7k
views
How do I load roughness/metallic map with Assimp using gltf format?
I try to load a scene that's in gltf format. It has metallic and roughness textures (not embedded). Now I want to load the model with the specified textures using Assimp. I retrieve the textures using ...
7
votes
0
answers
1k
views
How to use Assimp library in Android NDK
I am trying to load 3D model in Android using Assimp library. Can anybody guide me how to use Assimp liberary to load a 3D model in Android device?
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 ...
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):
...
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 ...
6
votes
1
answer
5k
views
How to rotate a skinned model's bones in c++ using assimp?
I could load an animation of a skinned model using assimp by interpolating between key-frames. Now, I have been trying to orient or position bones from a user defined transformation matrix instead of ...
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 ...
5
votes
4
answers
4k
views
Application error - debug exe wont run
I've recently downloaded Assimp and I've run into some troubles.
I've linked the libraries and I can get the program to compile and it runs fine in Release mode; however, the Debug .exe hits me with ...
5
votes
2
answers
6k
views
Assimp model has Textures but no Texture Coordinates
I'm using Assimp to load 3D models into my program. Everything has gone dandy so far, except I've come across a Lightwave object that doesn't seem to make sense. Of course it renders nicely in ...
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 ...
5
votes
1
answer
1k
views
Object loaded via OpenGL Assimp sometimes inverses normals
Currently I'm trying to get lighting working on a cylinder object made in blender (a basic cylinder scaled on the z-axis, no further processing done) and load this object in via Assimp with the ...
5
votes
0
answers
2k
views
How to load model with materials instead of textures OpenGl? [closed]
I used the learnopengl model loading tutorial and their code to load their model. When I tried to load a different model it did not work. After reading online I learned that my model might not have ...
4
votes
4
answers
21k
views
Assimp does not import textures
I am using assimp to import 3d models in my game engine. For some reason, no matter what model or model format I use, assimp does not report any textures whatsoever. Why is this?
The following is the ...
4
votes
1
answer
3k
views
Construct Assimp bone hierarchy, beginning at the root
I am using Assimp.net to import animated .dae files into my OpenTK engine and struggling to establish a usable hierarchal bone structure.
In the tutorial I am following, the root bone, or "joint", ...
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: ...
4
votes
1
answer
5k
views
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,...
4
votes
2
answers
3k
views
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 ...
4
votes
2
answers
5k
views
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 ...
4
votes
1
answer
3k
views
ASSIMP exporting an imported scene without any changes throws exception
I am working on a project where I import a 3D mesh of an avatar using ASSIMP library, update it and export the updated scene again using the same ASSIMP library. To achieve this, as the first step, I ...
4
votes
2
answers
522
views
Determining bone lengths when importing using Assimp
I am trying to load and render some rigged models using Assimp 3.1.1
So I have the aiBone's identified in the hierarchy of aiNode's.
For each aiBone, I have its transformation (TRS) w.r.t. to the ...
4
votes
0
answers
705
views
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 ...
4
votes
1
answer
2k
views
Assimp viewer is much faster then Assimp C++ importer on the same .obj model file
The assimp library provides a nice way to load 3D .obj models from file. However I found out that the assimp_viewer.exe that comes with it (I use version 3.1.1) is much faster in importing my .obj ...
4
votes
0
answers
387
views
Which could be a good structure for assimp material property in Java?
I am doing a port of Assimp to Java here
I am dealing now with materials.. Assimp have a quite complicate structure imho (and they themselves also say it: it's an ugly macro for historical reasons, ...
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-...
3
votes
1
answer
2k
views
OpenGL strange Rendering behaviour (flickering faces)
PRE: I'm using Assimp (Open Asset Import) library to import a .3ds file. Meshes are rendered with normals and materials. Using Qt. Drivers up to date on all the computers we tried.
POST: When I ...
3
votes
1
answer
3k
views
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
http://...
3
votes
1
answer
4k
views
OpenGL Assimp imported model not rendering
I'm trying to load a model using assimp. I'm trying to use indexing, but my model isn't working. My code has no errors (just that the parsing isn't working right for some reason) and this is what it ...
3
votes
3
answers
9k
views
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\...
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 ...
3
votes
2
answers
6k
views
"assimp/config.h" not found, It's in the folder though
I'm using Visual Studio 2019 to make a simple scene with OpenGL. The libraries and includes seem to be correctly configured since I can access the header files and the assimp folderstructure.
When I ...
3
votes
1
answer
2k
views
Assimp incorrectly imports OBJ indices?
I have created my own Model class to abstract the process of importing a model in Assimp, and make it easy to add a model. Currently, I haven't got this to work, and no model is shown. I believe this ...
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 ...
3
votes
1
answer
5k
views
Visual Studio 2010 Assimp library won't link
I seem to have a perpetual problem of never being able to get any library to link with Visual Studio. Ever. I eventually get tired of trying and just include the header and source files manually.
My ...
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).
...
3
votes
1
answer
4k
views
Linking VS2010 with Assimp
I have been trying to get assimp working with VS2010. I have seen many questions similar to this but I just can't get it to work. Read the installation tutorials here http://assimp.sourceforge.net/...
3
votes
1
answer
7k
views
Assimp linker error - undefined references
I have been trying to install Assimp 3.0 recently to load models from Blender to use in OpenGL.
My project is setup in Sublime Text 3, so I have created CMake files to generate the required make ...
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 ...
3
votes
1
answer
981
views
How to load transparent materials using assimp?
I've got a simple scene with a transparent wall and 2 cubes.
The the base color of the transparent wall in Blender is set to: RGBA = {0.8, 0.2, 0.6, 0.3}
I've exported the scene to the gltf format ...
3
votes
0
answers
740
views
Assimp C++ - Faceted / Distorted artefacts: FBX import / export - far from origin
Assimp version 5.0.1
I've recently started using assimp to import an fbx file, do some modifications to each vertex of the meshes, then export back out to either fbx/obj.
I've noticed that after ...
3
votes
0
answers
245
views
Assimp, OpenGL: rotating bone around its origin
I have collada (dae) model created in blender. I load the dae file using assimp and display it using opengl in c++. The model displays correctly (image below).
The sceleton has following structre:
...
3
votes
1
answer
519
views
Installing Assimpcy on Mac M1
I have tried to install assimpcy on Mac Big Sur 11.2.3 (Silicon), despite installing gcc with the brew and Xcode tools, I have the following error when trying to install assimpcy via pip or building ...
3
votes
1
answer
8k
views
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/)
...
3
votes
1
answer
3k
views
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: ...