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
3
votes
1 answer

Linking VS2010 with Assimp

I have been trying to get assimp working with VS2010. I have seen many questions similar to this but I just can't get it to work. Read the installation tutorials here http://assimp.sourceforge.net/lib_html/install.html and still can't get it to…
Mantracker
  • 613
  • 10
  • 22
3
votes
0 answers

std::bad_alloc at memory location exception while loading a 3D object using Assimp

I'm trying to load 3D objects using Assimp built with VS2008. The Assimp example code loads the object correctly until I define (but don't instantiate) a mesh class to handle the object data in my build. Specifically, the error occurs when I include…
maogenc
  • 203
  • 7
  • 13
3
votes
1 answer

OpenGL Assimp imported model not rendering

I'm trying to load a model using assimp. I'm trying to use indexing, but my model isn't working. My code has no errors (just that the parsing isn't working right for some reason) and this is what it is: void loadOBJ(const char *path, int…
mepmerp
  • 701
  • 1
  • 9
  • 16
3
votes
0 answers

loading 3d model in directx 11 assimp

I'm newcomer in this forum. I'm trying load 3d model im my programm using assimp, but there is some errors occured. There is my code: bool Model::LoadModel(const char* fileName) { Assimp::Importer imp; const aiScene* pScene = NULL; const aiMesh*…
eugene
  • 31
  • 2
  • 5
3
votes
1 answer

Assimp linker error - undefined references

I have been trying to install Assimp 3.0 recently to load models from Blender to use in OpenGL. My project is setup in Sublime Text 3, so I have created CMake files to generate the required make files for me to build my project. All of the other…
Lucas
  • 10,476
  • 7
  • 39
  • 40
3
votes
1 answer

Visual Studio 2010 Assimp library won't link

I seem to have a perpetual problem of never being able to get any library to link with Visual Studio. Ever. I eventually get tired of trying and just include the header and source files manually. My latest endeavour is trying to set up Assimp. I…
kbirk
  • 3,906
  • 7
  • 48
  • 72
2
votes
2 answers

Assimp can't find utf8.h header

I've just started playing around with Assimp to parse some stl files. I built it from source and installed it as a static library in my system (Manjaro Linux x86_64 - Kernel 6.2.6-1). To get a feel of how the library works, I am trying to run the…
2
votes
1 answer

Mesh loaded with Assimp displaying partial amount of vertices?

I was writing a mesh loader for a DirectX 11 project using C++, and I decided to use assimp because of the experience I gained with the API while learning OpenGL. The loader has no issues dealing with smaller meshes, but when the amount of vertices…
MindOfTony
  • 33
  • 5
2
votes
0 answers

DirectX C++ Skeletal Mesh is really distorted when it is transformed (CPU Skinning) (using Assimp)

I have a skeletal model and it looks right when it is loaded. When it is transformed it is really distorted. To me it seems to be stretched in the Y-axis It doesn't have much detail because I haven't got to that yet. I just have values inputted when…
GamerDude
  • 21
  • 1
2
votes
0 answers

How to load transparent materials using assimp?

I've got a simple scene with a transparent wall and 2 cubes. The the base color of the transparent wall in Blender is set to: RGBA = {0.8, 0.2, 0.6, 0.3} I've exported the scene to the gltf format and loaded it using assimp. My material extraction…
BrodaJarek3
  • 311
  • 1
  • 9
2
votes
2 answers

Skeletal animation bug with Assimp in DirectX 12

I am using Assimp to load an FBX model with animation (created in Blender) into my DirectX 12 game, but I'm experiencing a very frustrating bug with the animation rendered by the game application. The test model is a simple 'flagpole' containing…
2
votes
0 answers

lmport/Export .dwg file to Scene3d in qt3d

I have a simple program that has Scene3d in qml like this code : Scene3D { id : scene3d anchors.fill: parent focus: true aspects: ["render", "logic", "input"] hoverEnabled: true cameraAspectRatioMode:…
Parisa.H.R
  • 3,303
  • 3
  • 19
  • 38
2
votes
1 answer

Fastest way to deal with multiple textures in OpenGL?

For each type of texture (ambient, diffuse, specular, etc) assimp will return a list of textures. How do we deal with that many textures? It seems that the number of texture binds for every model may increase drastically. It would be interesting if…
Ariel
  • 21
  • 4
2
votes
0 answers

How to export an fbx from an imported obj using assimp

I am creating my C++ game engine and I wanted to be able to export my scenes using the FBX format. So, when I tried to export an FBX from a previously imported OBJ file, that actually renders correctly. But it is not exported correctly when…
2
votes
1 answer

How to build Assimp library in 32-bit for C++?

I am trying to build Assimp as a 32-bit library so I can load models with it. However, I have tried generating solutions with every version of Assimp with CMake and it only gives me a x64 option. How do I compile any version of Assimp for 32-bit as…
username3630
  • 111
  • 1
  • 7