75 questions with no answers
1
vote
0
answers
162
views
Visual Studio 2022 OpenGL Project: 'assimp/Importer.hpp' Not Found Despite Correct Include Path
I keep getting below error during build at #include <assimp/Importer.hpp>
Error: C1083: Cannot open include file: 'assimp/Importer.hpp': No such file or directory
I have tried to clean the ...
0
votes
0
answers
132
views
C++/Raylib - Unable to load mesh with Assimp
I want to preload 3d obj files before I run InitWindow from Raylib by preloading with assimp. So I have the following code:
std::vector<Mesh> preloadedMeshes; // Store preloaded meshes
std::...
1
vote
0
answers
28
views
Assimp .NET Model Animation went wrong (DEFAULT VALUES?)
I made today a skinned mesh, and i tried out my Blockbench model with a animation and saw that the keyframes of this model that set to 0 not set into the model, so my question is now how can i ...
2
votes
0
answers
825
views
Calculating the final bone transformation for a skeletal animation
I have a simple model with a simple skeletal structure that I made in blender. Here's how it looks:
And here's the hierarchy in blender:
As you can see it has two bones: One that goes halfway up the ...
0
votes
0
answers
15
views
Miscalculating skeleton matrices from assimp
After loading a model with assimp, all the bone data, nodes, etc, I went on a two step task to implement skinning.
If I use just the vertex data with the node hierarchy, I am able to render the model ...
0
votes
0
answers
239
views
Helix Viewport + SharpDX - Loaded models not visible in viewport
For some reason I can't see any of the models I'm importing into this Helix viewport I've set up. I've tried a thousand code combinations, drawing from the examples in the HelixToolkit git as well. ...
1
vote
0
answers
47
views
How to convert UTextureRenderTarget2D to Assimp embaded texture?
I'm using Assimp to export FBX with embedded textures.
Reading an image from a png file (into the built-in aiTexture*) works fine.
But when I try to convert UTextureRenderTarget2D to aiTexel* pcData I ...
2
votes
0
answers
2k
views
How to export an fbx file with assimp that can be used in Unity?
I use Assimpnet to export an fbx file with a skinned mesh, skeleton and animation from Unity at runtime. The fbx file works perfectly well when imported into Blender or Maya, but when in open Unity ...
1
vote
0
answers
62
views
Can you check if there are any errors in the collada (.dae) models that I extracted?
I used the Assimp loader in my DirectX 11 engine to open my .dae model files, but it's not functioning correctly.
My team and I don't believe there are any errors in my code, so I asked others for ...
1
vote
0
answers
71
views
The .dae model loaded with Dx11 assimp looks strange
(The Pictures are at bottom)
I am currently using assimp in my DX11 engine to load models, but I am facing difficulty in concatenating two models together.
I am recreating Super Mario Odyssey for my ...
3
votes
0
answers
315
views
Struggling to implement assimp skeleton into DX12
Recently I have been trying to implement assimp into Frank Luna's basic dx12 engine as part of my learning. I have had real trouble getting the matrix mathematics working correctly, and have hit a bit ...
1
vote
0
answers
4k
views
Importing 3D models with Assimp is not working
I am trying to read different 3D formats using Assimp. My corresponding C++ code looks like this:
void loadScene(string myFile)
{
Importer importer;
const aiScene *scene = importer.ReadFile(...
0
votes
0
answers
55
views
Using StandardCyborgCocoa add swiftassimp as a local library building for ios on mac m1
I got the git clones of StandardCyborgCocoa and swiftassimp locally on my mac, and installed assimp, a dependency of swift assimp, as homebrew. When I tried to apply swiftassimp as a local package in ...
0
votes
0
answers
424
views
pyassimp.load extremely slow or hanging indefinitely
I am trying to load a low-poly FBX file into my python program with pyassimp, but it is unusable slow. I am using pyassimp version 4.1.4, and I built assimp version 5.2.5 from source (https://github....
1
vote
0
answers
110
views
Three.js skinning issue from OpenAssetImport-converted model
I've been trying to understand the maths behind Three.JS's skinning and I've been stuck there for a while.
My use case is loading "any" 3D model that is passed through OpenAssetImport and ...
0
votes
0
answers
490
views
Assimp - Windows - CMakeList - Failing to import
I know this question has been asked before (lot of times).
How to include Assimp with CMakeLists?
CMakeLists Including OpenGL, glew, glfw, glm and assimp
But I still cannot get it to work (normally).
...
0
votes
0
answers
714
views
How to remove duplicate vertices from a mesh?
I am using assimp to import a mesh created using blender.
Here is the code for that:
Assimp::Importer importer;
// And have it read the given file with some example postprocessing
// Usually - if ...
3
votes
0
answers
740
views
Assimp C++ - Faceted / Distorted artefacts: FBX import / export - far from origin
Assimp version 5.0.1
I've recently started using assimp to import an fbx file, do some modifications to each vertex of the meshes, then export back out to either fbx/obj.
I've noticed that after ...
0
votes
0
answers
848
views
How could i convert texture from Assimp to UTexture2D from Unreal engine
I'm working on load FBX/Obj file to UE4 with Assimp library, it's works good for Android, IOS and Windows for now. The problems is i need to import the texture sperate every time i load the 3D Mesh, ...
3
votes
0
answers
245
views
Assimp, OpenGL: rotating bone around its origin
I have collada (dae) model created in blender. I load the dae file using assimp and display it using opengl in c++. The model displays correctly (image below).
The sceleton has following structre:
...
2
votes
0
answers
418
views
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&...
0
votes
0
answers
381
views
How to get non-rigged keyframe animations using assimp and collada?
How do I extract keyframe animations(without bones) from .dae(collada) files using assimp? I followed tutorials on how to achieve this for skeletal animations. But I need to be able to do this for ...
10
votes
0
answers
6k
views
Why do I get a "thread-local storage is not supported for the current target" error when compiling assimp for iOS
I am currently trying to use the assimp library http://assimp.org in an Unreal Engine project. I'm able to compile both the Windows and Mac versions of the library so that I can link them to my ...
1
vote
0
answers
1k
views
Trouble building Assimp in Visual Studio from CMake subdirectory
I have Assimp as a git submodule in my project and I'm trying to write a CMakeLists.txt that lets me build Assimp and link it with my application. Assimp builds successfully when I do an out-of-source ...
1
vote
0
answers
456
views
assimp: Loading "mTransformation" and "mOffsetMatrix" the right way. How to load skeletal animation from assimp?
I am currently trying to load a skeletal animation from a collada file (.dae).
But there seems to be a bug in my code which I can not find myself.
The bug visualizes in not showing the last child's of ...
0
votes
0
answers
657
views
Linker error with assimp, conan and cmake
I'm trying to use assimp in my project. I get assimp with conan and cmake:
macro(run_conan)
# Download automatically, you can also just copy the conan.cmake file
if(NOT EXISTS "${CMAKE_BINARY_DIR}...
0
votes
0
answers
1k
views
How to install assimp dynamic library on windows 10?
I'm basically trying to read a .obj file and display it in Qt in python with pyassim but the library also requires to install it's window's dynamic library.
Now when I try to run
cmake ..
in a build ...
1
vote
0
answers
716
views
How to setup Assimp as a separate project (git-submodule) using CMake?
I have a problem with adding Assimp to my project (which consists of exe and library projects). Before Assimp I added GLFW, GLEW and GLM as git submodule to my project. What's more, I did it using ...
1
vote
0
answers
713
views
Missing Assimp lib after install it via CMake
Is there a proper way to install and link assimp via CMake.
Graphics.cmake
...
message(STATUS "Building the ASSIMP")
set(ASSIMP_BUILD_ASSIMP_TOOLS OFF)
set(ASSIMP_BUILD_TESTS OFF)
set(...
0
votes
0
answers
444
views
Vertex Colors from imported glTF in three.js
I'm trying to understand the use of vertex colors on imported models within three.js.
In my use case, I have a source DXF file, which has been converted to a glTF file using Assimp.
When I import the ...
0
votes
0
answers
534
views
CMake - Fatal error while executing Assimp-linked executable
I'm writing a small OpenGL project for an exam, and I need to link Assimp to the project through CMake. (https://github.com/LordRibblesdale/CotecchioGame).
I'm using MinGW64 and I didn't manage to ...
1
vote
0
answers
312
views
Linking errors with MinGW32 and Assimp
I'm trying to build Assimp using MinGW32, but it is giving the following errors:
[ 69%] Linking CXX executable assimp.exe
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe:
...
1
vote
0
answers
171
views
Split the mesh on the basis of UDIM using AssImp
I have a model with single mesh which contains multiple UDIMs. I was looking for a way to split a mesh on the basis of UDIM in AssImp. I searched on the web and also in their documentation but couldnt ...
0
votes
0
answers
556
views
CMake is unable to find MSBuild.exe
I'm trying to build Assimp library using cmake (for OpenGL tutorials), but I'm unable to build the required files with CMake.
The CMakeOutput.txt ends up with: "The system is: Windows - 10.0.18362 - ...
0
votes
0
answers
129
views
MacOS 10.14.6 Library not loaded: @rpath/libIrrXMLd.dylib
When I ran a C++ application in XCode on MacOS 10.14 that uses OpenGL and Assimp, everything compiled, but I got this error
dyld: Library not loaded: @rpath/libIrrXMLd.dylib
Referenced from: /usr/...
1
vote
0
answers
174
views
How and where can i find the correct data of meshes in pyassimp?
Im writing a game in python and Im working on a scalable solution for 3D data files like .blend, .dae, .3ds, .obj and so on
I have installed assimp via pyassimp and its library.
It works nice for ...
1
vote
0
answers
627
views
"; expected" Assimp opengl error from visual studio when Assimp::Importer is instantiated
I use visual studio to do load a 3D model with opengl and Assimp, so I imported Assimp in my project without any problem. I want to make a class called "Model" that can load a 3D model from a file (I ...
0
votes
0
answers
300
views
Assimp Export (C++) FBX file makes too much size
I am creating an FBX file through Assimp which makes too much size.
Sample source code:
scene->mRootNode = new aiNode();
scene->mMaterials = new aiMaterial*[1];
scene->mMaterials[0] = ...
4
votes
0
answers
705
views
Assimp - How to access armature which is separate from mesh?
I'm using Assimp to import an animated FBX file. My problem is that the armature within the scene exists independently to the 11 separate mesh which share that same joint data. Until now I've been ...
1
vote
0
answers
200
views
Importing Assimp: Assimp.xcodeproj Project Failed Build Error
I am using the CMake gui to import assimp into my openGL project in Xcode. I am following the instructions here: How to import assimp to my my Xcode project?
However, my Assimp.xcodeproj does not ...
0
votes
0
answers
396
views
Unable to install assimp in Fedora
I am having trouble installing assimp in Fedora 30, I installed it using dnf
sudo dnf install assimp assimp-devel
Since my project uses qt5, I then did the following commands
qmake
make
but I ...
1
vote
0
answers
415
views
"unknown conversion type character 'l' in format" warning. Specifically when using MinGW Makefiles generated by cmake for Assimp
I've been trying unsuccessfully for a week to get a build of Assimp that is linkable with a project I'm compiling with MinGW.
It seems that the makefiles that cmake generates to build Assimp 4.1.0 ...
2
votes
0
answers
1k
views
How to export in the Collada dae format using the Assimp?
I can't get how to use Exporter to export my scene in dae format. Now, I am doing it so:
void Model::save(const std::string &path)
{
// Create a new scene
aiScene scene;
scene....
2
votes
0
answers
287
views
pyassimp how to create new scene?
I can load scene from file and export scene,
scene = pyassimp.load('test.obj','obj')
pyassimp.export(scene,'test.3ds','3ds')
but unable to create new scene for modify.
how to create new empty scene?...
0
votes
0
answers
1k
views
Assimp compilation errors Win10 + Visual studio 2017 community
I can't get assimp compiled on my laptop (Windows 10, Visual studio 2017 community). Everything compiles nice on my work PC.
I just clone repo:
git clone https://github.com/assimp/assimp.git
cd ...
0
votes
0
answers
996
views
Assimp axis conversion
Assimp converts the imported scene from Z-up to Y-up with a rotation matrix in the root node; this is fine for displaying but makes scripting objects a nightmare.
Is there a way around this? Is it ...
1
vote
0
answers
47
views
Detect model format opened from importer
I need to know what type of the model file is opened by Assimp via the call ReadFile(string, flags).
So, if it finds a .obj model file I want to know that somehow, is there an API in Assimp to check ...
2
votes
0
answers
392
views
Assimp and OpenGL Skinning Trouble
Lately I've been trying to create a skeletal animation system for my engine, but with no success...
After following several tutorials on the internet, I managed to get something working, however the "...
1
vote
0
answers
3k
views
Skeletal Animation With Assimp and OpenGL
Recently I've been working on loading and playing skeletal animations in OpenGL using the Assimp library, following a few different tutorials/sources such as OglDev and Ephenation OpenGL. I'm still ...
0
votes
0
answers
605
views
Building Assimp 3.2 from Source Without Using CMake
I am using Visual Studio 2015 Community Edition in C++. I just got done setting up the newest version of Boost v1.61.0 and boost seems to be working fine. I did this in advance since some of the ...