Questions tagged [assimp]

Open Asset Import Library (short name: Assimp) is a portable Open Source library to import various well-known 3D model formats in a uniform manner.

Open Asset Import Library (Assimp) is a portable open source library to import various 3D model formats in a uniform manner.

Written in C++, it is available under BSD license.

492 questions
2
votes
1 answer

Assimp won't build correctly in Code::Blocks - "TVITEMEXW not declared in current scope"

I'm currently working through the LearnOpenGL tutorials, which has been going fine thus far, until I've hit the model loading portion of the tutorial. LearnOpenGL uses the Assimp library to handle model loading, but I don't seem to be able to get it…
2
votes
1 answer

glm quaternion rotation merge

I am currently trying to figure out how quaternions multiply and concatenate with each other in glm for opengl, but every thread I find only mentions 1 quaternion rotation.... Basically, how can I combine quaternions such that all the rotations…
Jas
  • 850
  • 7
  • 21
2
votes
0 answers

problems import IFC in Unity3D

I’m writting to you this email because i’ve got some trouble to create a script in unity 3d (version 5.3.4f1). First i tried with assimpNet 3.0 (because i’veread that it works better) but when i try to get the tree structure of my ifc file, it…
MarcMARTIN
  • 21
  • 4
2
votes
1 answer

can't use assimp library

I installed the assimp library using these commands: sudo apt-get install libassimp-dev assimp-utils sudo apt-get install libxmu-dev libxi-dev I downloaded the c++ source code from the assimp website, but it shows errors that I am not able to…
darth vader
  • 321
  • 1
  • 4
  • 13
2
votes
1 answer

Assimp Skinning Global Transforms

I'm currently implementing Skeletal Animation into my 3D OpenGL Game Engine using the ASSIMP library, unfortunately it isn't going all that great. The problem I am currently facing is that the concatenated bone transforms (the parent-child…
2
votes
1 answer

Building assimp 3.2 does not work anymore

I can't build assimp 3.2 anymore. Yesterday it worked but today it doesn't. I am downloading assimp from here. Then I'm doing cmake CMakeLists.txt -G 'Unix Makefiles' and make as described in their INSTALL file. However when doing make I get the…
gartenriese
  • 4,131
  • 6
  • 36
  • 60
2
votes
1 answer

How to separate opaque from transparent objects in OpenGL

I'm trying to implement transparency in OpenGL and from what I've read it's necessary to first render all opaque objects and then render the transparent objects in the correct order. My issue is how do I go about separating opaque from transparent…
jocamar
  • 83
  • 9
2
votes
1 answer

Assimp faces indices

I have been using Assimp for a while and now I'm trying to load a .obj file. It loads perfectly, but I would like to manipulate the face data after loading it. Basically I have this in the simple cube.obj file (Full file - …
petradragon4
  • 21
  • 1
  • 3
2
votes
2 answers

Assimp Faces all have indices (0,1,2)

I'm using Assimp to load in OBJ files to render in OpenGL using my own rendering pipeline. But when I load in a file, every face has indices (0,1,2), rather than appropriate entries into the vertex array. Every example I could find does something…
Illiander
  • 43
  • 4
2
votes
1 answer

How to set up JAssimp?

Assimp is a library used for importing 3D models into your application. It is written for C++, but there is a port for java called jassimp. For the past 5 or 6 hours I've been trying to set up jassimp in Eclipse and cannot get it to work. I…
hacksoi
  • 1,301
  • 13
  • 23
2
votes
2 answers

Assimp leaking memory

I recently passed my game engine to a memory leak test with valgrind; it actually told me that there are ~7000 bytes being leaked in my Mesh class; the strange thing is that is tells me this : 7,280 bytes in 1 blocks are definitely lost in loss…
Coder32
  • 181
  • 1
  • 10
2
votes
2 answers

assimp not loading correctly

I'm a having problem loading meshes using Assimp. Some of the faces are not displayed even after ambient lighting. I'm using the code provided in the learnopengl.com tutorials for loading the mesh. I've included my Mesh and Model source below and…
2
votes
2 answers

Cannot link assimp with cmake

So I've set up a CMakeLists.txt script (runs fine), which sets up my project : Problem is when I run the makefile, everything runs fine, until it prints me : PS : I installed assimp like this (I'm on linux/ubuntu) : sudo apt-get install…
user4807452
2
votes
1 answer

error LNK2019 linking assimp

I'm trying to get assimp samples to work in VC++ 2010 and I'm getting link errors. http://assimp.sourceforge.net/lib_html/install.html I set include and library directories up, copied the assimp.dll to System32 and put 'assimp.lib' to library…
nassim22
  • 31
  • 1
  • 2
2
votes
1 answer

Compiling Assimp.NET under Mono/Linux

I'm trying to use MasterQ32's OpenWorld.Engine on Ubuntu. I've followed the example scene from the "Documentation". Everything is working well, except asset importing. Interestingly enough, the same error occurs on Windows 7 too: Assimp.NET's…