4
$\begingroup$

I wrote an algorithm to randomly generate terrain and I am trying to load and edit my results with blender. The problem is that when I load my terrain in blender, the individual triangles are not linked together.

enter image description here

enter image description here
You can see when I shrink/flatten a subset the the faces, the rest don't follow and deform as a single mesh.

I tried deleting the faces and edges and using F to create faces from the points, but it does not give usable results.

enter image description here

How can I go about solving this problem?

$\endgroup$
  • $\begingroup$ How are you generating the terrain mesh? There is probably a way to get connected triangle from the get go. $\endgroup$ – ajwood Nov 11 '14 at 18:25
8
$\begingroup$

You have a mesh with many unconnected faces.
In edit mode select all the triangles with A A. Then press W > Remove Doubles. Or on the tool shelf T under the Tools tab press the Remove Doubles button.

$\endgroup$
4
$\begingroup$

Select all triangles in Object mode, if the scene has no other objects A

  • Join them to a single mesh Ctrl-J.
  • Finally remove duplicated vertices.

In case the triangles are loose faces of a single object, removal of duplicate vertices should do the job.

enter image description here

$\endgroup$
  • $\begingroup$ When I do this I get an error, "No mesh data to join." And it seams it's already a single object in object mode. But still in edit mode, the triangles are not linked together. $\endgroup$ – MVTC Nov 11 '14 at 12:00
  • $\begingroup$ Try skipping the first bullet, and head straight to the second $\endgroup$ – ajwood Nov 11 '14 at 12:37
  • $\begingroup$ @stacker Don't think the objects are separate, just the faces. $\endgroup$ – Ray Mairlot Nov 11 '14 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.