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$
1
  • $\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, 2014 at 18:25

2 Answers 2

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$
3
  • $\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, 2014 at 12:00
  • $\begingroup$ Try skipping the first bullet, and head straight to the second $\endgroup$
    – ajwood
    Nov 11, 2014 at 12:37
  • $\begingroup$ @stacker Don't think the objects are separate, just the faces. $\endgroup$ Nov 11, 2014 at 12:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .