-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mesh_make_atlas performance degrades with larger meshes on iOS build #191
Comments
Hello, I do not have much experience with iOS. On which platform are you running iOS ? Is it a phone ? Did you compare the performance with the same code running on a computer ? Can you share a small program + data so that I can check ? About SuperLU, you have several ways to make it work:
|
Thank you for your help! I assumed it was an issue with my custom build for iOS, but I just tried the macOS build (M1) and encountered issues there as well. Here are the 2 .obj I used for my test: Planes_OBJ.zip Test 1For the first test, I used the Plane_15K.obj
Plane_16K.obj
Observations:Both .obj files were successfully generated and appeared correct. Test 2For the second test, I used the following custom code to parameterize the same meshes using the mesh_make_atlas function.
Results:
Considering that the issue is also on macOS it's probably not relevant anymore, but I'm running it on an iPhone. The time differences range from under a second at 15K vertices to a few minutes when the number exceeds roughly 16K. Thank you for the info regarding SuperLU ! I'll look into it further and give it another shot to make it work |
Hello,
|
Hello @BrunoLevy and thank you for your time! I overly simplified my test code and indeed missed some of those initialization steps, but in my iOS implementation, I already had these lines. This explains why my demo code resulted in an assertion error (only when using the 16K plane for some reason), while my iOS implementation was running. However, I can't figure out why there's this significant change in behavior at 16K vertices. Is this expected behavior? On my Mac, going from ~15K to ~16K vertices caused the processing time to increase from 0.296s to 0.816s. It also resulted in 4 charts instead of 1, even though it’s just a basic plane with more subdivisions. What I find also intriguing is the behavior in the example application Please let me know how I can contribute in any other way that might help debug or understand this behavior. I’d be happy to provide any additional details or share more about my setup if needed! |
Hi, I'm encountering a performance issue with
mesh_make_atlas
when using Geogram on iOS. The function works fine for small meshes, but I'm experiencing a severe slowdown with larger meshes. The issue seems to occur when the vertex count exceeds ~16,000 (tested on a simple plane by progressively subdividing it).Do you have any ideas about what might be causing this performance degradation with larger meshes? Are there any optimizations or settings I should consider to handle larger meshes efficiently?
Additionally, I'm getting this warning:
Warning: Could not initialize SuperLU extension
when trying to use ABF++, which causes it to fall back to LSCM. Do you know if I should be able to make SuperLU work on iOS?Thank you!
The text was updated successfully, but these errors were encountered: