Auto-fix Geo Intersections - need some feedback

   2029   5   2
User Avatar
Member
784 posts
Joined: Feb. 2016
Offline
Fix Geometry Intersections SOP tries to fix a self-intersecting geometry.

The tool is free and currently needs some testing.
So any feedback is very welcome especially regarding performance and usability.


HOW IT WORKS:
It detects the intersecting primitives, then blur their point positions.
This process is repeated iteratively inside a feedback loop.


FEATURES:
  • Up 3x faster Intersections Detection than vanilla Boolean Detect, thanks to parallel processing. This feature alone can save a lot of time with heavy geometries.
  • Manual Mode with caching implemented: You can run a number of iterations, and follow up with a second run of iterations to improve upon the previous work.
  • Automated Mode: auto-adjustments of the parameters on each iteration based on the performance in the previous iteration. The HDA aggression to the geometry can automatically increase or decrease.
  • Automated Mode: manual launch button. You can set the parameters and then launch.
  • Automated Mode: live-link. The process is automatically triggered at each geometry or parameter change. This is very useful for procedural and wedging workflows.
  • Status Report: directly on the parameter interface, so to facilitate the workflow.
  • Log for each iteration: in the geometry spreadsheet of the second output.
Edited by Andr - Jan. 8, 2022 17:37:03

Attachments:
Fix_Geo_Intersections_examples.hiplc (742.7 KB)
sop_adn.fix_geometry_intersections.hdalc (124.2 KB)
UI.JPG (146.0 KB)

User Avatar
Member
495 posts
Joined: Feb. 2017
Offline
Hi Andr,

Oh wow, very cool! I will give it a spin! Thanks for sharing!

Cheers
CYTE
User Avatar
Member
784 posts
Joined: Feb. 2016
Offline
Hello Cyte, thanks!

I'm developing a new module to help fix self-intersecting curves on a plane.
This could be useful to automatically produce a lot random shapes or single-primitive patches.

The intersection detection of the lines at the moment uses the very slow (but reliable) Intersection Analysis SOP.
I'm experimenting with a Vex based solution which is very promising (a way lot faster), but not as stable:
the idea is that each point should throw a ray along the polyline and check for intersections.
Edited by Andr - Jan. 15, 2022 08:45:07

Attachments:
curve2D_module_demo.JPG (122.9 KB)

User Avatar
Member
25 posts
Joined: Dec. 2015
Offline
Is there a houdini 19.5 working version of this tool?
User Avatar
Member
784 posts
Joined: Feb. 2016
Offline
Hello,
thank you for reporting the issue.

I believe I fixed one of the 2 problems.
For the second problem I filled a bug report with SideFX and meanwhile I had to erase the whole help page (which was generating the error message on mouse-over any parm). So, no more tool tips or documentation for now.
Tell me if it's working for you.

Meanwhile, for the next release I'm working to implement the following features:
  1. Refactoring the UI to make it simple and fix some UX error.
  2. Caching support also for automated mode. So that you can run for (say) 50 iterations, and then start a new run from the previous result.
  3. Support for fixing UV intersections! Which I guess would be a big deal?
  4. Fix lines intersections, which is already working (see above post), but still relies on the slow intersection analysis sop.

Attachments:
sop_adn.dev.fix_geometry_intersections.1.1.hdalc (132.9 KB)

User Avatar
Member
25 posts
Joined: Dec. 2015
Offline
Thanks! it seems to be working fine now... I look forward to the updates
  • Quick Links