Questions tagged [assimp]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
2k 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 ...
1
vote
1answer
322 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 ...
2
votes
1answer
50 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, ...
0
votes
0answers
189 views

How to export models with multiple animations using assimp

I'm implementing a model viewer that allows for preview and minor editing of a game's 3d model assets (custom model format). I've been searching on the net, and I see that 90% of the use of assimp is ...
0
votes
1answer
157 views

OpenGL Strange mesh when animating Assimp

I'm trying to animate a skeletal mesh. The mesh loads with no problems and everything is set up correctly. My problem is that when I calculate the matrix for a given keyframe the mesh goes nuts. Here ...
0
votes
0answers
13 views

Question about model loading and textures

I recently learned how to load models with assimp, but I'm confused about something. Assimp loads normal and height vertices, but you can also load height and normal textures. So far, I've done shader ...
0
votes
1answer
119 views

How to use assimp textures with openGL/getting a better understanding

I recently learned how to load a model to openGL using assimp, but I am having trouble figuring out how to do lighting calculations on this model. Previously with my own created objects I would set ...
6
votes
1answer
354 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 ...
1
vote
1answer
131 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)...
1
vote
0answers
141 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 ...
0
votes
0answers
40 views

Frustrum culling without per-mesh positions

I am trying to implement frustrum culling in a C++ renderer im writing but I feel like I hit a brick wall. The plan is to load the Sponza level and per mesh create a collision box using Bullet ...
1
vote
0answers
224 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. ...
1
vote
1answer
271 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: ...
0
votes
1answer
99 views

frustum culling and exporting a big scene model

Let's assume that I created in Blender a race track with landscape. I can export it to single wavefront obj file and then load in my graphics engine using assimp but it doesn't allow to use frustum ...
3
votes
1answer
329 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 ...
0
votes
0answers
106 views

Understanding ticksPerSecond and duration with skeletal animations

That's my first question here so i hope to do all correctly. From various weeks i started surfing the net about Skeletal animation aiming to add a simple animation controller into my small game engine....
2
votes
2answers
906 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 ...
3
votes
0answers
176 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 ...
32
votes
2answers
26k 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. ...
4
votes
2answers
5k 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
186 views

Skeletal animation: unexpected quarternion values

I'm following ThinMatrix's skeletal animation tutorial and his custom written Collada parser is deriving a different rotation quaternion from each keyframe matrix than the Assimp importer library does....
0
votes
1answer
679 views

Exporting a simple mesh from Blender for reading in Assimp

I'm trying to create some simple assets for using in my rendering engine. What I'm trying to do is to generate simple low poly models and then importing them into my application using Assimp. I can ...
1
vote
1answer
280 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 ...
5
votes
2answers
3k 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 ...
1
vote
0answers
643 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 ...
3
votes
1answer
342 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 ...
0
votes
1answer
747 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 ...
5
votes
2answers
5k 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
612 views

Program compiled with assimp will not start

I have recently updated my game engine source code to use the visual studio(2017) vc141 toolkit. I am using Assimp 3.1.1 for model loading. The project compiles and links, and the appropriate dll's ...
1
vote
1answer
1k 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
839 views

OpenGL 2.1+ Render with data returned form assimp library

I have just read this tutorial about how to load a 3D model file. Its render routine uses a recursive_render function to scan all nodes. My question: What does a <...
1
vote
1answer
455 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 ...
3
votes
0answers
85 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 ...
0
votes
1answer
248 views

Errors attempting to use Assimp in DirectX 12

I am trying to load a 3D model within a DirectX 12 project by means of Assimp, but even when I write only the importer function, I get errors I can not fix. How do I fix this? Here is my code: ...
1
vote
1answer
862 views

Incomplete rendering using OpenTK (VBO)

Using Assimp.net I did load obj file. assimp returns back Mesh object that contains vertexes, normals, faces, colors and texture. when I don't use VBO the object will load complete. like this : But ...
0
votes
1answer
484 views

C++ Assimp - Models incorretly drawn/loaded

I've followed a tutorial about using Assimp to load models, but the loaded models are incorrectly drawn: These should be a spheres I've checked my code multiple times but I can't seem to find what I ...
0
votes
1answer
567 views

Models loaded with Assimp have messed up UVs/normals

I've been trying to use Assimp to load models and so far I got it to load a few obj models, but all of them have messed up UVs (and maybe normals). Here's what it looks like : I tried several ...
3
votes
1answer
706 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, ...
1
vote
1answer
184 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) ...
2
votes
1answer
650 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 ...
1
vote
2answers
916 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 ...
1
vote
0answers
873 views

trouble getting correct transforms for multiple meshes from assimp importer

I have had excellent success in extracting almost everything i need from a collada file that i imported with assimp, however I am struggling to get the correct transforms for each mesh in the file. ...
1
vote
0answers
500 views

AssImp Skeletal Animation Issues [closed]

Tried creating an animated mesh but I render it, it comes up as a flat mesh that moves with the camera. Followed the OGL Animation tutorial here (http://www.ogldev.org/www/tutorial38/tutorial38.html). ...
1
vote
0answers
158 views

Skin Mesh Animation Shader Issue

I'm having troubles with properly animating a skin mesh from an .fbx file. I feel like the issue is in the shader, but not sure what is going on. All I know is that I am getting unexpected results ...
1
vote
0answers
160 views

Updating aiScene in ASSIMP with skeleton data

I am working on a project where I take an unrigged closed mesh, import it using ASSIMP, auto-rig it using the algorithm provided by Ilya Baran and Jovan Popovic and again export it using ASSIMP. I ...
-4
votes
1answer
40 views

m_Entries is undefined [closed]

I am following this tutorial and this guy puts in his code m_Entries and doesn't explain it at all at least I think. So any one who has done skeletal animation show me what he is talking about by ...
0
votes
1answer
117 views

m_BoneMapping is undefined in OpenGL Step By Step Skeletal Animation Tutorial [closed]

I am new to this website I was following this specific tutorial on skeletal animation and I have a good idea on what it is, but when I was following his implementation he used a variable called "...
7
votes
0answers
604 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 ...