open ASSet IMPort library(ASSIMP) is a portable Open Source library to import various well-known 3D model formats

learn more… | top users | synonyms

15
votes
2answers
9k 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. ...
13
votes
1answer
955 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 ...
5
votes
1answer
1k 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 ...
4
votes
1answer
843 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: ...
3
votes
0answers
117 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 ...
2
votes
1answer
266 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 ...
2
votes
2answers
3k 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 ...
2
votes
1answer
878 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 ...
2
votes
1answer
99 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?
2
votes
1answer
226 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 ...
2
votes
1answer
595 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 ...
2
votes
2answers
699 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 ...
1
vote
1answer
219 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 ...
1
vote
1answer
124 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?
1
vote
1answer
718 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: ...
1
vote
1answer
145 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. ...
1
vote
1answer
79 views

Render error in xna DrawPrimitive for Assimp Mesh

I am trying to render the vertices of a scene with a cube I exported as an OBJ from Blender. The 8 vertices become 24 when imported into XNA but when I render it I dont see all faces. This is not an ...
1
vote
0answers
212 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 ...
0
votes
1answer
583 views

Direct3D11 + Assimp imported model corrupted/failed

I use Assimp library to import vertex and index data from model file. I don't know how to correctly create index buffer from mFaces array of aiMesh. Or something wrong, because i my model is ...
0
votes
1answer
459 views

OpenGL 2.1+ Render with data returned form assimp library

I have just readed this tutorial about load a 3D model file: http://www.lighthouse3d.com/cg-topics/code-samples/importing-3d-models-with-assimp/. Its render routine uses a recursive_render function to ...
0
votes
1answer
234 views

Importing an object from Blender into a scene, rotation on X axis?

This is my situation: I save the scene with blender no export with any processing steps. Blender has x right y up -z into the scene for the view coordinates (OpenGL) I have x right y up -z into ...
0
votes
0answers
65 views

Rendering an Assimp Scene object in XNA without DirectX or OpenGL

Is there any site that explains how to render an imported Assimp Scene object in XNA/MonoGame using only the Frameworks available in those libraries? I realize that would be at the Vertex/Matrix level ...
0
votes
0answers
135 views

Why does Assimp appear to be loading vertices in the incorrect order in this code?

I'm getting a weird bug in my code that is reading in the vertices from an .obj file. The .obj file is just a cube, hence there are eight vertices. When I print out the vector it seems to work ...
0
votes
0answers
154 views

bones programmatically in assimp

I am trying to animate a 3d hand object programmatically in Assimp, I have the 3d model being export to collada using Blender. But I have no idea how to go from one bone animate it and then go to the ...
0
votes
0answers
220 views

load textures using assimp

I've got .obj model with .mtl materials.I load like this: When I get aiTextureType_DIFFUSE I create new texture object and then call glGenTextures, glBindTexture and etc. for (unsigned int i = 0 ; i ...
0
votes
0answers
281 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, ...
-1
votes
1answer
113 views

Opengl Obj with multiple textures. Jpg texture don't display

Hi i have problem with jpg textures. DDS is working good but jpg is not. This is my function to load JPG texture. In debuger i see that this works but i dont see anything. char * a =(char *) ...