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

learn more… | top users | synonyms

0
votes
0answers
36 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 : aiNode* CGameObject::findNode(aiNode* rootNode, const char ...
0
votes
0answers
29 views

Collada 3d file type

For animations in the Collada file type. How does it store them? I'm reading them in with Assimp and I got the keys. mNumPositionKeys = 24. I made the animation and it had 24 frames. But only 2 were ...
1
vote
1answer
74 views

Errors when loading Assimp meshes

I am experiencing some oddities when loading meshes in Assimp. Some models render perfectly, while others are complete jumbles of triangles. Some Example Images: Teapot Correct - Teapot Actual ...
0
votes
1answer
111 views

OBJ Model not being rendered properly in OpenGL ES 2 android app

I have an Android OpenGL ES 2 app that loads an .OBJ model using Assimp and renders the same. The vertices data is stored in a object declared like this : class CGameObject { public: struct _Mesh { ...
0
votes
0answers
89 views

Assimp - Error loading .obj files

I'm trying to load .obj files in my little game. I decided to use assimp as tool to import those models. But it seems that assimp does not import them correctly. I looked for a simple cube mesh ...
0
votes
1answer
152 views

Problem rendering simple OBJ model using assimp in android app

I am trying to load an OBJ model (http://pastebin.com/usGFkf4e) into an Android app using Assimp 3.1.1 Assimp model loaded like this : bool CGameObject::LoadModelFromFile(AAssetManager *amgr, ...
1
vote
2answers
34 views

Convert trianlge 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 for my mesh. In OpenGL we have ...
0
votes
1answer
99 views

How to export FBX models to use in SharpDX?

I am trying to export a model from 3ds Max 2014 as a fbx file and use it in my SharpDX driven project. In the SharpDX example solution, there is a project named ModelRendering.Desktop. I just modified ...
2
votes
0answers
81 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 : bool CGameObject::LoadModelFromFile(char* sZFilePath) { std::string fn = sZFilePath; std::string td = "\\"; std::string ...
2
votes
1answer
293 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
98 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 ...
0
votes
0answers
76 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 ...
4
votes
1answer
211 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 ...
0
votes
0answers
244 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 ...
-1
votes
1answer
162 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 *) ...
2
votes
1answer
377 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 ...
0
votes
0answers
165 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 ...
3
votes
1answer
892 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 ...
0
votes
0answers
398 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 ...
3
votes
1answer
326 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 ...
13
votes
1answer
1k 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 ...
2
votes
2answers
894 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 ...
0
votes
1answer
335 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 ...
1
vote
0answers
261 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
682 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 ...
1
vote
0answers
351 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
vote
1answer
258 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 ...
2
votes
1answer
1k 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
2answers
4k 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 ...
1
vote
1answer
147 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?
2
votes
1answer
109 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?
4
votes
1answer
964 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: ...
0
votes
1answer
484 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 ...
1
vote
1answer
810 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: ...
17
votes
2answers
10k 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. ...
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 ...