Bruno Levy Profile picture
Jan 9 6 tweets 4 min read
#geogram #geometry #programming
Hello darkness my old friend ...
Diving into exact triangle intersection code, that is exactly bugged !
Revisiting the whole approach, hopefully much much simpler in the end ImageImageImageImage
You may think that once you have exact predicates it is piece of cake, but there is a surprisingly long list of particular cases: trlgs can be in the same plane, touch along a vrtx, an edge, isect can be a single point, a segment, a little triangle, it can even be a hexagon !
Seeing some light at the end of the tunnel... Seems that a reasonably short program can handle all the cases (but it does not fit in the margin, euuu I mean in a tweet !)
The end of the tunnel or just some light ?
I'm quite confident.
Current version is posted here:

github.com/BrunoLevy/geog…

github.com/BrunoLevy/geog…
The new exact triangle-triangle intersection seems to work (well, until I find the next bug !). Let's compute intersections between Gargoyles, Bunnies and other things !
Now we have the complete 1-skeleton of the intersection (in blue) ... ImageImageImage
... what remains to do is just wiring a constrained triangulation in there (for instance, J. Shewchuk's "triangle"). We'll see what it gives.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Bruno Levy

Bruno Levy Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @BrunoLevy01

Jun 4, 2022
#geogram is a programming library of geometric algorithms
github.com/BrunoLevy/geog… Image
2/N
It has fundamental geometric algorithms (Delaunay/Voronoi in 2D and 3D)
github.com/BrunoLevy/geog…
github.com/BrunoLevy/geog… Image
3/N
A mesh data structure, for surfacic and volumetric meshes, with optional user-defined attributes
github.com/BrunoLevy/geog… Image
Read 37 tweets
Mar 12, 2022
#geometry #programming
New #geogram tutorial on surface reconstruction from #pointsets:

github.com/BrunoLevy/geog…
Coming next:
- remeshing
- parameterization and texture mapping
Remeshing tutorial rdy !
github.com/BrunoLevy/geog… Image
Read 8 tweets
Mar 10, 2022
What's that ?
The raw scanner data for armadillo.
Can we reconstruct the armadillo from it ? Image
Step 1: Filter outliers Image
Step 2: smooth a bit Image
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(