Skip to main content
The 2024 Developer Survey results are live! See the results
19 votes
Accepted

Turn black and white image into normal map blender

Normal map colours describe pixel direction (surface angle) ... not a height. Black&white image like your represents pixel height. It can be converted into something like normals, but it requires ...
vklidu's user avatar
  • 36.9k
14 votes
Accepted

Create height bitmap from mesh

If this is for a terrain (I mean the heights are considered from a base plane), you can use a bake to the texture: This is done using Cycles. You can see the material nodes settings above: Input is ...
lemon's user avatar
  • 60.5k
10 votes
Accepted

How do I convert a 3D model into a bas relief using mist?

You can use a Mist pass to generate a height-map, and then use the height-map to control displacement. I'm assuming you want to print this coin, not just to render it, so the displacement is in a ...
Robin Betts's user avatar
  • 78.1k
8 votes
Accepted

How to render height map in Blender?

I don't know the method you're using, here is one that seems to work and that is close to the one explained here by CGMatter as linked by @NascentSpace: Create the 3D object you want to bake, put an ...
moonboots's user avatar
  • 163k
7 votes
Accepted

Is it possible to save pixel perfect full-spectrum rgb height map?

Your calculation looks incorrect. Also, are you expecting RGB values in the range 0-255 or in the range 0.0-1.0? Blender shader nodes expect values in the range 0.0 -> 1.0. I suspect you actually ...
Rich Sedman's user avatar
6 votes

Which color space should I use for 16-bit maps?

If I want to create my own displacement maps in, say, Photoshop, which color space should I use? Is 16-bit sRGB okay? The term "sRGB" is thrown around far too frequently without an understanding as ...
troy_s's user avatar
  • 12.3k
6 votes
Accepted

Is there a way to "clip" or "clamp" the height of a normal, so that bumps go to a certain height and then abruptly flatten, as if chopped off?

Pass the bump height through a Math > Minimum node. Set the empty value to your desired clamp height. 0.5 Clip 0.75 Clip No Clipping
clickbait's user avatar
6 votes

Why not just normal map everything?

It depends. When it is not going to view in detail and the geometry of vertices isn't important. As you said, there is no extra vertices created, which mean, if there isn't a geometry, rendering ...
HikariTW's user avatar
  • 7,881
6 votes
Accepted

Is there any way to generate Inverted or taper geometry by using displacement?

I write an answer as proposed to by @SHikhaMittal. Though, still not sure this is the wanted result. As this is about "any shape", have used an image, like a decal, to drive the displacement....
lemon's user avatar
  • 60.5k
6 votes

How do I create a heightmap from a python array of numbers?

Here's a script that generates a blender image from the array, and maps it to an image texture on a displacement modifier assigned to a Plane object. ...
TLousky's user avatar
  • 16.1k
5 votes

Create height bitmap from mesh

I have found another way to do this in that tutorial: https://www.youtube.com/watch?v=z_jh_PrZzOs Use Blender render In the node editor, under compositing (check use node) add those nodes Then in ...
pons de leon's user avatar
  • 1,158
5 votes

"Etching" onto a cube

Steps for creating the below image: take the default cube add a subdivision surface modifier set to simple, with 7 levels add a displacement modifier and choose your image texture, adjust strength so ...
person132's user avatar
  • 2,303
4 votes

How to create a seamless low poly terrain with displace and multiple planes?

A solution can be using two additional modifiers: Shrinkwrap to fill the gap between the two images Data transfer to align the normal continuously The vertex group used to that is the following: ...
lemon's user avatar
  • 60.5k
4 votes
Accepted

Can I "impress" one object's shape upon another object?

Create your final grid mesh and place it above the original one. Add a ShrinkWrap modifier to added plane, pick the original mesh as target. Set the Mode to Project and Direction to both negative and ...
Secrop's user avatar
  • 3,586
4 votes

How to colour entire object based on its height

Achieving this with material nodes I thought Generated and Object texture spaces differ and that can be used for this. Thanks to Robin Betts for figuring out the correct math. Object's texture space ...
Martynas Žiemys's user avatar
4 votes

Is there any way to generate Inverted or taper geometry by using displacement?

In case of tapers you can do it like this.
Bruk's user avatar
  • 479
4 votes
Accepted

Heightmap-based displacement with 90-degree corners

Here’s one way to do it mostly non-destructively: Start with a plane. In edit mode, use CtrlE ▸ Subdivide to subdivide the plane into a 16×16 grid. Add a Bevel modifier with Limit Method ▸ None, ...
Alexis King's user avatar
  • 2,387
4 votes
Accepted

Engraved wireframe lines across sphere

I would do all the hard work with shaders, using only a UV sphere (smooth shaded). Take an equirectangular black and white image of the world (I used one from here - http://planetpixelemporium.com/...
Christopher Bennett's user avatar
4 votes
Accepted

Turn 3d terrain height map into just contour lines?

You could do something like this - Start by using your height map as a basis for displacement (true displacement - using cycles - make sure to set displacement in material settings and use heavily ...
Christopher Bennett's user avatar
3 votes
Accepted

height map for normal input sharp edges

short answer: as @cegaton has pointed out, save your image with 16 bits depth. If you are baking like me, this has to be done before bake, because resaving later does not generate information lost ...
Serhii's user avatar
  • 293
3 votes

How to create solid height field from image?

You can still use the displace modifier for this, but with a vertex group to limit the influence to one face of your object. Select the top face of a cube/suitable volume. Create a vertex group in ...
gandalf3's user avatar
  • 158k
3 votes
Accepted

I want to turn a 3D mesh into a height map and then use the height map to create a new 3D mesh with no undercuts

If you use the 'Mist' feature: then enable it in the camera settings: then adjust the start and end point that it gives you to the start and end of the model, in the world settings: And finally, in ...
BluTackMan's user avatar
3 votes
Accepted

How to make an object automatically take the same height as another object?

Maybe the Shrinkwrap Modifier can help you out. (I think i unlikely but i though I'd propose the idea anyway, just in case.) Both cities have to be one object each though (Separate > By Loose ...
Fjoersteller's user avatar
  • 2,721
3 votes
Accepted

How do I plug in my colorramp so white will be embossed gold and black will be engraved darker silver carving on my silver kettle? Mock-up in middle

You can use the image texture with different Color Ramps to drive all kinds of values. In my example, I've used Greater Than nodes to split the three grey values up to mix different colors created by ...
Gordon Brinkmann's user avatar
3 votes

How to bake displacement map from another mesh (not multires)?

It's a two step process. First, give your high poly a material emitting geometry/position-- XYZ world position. Bake emission high to low, as non-color data. Save this image to a floating point, ....
Nathan's user avatar
  • 25k
3 votes

Rendering wireframes from simple black and white image (DEM)

I've found two way to do this, depending on whether you want to render EEVEE or Cycles. The part that works for both is how I impose the grid on the display, so I'll describe it first. The trick is to ...
Marty Fouts's user avatar
  • 33.3k
3 votes

Rendering wireframes from simple black and white image (DEM)

You can easily create a wireframe texture and project it on top. Brick texture with 0 offset and 1:1 ratio for the grid Voronoi with Constant ColorRamp for the vertices Use UV coordinates to project ...
jachym michal's user avatar
3 votes
Accepted

Best way to lighten only shadows?

You can adjust contrast and exposure easily in the final render. And you can also use Curves to fine-tune the shadows.
jachym michal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible