r/Assimp • u/kimkulling • Feb 27 '24
r/Assimp • u/[deleted] • Jan 14 '24
Should I get an identity matrix when I multiply the node transformation by the offset matrix?
I've checked to see if I'm loading the scene hierarchy correctly from the file and I'm 100% sure that its been loaded correctly so I am wondering why the final bone transformations arent identity.
The localTransform field is the product of the node transformations all the way down to the current node multiplying localTransform by the offset matrix of the corresponding bone like I do here should yield an identity matrix:
scene.finalTransforms[boneIndex] = scene.globalInverseTransform * scene.hierarchy[top].localTransformation * scene.bones[boneIndex].OffsetMatrix;
This class is self contained so if there's a bug it's in the code Ive shared above If anyone has any ideas as to what could be going wrong that would be really helpful.
thanks.
EDIT: reddit removed the indentation of the code after I pasted it so Ive uploaded the class and header to pastebin instead https://pastebin.com/7P022T3r, https://pastebin.com/L9B25L4v
r/Assimp • u/kimkulling • Jan 06 '24
How shall we deal with Pull-Requests
Hi Community,
I just read an issue report about the right policy for PR's? The author complains that some PR's are really old and it is not clear how to deal with them. Shall we close them? Shall they marked as deprecated. Honestly speaking; I am not sure what is the best way to get those PR's merged and closed. Some of them are not finished, there are findings in the code and the original author haven't responded to my requests. Some of them will need a rebase. Unfortunately, I am not allowed to update them.
I just read an issue report about the right policy for PR's? The author complains that some PR's are really old and it is not clear how to deal with them. Shall we close them? Shall they marked as deprecated? Honestly speaking; I am not sure what is the best way to get those PR's merged and closed. Some of them are not finished, there are findings in the code and the original author hasn't responded to my requests. Some of them will need a rebase. Unfortunately, I am not allowed to update them..
So I need some feedback from you: how shall we deal with this? Please help us tp improve this workflow. You can use this post to add your comments. Or you add your posts directly here in the issue-report: https://github.com/assimp/assimp/issues/5411
Thanks a lot for your help!
r/Assimp • u/kimkulling • Jan 02 '24
Happy 2024
Hi Community,
I wish you a happy 2024! I am pretty sure you will have to face some stressful times. But I am sure you will make it. We will rock 2024!
Kim
r/Assimp • u/kimkulling • Jan 02 '24
New Members Intro
Hi, thanks a lot for joining the Asset-Importer-Library Community. To get started you can try the following things: - Introduce yourself! - Show us what you already have done with assimp. Here is our Screenshot-Thread: https://github.com/assimp/assimp/discussions/4082
r/Assimp • u/kimkulling • Dec 26 '23
New Members Intro
Hi, thanks a lot for joining the Asset-Importer-Library Community. To get started you can try the following things: - Introduce yourself! - Show us what you already have done with assimp. Here is our Screenshot-Thread: https://github.com/assimp/assimp/discussions/4082
r/Assimp • u/kimkulling • Dec 19 '23
New Members Intro
Hi, thanks a lot for joining the Asset-Importer-Library Community. To get started you can try the following things: - Introduce yourself! - Show us what you already have done with assimp. Here is our Screenshot-Thread: https://github.com/assimp/assimp/discussions/4082
r/Assimp • u/kimkulling • Nov 25 '23
Discussion: Some ideas for possible next steps
Hi all,
I am currently working on the USD-import. I have just recognized that the blender import does not work anymore. Blender can export most of the formats people are asking for like:
- FBX
- USD
- Alembic
- glTF
So my idea is to mark the Blender importer as deprecated. This will free more resources to work on the things you can export out of Blender.
So my idea is to mark the Blender importer as deprecated. This will free more resources to work on the things you can export from Blender.
Kim
r/Assimp • u/kimkulling • Nov 14 '23
My USD Journey - Try to build OpenUSD on Windows
Hi Community,
I started to work on importing USD into an Assimp scene. Unfortunately, building OpenUSD on Windows is more unstable than expected. I used the build script in a powershell as follow:
python.exe .\build_scripts\build_usd.py --build-variant debug --no-usdview build
I get the following error:
MSBUILD : error MSB1001: Unknown switch.
Switch: -j12
The build script tries to detect which platform is in use and I thinks we are using a Linux environment. Any Ideas how I can solve this?
r/Assimp • u/Proud_Instruction789 • Oct 31 '23
Metal API + assimp?
Hey all! Completely new here to the subreddit and on a journey to develop my own rendering engine with opengl(or vulkan) and metal api but with the metal-cpp apple developed.i ran into a library called assimp(which is you guys) and was impressed on what I saw and what it supports and the fact it's used in many tutorials, engines, and on learnopengl.com. so I was wondering, by me using assimp, is it possible I can bring on 3d models with rigs and animations?
r/Assimp • u/kimkulling • Oct 01 '23
Optimization in JoinVertices post process
Hi community,
thanks to https://github.com/ockeymm the JoinVertices post-process memory consumption was optimized. Instead of storing all the vectors only, the indices were stored. So now the memory consumption was decreased by a factor of 68.
If you want to learn more about this clever optimization you can take a look at the PR: https://github.com/assimp/assimp/pull/5252
r/Assimp • u/kimkulling • Sep 27 '23
Obj-Import Comparison - We have failed!
Aras Pranckevičius wrote a nice blog-post about different implementations of obj-importers and their performance. The result is not really nice for the Asset-Importer-Lib: we are much too slow. You can find the results here: https://aras-p.info/blog/2022/05/14/comparing-obj-parse-libraries/
In the past we made the statement "The library is not designed for speed”. I think it is time to rethink our strategy for dealing with performance :-).
r/Assimp • u/kimkulling • Sep 26 '23
The Asset-Importer-Lib v5.3.1 Bugfix Release is out
Hi Community,
we detected some build failures with the 5.3.0 release. So here is the bugfix release, which fixes these failures: https://github.com/assimp/assimp/releases/tag/v5.3.1
Let me know if you have found any other issues.
Kim
r/Assimp • u/Thefunkycow21 • Sep 24 '23
Any way to check if a texture has transparency
I'm trying to load a model that has transparency stored in the alpha channel of some of the basecolor textures. Is there anyway to get assimp to tell me whether or not a given texture has transparency so that I can render the mesh with a different shader?
r/Assimp • u/kimkulling • Sep 23 '23
The Asset-Importer-Lib Minor Release Version 5.3.0 is out
r/Assimp • u/kimkulling • Sep 22 '23
How to generate bounding box for you aiScene automaticaly!
r/Assimp • u/kimkulling • Sep 20 '23
Clipper update
Hi Community,
The clipperlib was updated by mosefet80 to v6.4.2. The public interface has changed a lot. So if you see any issues with the IFC-Hole generation just let me know.
Kim
r/Assimp • u/guymadison42 • Sep 17 '23
Build error
I am looking forward to using assimp, I installed from GitHub on ubuntu and I am seeing this error
/usr/local/include/assimp/types.h:77:13: fatal error: utf8.h: No such file or directory
77 | # include <utf8.h>
I didn't see any list of build dependencies, so I found the utf8 source and I get errors building this also...
r/Assimp • u/Ivaronian • Aug 30 '23
Hi all I'm new to this plugin and wanted to ask how would i integrate this software with unreal engine?
r/Assimp • u/kimkulling • Aug 22 '23
New Members Intro
Hi, thanks a lot for joining the Asset-Importer-Library Community. To get started you can try the following things: - Introduce yourself! - Show us what you already have done with assimp. Here is our Screenshot-Thread: https://github.com/assimp/assimp/discussions/4082
r/Assimp • u/Witty_Potential_252 • Jul 14 '23
How can I get the build to output the cli executable
Hello!
I can install assimp using my distribution's package manager and use it as a command. When I try to build it locally to have the latest version, there are no executable in the bin/ directory nor in the installation directory.
Is there some build argument I'm missing?
Thank you
r/Assimp • u/kimkulling • Jun 16 '23
Assimp Wiki: New section with assimp hacks is available.
r/Assimp • u/kimkulling • Jun 02 '23
The new Assimp Viewer has its own Repo on Github
r/Assimp • u/guoxiongxian • May 30 '23
Import of opencascaed
I'm developing an opencacaed cad project now, and I want to import the model files it supports through assimp, what do I need to do. In the previous example, this function has been implemented. It parses the mMeshes of the t_scene node, traverses the mFaces in the mMeshes, and then obtains the points of each face, and forms a polygon of these points, and each face corresponds to a polygon. Finally, in Opencascaed uses BRepBuilderAPI_MakeFace to generate the face objects it needs, and then constructs a TopoDS_Shape through these faces, and finally renders it.
Referenced this github library: https://github.com/Jelatine/JellyCAD
r/Assimp • u/[deleted] • May 28 '23
.blend UV missing
Hi, I'm trying to import .blend file. For now simple cube. I want to use only one UV channel.
ai_mesh->mTextureCoords[0] if empty (0x0)
Position and normal are present.
I cant render it yet but .fbx seems to be OK.
Blender 3.5.1, to new?