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
24
votes
1 answer

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 AssimpContext()) { scene =…
Everts
  • 10,408
  • 2
  • 34
  • 45
14
votes
3 answers

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
  • 3,295
  • 7
  • 32
  • 67
12
votes
1 answer

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 directory, loaded cmakeGui and ran configuration…
eternalNoob
  • 307
  • 2
  • 10
12
votes
1 answer

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 all, but when I try to use it with some…
The Light Spark
  • 504
  • 4
  • 19
10
votes
0 answers

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 project. The issue I'm facing now is getting the iOS…
mattwallace
  • 4,132
  • 6
  • 43
  • 77
9
votes
0 answers

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# wrapper) with c# code, but my goal is to use…
Jenni B.
  • 91
  • 1
  • 3
8
votes
1 answer

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. On the programming side, my enviroment is…
Tokenyet
  • 4,063
  • 2
  • 27
  • 43
7
votes
4 answers

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 GetTexture(), but aiTextureType doesn't have…
DaOnlyOwner
  • 343
  • 3
  • 8
7
votes
0 answers

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?
Abhijeet
  • 121
  • 8
6
votes
5 answers

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): install TARGETS given no RUNTIME DESTINATION for…
CloudL
  • 201
  • 1
  • 5
  • 16
6
votes
1 answer

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 just loading it from an animation file. Like,…
user3124361
  • 471
  • 5
  • 21
5
votes
3 answers

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
  • 749
  • 1
  • 15
  • 28
5
votes
1 answer

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 following options aiProcess_GenSmoothNormals |…
Joey Dewd
  • 1,804
  • 3
  • 20
  • 43
5
votes
2 answers

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 Blender itself. Assimp::Importer importer; const…
sub_o
  • 2,642
  • 5
  • 28
  • 41
5
votes
2 answers

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 Lightwave, but in Assimp there are no texture…
GraphicsMuncher
  • 4,583
  • 4
  • 35
  • 50
1
2 3
32 33