[REQ] stitching aces together
-
does a ruby like this already exist?
for terrain modeling a script would come in very handy, that can stitch two contour-lines together.
there are two ways, the workflow could make sense:
-
either you select both edges and then right click > stitch edges together (therefore the script has to understand how to distinguish between the two contour-lines by looking which selected vertexes are connected )
-
or you choose the function within the tools menu. you select the first edge, confirm, select the second edge and confirm again to start the stitching process.
the first way is faster in terms of the workflow, the second one is more secure and is better for introducing an inputwindow for options.
this stithcing script may have to insert polygons when stitching the two lines together. one option to choose could be the decision whether the vertex-positions are supposed to be interpolated or whether one contour-line is aligned to the other...
[Edit] ...or if both remain in their position and additional faces are inserted to connect the two lines[]what do you think?
-
-
I' not sure if this would work but I think the weld script might do what you are asking
-
I can't figure out, how the Vertex Weld tool works.
could you give me a short clue as how to use this script? that would be great.
cheers,
Jakob
-
@perk said:
I' not sure if this would work but I think the weld script might do what you are asking
Stitching is a little more general because it handles the case of different tessellation on the 2 pieces and adding zero area geometry to ensure you don't get cracking at T-junctions.
-
maybe solution, convert it to curves(using Fredo's plugins...if it divided at segments) for creating polyline, then use skin and remesh
-
Weld would make each contour into a "polyline", then CurveStitcher would create the faces between them.
You could also try the Sandbox tools, surface from contour lines.
-
Rick, thank you
ha...skin also has remesh function if ask "it's right connection?" -
as far as I understand all these suggestions assume that you definitely want to insert an additional face between the two pieces of terrain.
but if you simply want to merge them together, to make them one big terrain, without the transition being visible at all (and therefore an interpolation of the two contour-lines), you need something different
we should even consider to have an option where we can specify the amount of surrounding geometry that is allowed to be bent (a bit like when you stamp something in a terrain with the sanbox tools, but with smoother deformations, similar to the ffd-script), to perfectly allign the tangents of the two faces.
did that make sense to you?
-
Your going to have to do a bit of guesswork in merging the 2 faces together anyway, so i dont think adding a row or so of extra geometry would make much of a difference in the majority of cases. You could always do a bit of plating around with the terrain afterwards.
Advertisement