Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 07 15:49
    RichardTea commented #3690
  • Mar 06 21:25
    matthewswallace opened #3690
  • Mar 05 11:33
    tellypresence commented #2879
  • Mar 04 20:42
    kimkulling commented #3667
  • Mar 04 20:42

    kimkulling on master

    export min max for sparse acces… Merge branch 'master' of https:… Merge branch 'master' into spar… and 3 more (compare)

  • Mar 04 20:42
    kimkulling closed #3667
  • Mar 04 07:05
    AndyShawQt opened #3689
  • Mar 04 06:32
    gongminmin opened #3688
  • Mar 03 20:26
    contriteobserver opened #3687
  • Mar 03 18:13
    kacperks edited #3686
  • Mar 03 18:10
    kacperks opened #3686
  • Mar 03 17:34
    lizardnoises commented #3663
  • Mar 03 13:16
    turol commented #3685
  • Mar 03 11:31
    RichardTea commented #3663
  • Mar 03 11:19
    RichardTea commented #3663
  • Mar 03 10:33
    RichardTea commented #3663
  • Mar 03 10:26
    Manuel-Koenig commented #3685
  • Mar 03 10:17
    Manuel-Koenig commented #3685
  • Mar 03 10:07
    Manuel-Koenig commented #3685
  • Mar 03 10:05
    RichardTea commented #3685
turol
@turol
@kimkulling: yes, that would work
Jerome St-Louis
@jerstlouis
@kimkulling I have a proposed hackish fix for that slow glTF2 exporter performance I encountered:
assimp/assimp#3444
Jerome St-Louis
@jerstlouis
So the next big bottleneck is in MergeMesh(), where it tries to re-merge all meshes of a single node (even if they use different materials), which I had just separated because they use different materials, and assimp can only have a single material per mesh...
Kim Kulling
@kimkulling
thanks for you pull-reques. and yes the glTF stuff is hackish all over the place and needs a rework.
@turol I will start to provide the model data, I have still a lot of open issues from the fuzzer project on my list which are not entered unitl now.
dong
@dongfangliu
Hi, i have a question. Will the triangluate process also take the vertex skinning weight into account?
does anybody has some experience?
i mean, if my model is constructed with quads primitive and have skinning on that mesh, then i use assimp and triangulate it, will the codes also generate corresponding weights for those additional vertexs?
Kim Kulling
@kimkulling
good question, I think yes
Evilpudding
@EvilPudding
Hey, dunno if this is the right place to ask, but is there a way to prevent compiling and linking miniz without forking? I have a project that already uses miniz, and it has optional assimp integration, but when I try to statically link, I get lots of duplicated symbols. Is there some other way to encapsulate it either on my end or assimp's?
Kim Kulling
@kimkulling
hm
Evilpudding
@EvilPudding
It seems there was an old issue richgel999/miniz#18 on the miniz repo that would fix it, maybe I should bother them instead.
aaaand it seems it was already addressed, sorry for the spam :|
Kim Kulling
@kimkulling
@turol could you take a look onto google/oss-fuzz#4566 I do not get it. works in my Linux
turol
@turol
$SRC is not set correctly for some reason
if you look at the command line, their -I is also wrong
-I/src/assimp/include
their build directory at least seems to be /home/runner/work/oss-fuzz/oss-fuzz/build/
Matthew Wallace
@matthewswallace_twitter

Hello all .... I have been exploring the idea of using assimp in an Oculus Quest application. To do this I would need to build from Unreal Engine to "basically Android" ... I have a working demo using windows and I'm able to load objects from an S3 bucket or the the file system just fine however, I'm not able to get this working on Android.

With in my Unreal Project all that it seems that I have to do is include the windows assimp dll in my binaries directory and I'm good to go.

All that being said is there somewhere that I can download the assimp binary that I would need in order to get this working or am I going to need to figure out how to build that myself for android?

José Ángel Martínez Torres
@joseangelmt

Hello to all,

I'm compiling the library to use it with Oculus Quest 2 headsets in a NativeActivity application.
My development machine is Windows and I'm using CMake UI to generate the build scripts.

I've to define ANDROID_ABI=arm64-v8a, change CMAKE_CXX_STANDARD_LIBRARIES to point to arm64-v8a versions of the libraries, and finally, uncheck ASSIMP_BUILD_TESTS.

Running ninja works fine with that configuration, but if I check ASSIMP_ANDROID_JNIIOSYSTEM, I get the next error:

C:\Users\josea\Desktop\assimp-master\build3>ninja
[3/4] Linking CXX shared library bin\libassimp.so
FAILED: bin/libassimp.so
cmd.exe /C "cd . && C:\Users\josea\AppData\Local\Android\Sdk\ndk\17.2.4988734\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android --gcc-toolchain=C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sysroot -fPIC -fvisibility=hidden -fno-strict-aliasing -Wall -Wno-long-long -isystem C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11  -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot C:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/platforms/android-21/arch-arm64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -LC:/Users/josea/AppData/Local/Android/Sdk/ndk/17.2.4988734/sources/cxx-stl/llvm-libc++/libs/arm64-v8a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libassimp.so -o bin\libassimp.so @CMakeFiles\assimp.rsp  && cd ."
port/AndroidJNI/libandroid_jniiosystem.a: error adding symbols: Archive has no index; run ranlib to add one
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

Am I doing something wrong to include JNI support?
Thanks in advance.

Matthew Wallace
@matthewswallace_twitter
@joseangelmt Have you documented your process and how you set this up? I would really like to read some sort of blog post or watch a video of how you where able to get this far. If I run into the same issue maybe we can work through this together. I to have the same goal to get this working for Oculus Quest 2 headset.
Once that's working I would like to also get this working for iOS.
José Ángel Martínez Torres
@joseangelmt
Finally I compiled it with the script in scripts/android_crosscompile
@matthewswallace_twitter My plan is to create a blog showing how to deal with the native SDK
Matthew Wallace
@matthewswallace_twitter
@joseangelmt Awesome ... not to put any pressure on you, I'm wondering if that will be soon and if so will you keep me up to date when you post that? I'd like to collaborate with this community on getting this working for Android and iOS so that I can use this in my Unreal Engine project that I plan on packaging and shipping to both Android and iOS.
Kim Kulling
@kimkulling
would be great
I was able to compile it for android as well, but it was 2 years ago
Julian Vallée
@JulianVallee_gitlab
image.png
Hello everyone, I'm using Assimp with the C# bindings and I'm trying to manipulate meshes before applying post processing
For some reason my scenePointerAfterPP always returns as zero, but from what I understand it should return a valid pointer, no?
Julian Vallée
@JulianVallee_gitlab
I have documented my issue under assimp/assimp-net#65 now, better than dumping all that info into gitter I suppose
Matthew Wallace
@matthewswallace_twitter
I have assimp setup in Visual Studio 2019 on windows 10. Has anyone successfully added the ability to compile and build .so file for Android using Visual Studio? I'm looking for a good resource on how to compile the latest assimp 5 for android. like @joseangelmt I'd like to get this working for Android so I can use Assimp in Oculus Quest 2.
My other request would be ... If someone has successfully compiled and can share the .so file that will work for Oculus Quest 2, could you please share?
turol
@turol
i don't think visual studio can compile stuff for android
you need the android ndk and then build it with that
Matthew Wallace
@matthewswallace_twitter
VS does have an Android plugin for it. I'm not an Android Developer so I was hoping to find some help in this group compiling for mobile platforms.
Matthew Wallace
@matthewswallace_twitter
Well well ... I'm noticing that android studio allows you to add C++ projects to your android project. I'm guessing there may be a way to add assimp to the project and compile it via android studio?
Kim Kulling
@kimkulling
there are options via cmake
so I was able to build assimp for android by using gradle and cmake
Matthew Wallace
@matthewswallace_twitter
@kimkulling do you have a step by step on this? If not would you mind writing it up. It would be extremely helpful. Once I get it working on my end I'm happy to write up a more detailed tutorial, maybe even a video and post it in the wiki for everyone.
I'd then like to get a build system down for ios.
Finally, I think it would be really cool if we could create build systems online so that everytime a major release is put out we can supply everyone downloadable binaries for mobile and desktop operating systems.
I'd love to make it extremely easy to get up and running using assimp for developers who are not well versed in C++ and CMAKE
turol
@turol
that would be an insane amount of work
latest cmake apparently now supports visual studio builds for android
at least according to their cmake
changelog
chriscamacho
@chriscamacho
hi all, does there exist a list of "engines" or frameworks that use assimp ?
matrixbot
@matrixbot

matias-lavik chriscamacho (Gitter):
Well, here are some:

  • Urho3D
  • MonoGame
  • Godot game engine (I heard they have been making their own FBX importer now, so not sure if they still use it)

There are plenty of closed source software/games using Assimp as well. And a bunch of smaller game (engine) projects you can find on GitHub (such as my own Ming3D). When we were hiring developers at my job, half of the candidates were already familiar with it 😁

Matthew Wallace
@matthewswallace
Would anyone in here be interested in making me a build system that will compile assimp for Android and iOS? I have a budget in mind that we can DM about.