Questions tagged [assimp]
ASSIMP is a portable, open-source library to import various well-known 3D model formats.
89 questions
1
vote
1
answer
846
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
1
answer
1k
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 ...
1
vote
0
answers
1k
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
0
answers
584
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
0
answers
167
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
0
answers
232
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 ...
1
vote
1
answer
872
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
...
1
vote
1
answer
3k
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 ...
1
vote
1
answer
352
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
0
answers
5k
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 ...
0
votes
1
answer
2k
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
1
answer
3k
views
How to load an FBX animation file in ASSIMP?
I have an example from a LearnOpenGL tutorial which loads the animations. Now, I want to use that to render FBX animation, but the result is totally wrong.
What I want is simply to load an FBX ...
0
votes
1
answer
213
views
Wrong Animation with OpenGL and Assimp
im currently trying to render an Animation with OpenGL. I load the Model and the animation with Assimp.net an C# wrapper from Assip. Rendering the Mesh works fine but everytime when i try to update ...
0
votes
1
answer
926
views
Objects lose their individual positions and rotations when imported from FBX using Assimp
I am a newbie trying to learn DX11.
I successfully put my obj model into the program by using assimp.
Unfortunately, I cannot load the same model in fbx format correctly (both of them were exported ...
0
votes
1
answer
989
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 ...
0
votes
1
answer
392
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
1
answer
243
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 ...
0
votes
1
answer
350
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
1
answer
1k
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 ...
0
votes
1
answer
467
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:
...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
133
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 "...
0
votes
1
answer
1k
views
change position/orientation of a bone using assimp
I have been using assimp to import rigged models and animations. I followed this tutorial for skeletal animation and I have got it done properly. The part that I am trying to do now is to orient a ...
0
votes
1
answer
2k
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 :
...
0
votes
1
answer
817
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 ...
0
votes
1
answer
2k
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 the ...
0
votes
1
answer
879
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 <...
0
votes
0
answers
35
views
Does an animation need to be loaded with a model?
I'm using assimp for my C++ rendering engine and I'm having difficulties with skeleton animations I've gone through a couple of tutorials/guides such as the skeletal animation chapter on learnopengl ...
0
votes
0
answers
166
views
What is the best way to load models with support for multiple textures per mesh?
Currently, I have a model loader heavily inspired by the one made in LearnOpenGL, which works fine when loading regular models. I made a simple cube in Blender, exported it as an OBJ and I'm able to ...
0
votes
1
answer
113
views
What is the best way to handle more bone weights than allowed in code?
I am currently attempting to incorporate animated models in my game engine, using Assimp to load the models. I can load and render the static model just fine, but when I try to enable the animation, ...
0
votes
1
answer
109
views
Vertices index access violation when loading mesh by Assimp
Currently, i am implementing the model loading feature for my game engine using Assimp. But i got an access violation error when loading my FBX model. The problem is that although the ...
0
votes
0
answers
116
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 ...
0
votes
0
answers
401
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....
0
votes
1
answer
796
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
2
answers
2k
views
Assimp Texture Coords problem
I've got a problem when loading objects using assimp. I did succesfully load vertex data and I am able to draw static mesh (without bones and animations, I've got few bugs there but I'll go back to ...
0
votes
0
answers
170
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
0
answers
2k
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 ...
-1
votes
1
answer
853
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.
...
-4
votes
1
answer
45
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 ...