Skip to main content

Questions tagged [assimp]

ASSIMP is a portable, open-source library to import various well-known 3D model formats.

Filter by
Sorted by
Tagged with
32 votes
2 answers
27k views

I can't figure out how to animate my loaded model with Assimp

I have loaded in a model to my C++ OpenGL game. It is a COLLADA file type that I have loaded, and I setup an animation under blender for the file. The problem is I don't know how to animate the model. ...
Brendan Webster's user avatar
19 votes
1 answer
7k views

Normals vs Normal maps

I am using Assimp asset importer (http://assimp.sourceforge.net/lib_html/index.html) to parse 3d models. So far, I've simply pulled out the normal vectors which are defined for each vertex in my ...
KaiserJohaan's user avatar
  • 1,464
7 votes
0 answers
730 views

How to link assimp lib to universal app

I cannot make assimp object loader work with universal app, and I got the same problem as this one: Assimp and directX12 universal apps I tried the static library approach mentioned in the answer of ...
Oscar's user avatar
  • 261
6 votes
2 answers
14k views

Using Assimp to load dae files

I've started looking into using Assimp to load in dae collada files into my game. I believe I've managed to load the file into aiscene. I am using c++, OpenGL and SFML. My problem lies with ...
Tom Burman's user avatar
6 votes
1 answer
2k views

Problem with Assimp 3D model loader

In my game I have model loading functions for Assimp model loading library. I can load the model and render it, but the model displays incorrectly. The models load in as if they were using a seperate ...
Brendan Webster's user avatar
6 votes
2 answers
4k views

Skeletal animation with Assimp and glm

I'm trying to implement skeletal animation using assimp and glm. Everything seems to work, except for rotations. This is the code I use when packing assimp data into my own engine's format. I THINK ...
Manvis's user avatar
  • 295
6 votes
1 answer
441 views

Set the name of an animation in collada to be used by AssImp

I am using the collada file format to contain my model and animation but when I use AssImp to load the file the name will be empty for the animation. Where is the name for animation set on the collada ...
judeclarke's user avatar
5 votes
2 answers
6k views

ASSIMP in my program is much slower to import than ASSIMP view program

The problem is really simple: if I try to load with the function aiImportFileExWithProperties a big model in my software (around 200.000 vertices), it takes more than one minute. If I try to load the ...
Marco's user avatar
  • 477
5 votes
1 answer
3k views

Strange mesh import problem with Assimp and OpenGL

Using the assimp library for importing 3D data into an OpenGL application. I get some strange problems regarding indexing of the vertices: If I use the following code for importing vertex indices: <...
Morgan Bengtsson's user avatar
5 votes
1 answer
4k views

Skeletal animation in OpenGL

I'm using Assimp to do skeletal animation in my OpenGL application. I used Blender to export this one-boned model to a COLLADA file: The model has only one bone, called arm bone, that controls the ...
McLovin's user avatar
  • 461
5 votes
1 answer
2k views

How do I load a model through AssimpNet into Monogame?

I am new to MonoGame and to 3d and I'm stuck on how to import a model. It seems the best way to import a mesh model and 3d animations in Monogame in Windows 8 is through AssimpNet. I can't find a ...
user1278255's user avatar
4 votes
1 answer
2k views

Multiple texture coordinates per mesh?

So far I've used the same texture coordinate for both the normal and diffuse textures on a mesh, yet when reading the Assimp documentation (http://assimp.sourceforge.net/lib_html/structai_mesh.html#...
KaiserJohaan's user avatar
  • 1,464
4 votes
1 answer
2k views

Assimp skeletal animation matrices

I startded to make an assimp only opengl skeletal animation demo. For that I used this: http://sourceforge.net/p/assimp/discussion/817654/thread/5462cbf5 And something is not correct in bone matrices. ...
Csoki's user avatar
  • 71
4 votes
2 answers
7k views

How do I build Assimp with MinGW?

How can I build Assimp with cMake and MinGW? I tried, but I don't get a functioning library... Details of my attempt: I am trying to build the Open Asset Import Library (Assimp) but I have been ...
Francis's user avatar
  • 159
4 votes
2 answers
2k views

problem loading Collada DAE model using Assimp in OepnGL 4.4

I am loading a model in my OpenGL application using Assimp library like this : ...
Manmohan Bishnoi's user avatar
3 votes
1 answer
5k views

Skeletal animation with ASSIMP, COLLADA, and glm

I have been trying to learn how to implement skeletal animation (skinning) from COLLADA files using ASSIMP and glm. But after a week of being stuck reading different tutorials and posts I have found ...
linfredriksson's user avatar
3 votes
1 answer
10k views

smooth shading vs flat shading, what's the difference in the models?

I'm loading the exact same model with Assimp, except one is exported from Blender, shaded smoothly, and the other was exported from Blender, shaded flatly. Here is my results from loading both into my ...
Brendan Webster's user avatar
3 votes
1 answer
716 views

ASSIMP library imports wrong number of bones from COLLADA file

I have a COLLADA(.dae) file exported from Blender, also I have program that read all data from structure generated with Assimp and I want to translate all data in more readable format. Problem appears ...
Romeon0's user avatar
  • 181
3 votes
1 answer
958 views

Mesh's triangles don't move properly during skeletal animation

I've been trying to implement skeletal animation in my engine using this tutorial, and I've been having problems. Using the model they provided, I get results like this: But on some other models, ...
Yattabyte's user avatar
  • 1,033
3 votes
1 answer
1k views

C++ Assimp - Transformation Hierarchy

I have a question regarding model imports using ASSIMP. I've been working on an Entity and Component (e.g. unity gameobject component) based game engine for fun and to learn in my spare time. I've ...
tadge's user avatar
  • 33
3 votes
1 answer
895 views

Assimp and directX12 universal apps

I started a directX 12 universal app project on visual studios and started coding some stuff to create a physics engine. I was currently working on implmenting Assimp into the engine too load whatever ...
Andrew Wilson's user avatar
3 votes
0 answers
357 views

ASSIMP - Hierarchy Import

I'm, trying to wrap my head around assimp to import some files, including fbx/obj etc. Normally my experience tells me that I start at root node and then recursively load child nodes until I load the ...
Dariusz's user avatar
  • 133
3 votes
0 answers
105 views

Skeletal Animation: No initial bone rotation

I am currently trying to implement animations in my game. I am having an issue where the bones do not rotate properly. In my program, I apply an inverse bind pose to each bone to move them to bone ...
jamesrogers93's user avatar
2 votes
2 answers
1k views

Convert triangle mesh to group of line segments

I have a 3D .OBJ model file that is loaded in my OpenGL ES 2 Android application using ASSIMP library. All the faces are triangulated. I want to draw the wireframe ...
Manmohan Bishnoi's user avatar
2 votes
1 answer
401 views

Cross & dot product using ASSIMP's aiVector3t vector class

I'm using ASSIMP's built in aiVector3t class but I can't find any mention of dot product or cross product in the class documentation. Are these operations defined? If so what is the syntax?
Ken's user avatar
  • 6,146
2 votes
1 answer
1k views

Loading non-skeletal animation to opengl via assimp

I'm a newbie in assimp and openGL. I'm trying to import .fbx or .dae formatted file to openGL via assimp. Importing skeletal animation was kind of easy. Lots of introductions and sample projects ...
Kim.K's user avatar
  • 21
2 votes
1 answer
2k views

Assimp renders a partial amount of vertices

I'm building a 3D game, and i'm trying to load some assets with the nice Assimp library. The model should look like the one in the first picture, but instead, it takes the form of some kind of avant-...
Pol Gomez Riquelme's user avatar
2 votes
1 answer
450 views

ASSIMP Skinning seems to be somewhat inverted

I'm currently implementing Skinning using Assimp as my asset importer. I've relied heavily on the following tutorial in order to skin meshes (http://ogldev.atspace.co.uk/www/tutorial38/tutorial38.html)...
Sammi3's user avatar
  • 229
2 votes
2 answers
2k views

ASSIMP OpenGL collada and Skeletal Animation

first of all i would like to say that i read everything out there and still did not figure it out quite yet. In my project i need to implement a skinning technique, but before going there i need to ...
Bob Maza's user avatar
2 votes
2 answers
3k views

Data structure for multiple Textures in materials in assimp

I'm going through assimp documentation regarding materials. Each material can have multiple textures containing various data (color maps, height maps, etc.) and blending data, etc. I'm trying to ...
dev_nut's user avatar
  • 157
2 votes
2 answers
5k views

ASSIMP transformation hierarchy and animations

I don't fully understand the transformation hierarchy used by ASSIMP. According to the docs (http://assimp.sourceforge.net/lib_html/structai_node.html) an aiNode's transformation is relative to its ...
KaiserJohaan's user avatar
  • 1,464
2 votes
1 answer
235 views

No local transform with skinned mesh with assimp?

I'm trying to add skeletal animation to my engine and I'm importing meshes with assimp, but I think I misunderstood the skinned mesh concepts (or don't understand assimp). When I import a model, ...
Ivan Neves's user avatar
2 votes
0 answers
1k views

How to properly transform vertices for a model loaded using Assimp?

When I try to load a DAE model then vertices are not placed correctly. Here's the code snippet I use to load 3D models using Assimp : ...
Manmohan Bishnoi's user avatar
2 votes
0 answers
1k views

Exporting 3DS Max animated biped character into Assimp

I've been having some trouble with MD5 meshes exported from 3DS Max into my C++ program, using Assimp to import the model and its skeletal animation. If the models were rigged manually with bones, ...
Doug Kavendek's user avatar
2 votes
1 answer
986 views

ASSIMP skeletal animation with some FBX files has issues - weird node added

Hi I'm trying to work load fbx files to my OpenGL Renderer using ASSIMP. However, weird nodes that are not in the original fbx file are added whenever I load the file with the ASSIMP importer. For ...
Peter's user avatar
  • 153
1 vote
1 answer
610 views

How to remove a node from a scene imported with Assimp?

I need to remove one object from the scene graph imported by Assimp and I can't. I've tried to change aiScene.h including a method called DelNode and I can´t. How can I do it - is it possible?
Carlos's user avatar
  • 11
1 vote
1 answer
246 views

Best format for model with double UV sets [closed]

I'd like to use first UV set as wrapping (or when some faces cover another on UV) diffuse color map and second UV set as baked ambient occlusion (packed to islands) ...
patrykbajos's user avatar
1 vote
1 answer
1k views

Assimp, Blender and model rotating

There is something I can't figure out. I have two models - grass.blend and tower.blend. grass.blend: tower.blend: Note X, Y and Z axises. The problem is that when I load these models using Assimp ...
Aleksander Alekseev's user avatar
1 vote
1 answer
472 views

OpenGL / Assimp oddity or error?

A friend and I are working on developing a game engine in C++. He doesn't live anywhere near me, so we use Dropbox to sync our files. I opened his project to test his code, and I kept getting errors ...
Brandan W. Jablonski's user avatar
1 vote
1 answer
2k views

Child transforms problem when loading 3DS models using assimp

I'm trying to load a textured 3d model into my scene using assimp model loader. The problem is that child meshes are not situated correctly (they don't have the correct transformations). In brief: ...
MhdSyrwan's user avatar
  • 261
1 vote
1 answer
50 views

Issue with CompoundShape Scaling in BulletSharp/Assimp Integration

I’m trying to create a CompoundShape using BulletSharp and Assimp for my 3D physics engine. ...
Wagner Andreas's user avatar
1 vote
1 answer
399 views

OpenGL is not drawing model with more than one material

I have model created in Blender that have 3 UV Maps, 3 materials and each material has texture. Below you can see it. Also I have OpenGL application that draw this model. Application is working ...
Romeon0's user avatar
  • 181
1 vote
1 answer
286 views

C++ - Assimp - OpenGL vertex data feed problem

I'm getting a very weird problem where OpenGL doesn't use the hardware to render anything, so I get just a cleared blank screen. Here's some code: ...
curious student's user avatar
1 vote
2 answers
1k views

FBX animation works in 3DSMax but not with Assimp [closed]

I have an FBX file that represent a plane with an animation of the gear opening. In my editor 3DSMax or in the Unity editor, the file and animation seem good, but when I use Open 3D Model(the official ...
Evans Belloeil's user avatar
1 vote
1 answer
2k views

Blender, Exporting to Collada, Assimp and Normal Maps

I have a simple model that uses a diffuse and a normal map - in this case just two textures applied to the same material, where for the normal map I uncheck all the options in the "Influence" section ...
TravisG's user avatar
  • 4,432
1 vote
1 answer
409 views

Need help with Assimp skeleton animation

I have recently implemented skeleton animation in my custom engine by following this tutorial. I made several improvements based on that, and was able to load/play simple humanoid animations without ...
neo-mashiro's user avatar
1 vote
0 answers
3k views

Convert fbx to 3ds using assimp

I have found some kind of explanation about working with Asset-ImporterLib here. Unfortunately it's very badly done and really important things are not explained at all. There is a piece of code which ...
convert's user avatar
1 vote
0 answers
567 views

Exported Blender model is flipped when Imported into game using Assimp

I have made a 3D game engine, and as part of this I use Assimp to load in meshes to my game. One of the meshes I load in is my ...
Kyle_Pearce's user avatar
1 vote
0 answers
539 views

How is root motion done in Skeletal animation

I am using Assimp library to load bone and mesh data and using basic interpolation to accomplish the animation part. Right now I want to move my character position with animation, i.e. root motion. ...
videogamechef's user avatar
1 vote
0 answers
1k views

ASSIMP aiNode->mMeshes understanding

I'm trying to use ASSIMP to load an fbx file with a skeleton and animations, but I'm stuck on something I'm misunderstanding and struggling to see it. I've attached 2 images, one of the fbx file as ...
Dtor's user avatar
  • 75