11

Is there a way to apply a black and white texture to a object and remove all vertices mapped to a point where the texture is black?

I want to build a hollow earth globe and remove all vertices where there is land.

Beothorn
  • 305
  • 1
  • 3
  • 10

1 Answers1

8
  1. Create a Vertex Group.
  2. Add a Vertex Weight Mix modifier.
    • Set Vertex Group A to the one created in the previous step.
    • Set Default Weight B to 1.
    • Set Mix Set to All.
    • Add your texture to Texture Mask and set Textue Coordinates.
  3. Add a Mask modifier and set the Vertex Group.
  4. Apply modifiers (optional).

The result

Aldrik
  • 9,720
  • 22
  • 56
JulianHzg
  • 2,755
  • 18
  • 24
  • I added the texture, projected the uv map and created the two vertex groups, but it still didn't work. I know it's something obvious, but I have little experience with blender. Could you please start the answer from the point you add the texture? – Beothorn Aug 08 '13 at 17:26
  • 2
    Possible problems: a) Have you added the vertices of your object to the vertex groups with the correct values? To do that, go into Edit-mode, select everything, go to one of the vertex groups, set the Weight slider below to 0/1 depending on the group, and then click "Assign". b) Do both modifiers look just like above? – JulianHzg Aug 08 '13 at 17:30
  • I know the texture is correct (or half correct) because on the 3d view the texture is showing it, but when I render it doesn't. Also the vertex are right because I can select them with the select button. – Beothorn Aug 08 '13 at 17:30
  • 1
    For the Texture in the Modifier, click Texture Mask: + New, then click on the very right button that appeared (mouseover description: "Show texture in texture tab"), there, set "Type" to "Image or Movie" and open the correct image in the "Image" area below. – JulianHzg Aug 08 '13 at 17:33
  • Thanks, it worked. I didn't assigne the weights, and I tried to change them by selecting the vertex group and sliding the weight. I had to assign the groups again with the correct weight. Thanks!! – Beothorn Aug 08 '13 at 17:38