Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combining two separate meshes
#1
I'm trying to use Curvy to implement the rendering side of a node system, say we have two nodes next to each other (like the pictures), now I want to connect those two nodes on one or more sides of the hexagons. Easy solution would be to just snap the spline points to the edge of hexagon (on both of them), but I'm trying to see if it's possible to connect those two meshes and basically create a unified mesh.
Thanks.


Attached Files Thumbnail(s)
       
Reply
#2
Hi
The Spline to Mesh tool uses LibTessDotNet library to tesselate spline. When you use the tool with intersecting splines, it generates a hole at the intersecting area:
   
So to achieve what you need, there are two ways I see:
  1. Generate two meshes, one for each spline, and combine them using any mesh combining solution.
  2. Modify LibTessDotNet: LibTessDotNet  should be used such as it generates merged meshes. I looked at its code and examples, and it does not seem to me that it is implemented in that library. Except if I overlooked something (I might), the solution seems to modify LibTessDotNet to add this capability. Unfortunately this is not something I will be working on for now. So a solution would be to, if you don't have the skills to implement such modification, to open a ticket at LibTessDotNet's repository asking for this feature.
I hope this helped
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
Alright thank you!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant Generate Meshes At Runtime alms94 5 22 01-26-2024, 11:27 AM
Last Post: _Aka_
  Disable rebuild of meshes in dynamic mode Zilk1 1 8 10-04-2023, 09:50 AM
Last Post: _Aka_
  Invisible generated meshes in build itsGama 5 10 06-08-2023, 11:53 AM
Last Post: _Aka_
  How to merge intersecting meshes at spline connections? Reign_of_Light 2 6 03-20-2023, 08:36 AM
Last Post: Reign_of_Light

Forum Jump: