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

Questions tagged [depth-map]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Why the extrusion doesn't work?

I'm following this tutorial on youtube : https://www.youtube.com/watch?v=5EV1elNFNSM And I can't have a normal extrusion as on the video. Does someone know why? Here is what I have: And I want to ...
civalsvech darm822X's user avatar
1 vote
0 answers
32 views

Periodic stripe artifacts in rendered depth maps with Blender4.1

I am using Blender to render a synthesized stereo dataset with depth maps. The code I use to save the depth is: ...
HY Lou's user avatar
  • 11
0 votes
0 answers
10 views

How to save Depth layer with sky?

When I try to save it normally I get white image. Somebody advised to use normalize node and it works. But if sky is present (infinite depth) it doesn't normalize properly. I tried playing with map ...
blankpins's user avatar
0 votes
0 answers
14 views

I do not know how to indetify these filters

I was asked to implement these requirements: The overall feature is to include the following changes to the process: If the asset doesn't have a Base Color in the material, you should validate if it ...
Sergio's user avatar
  • 3
2 votes
1 answer
493 views

Trying to use python API to output depth and normal images -- but no files are outputted

I've copied my script below. The script runs fine and it feels like everything is set up correctly but no depth or normal files are outputted ... is my renderer maybe not using the right output node? ...
user491880's user avatar
0 votes
0 answers
84 views

z-pass get jagged with depth of field on

I was rendering meshes and grease pencil with cycles, when I turned on depth of field, the edges of z-pass get jagged. I use 3060 laptop. Is there any way to solve this issue?
diandianli's user avatar
0 votes
0 answers
96 views

Depth Map of a Sculpt

I have sculpted a model in Sculpt mode within Blender. It model has: Not been Rendered Not been retopologized 2 million vertices 2 million faces. need to be rigged, 3d printed or animated. I'm new ...
user302395's user avatar
0 votes
0 answers
112 views

Obtaining real Z depth map of a scene not clipped

This question has been posted many times, but it is impossible to do something working with the new versions of Blender. I am trying to obtain the real depth map of a scene, meaning that I need to ...
Balfar's user avatar
  • 23
0 votes
3 answers
1k views

Transparent textures result in extremely noisy mist pass

When rendering a mist pass in cycles in a scene that contains textures with alpha, it becomes essentially unusable due to noise. All posts and solutions I could find about this seem to be outdated and ...
Aci's user avatar
  • 97
0 votes
1 answer
126 views

My depth map (displace/texture) and image (on plane) aren't lining up?

Super easy solution im sure but i just can't seem to figure it out. Im attempting a Parallax effect and am using a depth map as texture for a displacement modifier however the displacement is rotated ...
caripoule's user avatar
0 votes
1 answer
1k views

Depth layering is not showing up on the rendered image in the compositing window

Very new to Blender and have been following this tutorial Create a Realistic Forest in 30 Minutes While composting [21:32 in the tutorial], he connects the "Render Layers" depth pin to the &...
Batool's user avatar
  • 133
0 votes
1 answer
79 views

import ply file and rander depth map using nodes

I sucessfully import .ply file using add-on. Now I am trying to get depth map using composting nodes. But I found that the imported ply has no Z channel. So how can I handle it?
RebeccaC's user avatar
4 votes
1 answer
184 views

Render depth, vector and normals without rendering RGB

I've rendered RGB images from a set of blend files and now I want to generate depth maps, normals and speed vectors from the blend files. Since generating these takes much lesser time as compared to ...
Nagabhushan S N's user avatar
1 vote
1 answer
786 views

How to get a disparity map from depth map in Blender?

I am trying to convert the depth map to a disparity map but I got some problems. Here is my setting in compositing nodes. I use these two equations: (1) focal_length(pixel) = focal_length(mm) * ...
jake01's user avatar
  • 13
1 vote
1 answer
389 views

Blender for elevation models - split object z coordinate at 0

I'm using the GIS addon (https://github.com/domlysz/BlenderGIS) to import digital elevation models into blender. So far so good, it puts a regular mesh at the right coordinates at the correct scale ...
Sacha Viquerat's user avatar
1 vote
1 answer
213 views

Slicing a scene corresponding to depth

I was going through a paper on near eye display by S. KAZEMPOURRADI et al. In the paper, the authors sliced a scene corresponding to distance from view plane using Blender. I am unable to so in ...
d_n2001's user avatar
  • 13
0 votes
2 answers
162 views

Render Layer Compositing - Get closest pixel to camera

I'm creating something like a depth map material. I tried Camera Data approaches but I could not get what I wanted. Render Layer Compositing is working better, but I'm try to normalize in a slightly ...
Karric's user avatar
  • 553
0 votes
1 answer
530 views

Misalignment of depth map when projecting two views into 3D point cloud

Similar to this question, I'm projecting two views (RGBD) back to 3D point cloud, but observed severe misalignment. The two views are generated using the same blender script. The blender file is here. ...
SCaffrey's user avatar
1 vote
2 answers
422 views

Creating "Local" Z Depth

For context, I'm trying to create a stylized shader in Eevee that will allow for me to create a "halo" effect around the outline of carded hair, similar to that of fresnel/facing. However, ...
Trasche's user avatar
  • 183
0 votes
1 answer
1k views

Add more "depth" starting with one texture

I am using the Node Wrangler to apply the texture (I am using just one texture, a simple photo) to simulate roughness, normals and so on. Is there a way to create more "depth" starting from ...
Jack Fisherman's user avatar
0 votes
0 answers
238 views

computer graphics ,render depth image from many meshes and triangle

how to do this?Given a scene consisting of 16000 triangles/meshes, for example, given 1000 cameras pose which expressed in 4x4 rotation matrix, how to quickly render 1000 depth image, does not need ...
骆忠伟's user avatar
0 votes
0 answers
33 views

How to save only Z-Pass Depth information as image? [duplicate]

Sometimes, I find it convenient to render a scene from the top with an ortographic camera and use the image as texture for another scene (kind of like using a flatbed scanner for scanning tree leaves ...
haarigertroll's user avatar
1 vote
0 answers
307 views

Pointclouds from rendered depth images do not align

I am trying to render multiple RGB-D images of a given object in Blender 2.93 using the python interface. The scene contains a single object at position [0, 0, 0] and I am rotating a camera around it ...
Nicolai Haeni's user avatar
0 votes
0 answers
205 views

Generating RGB,EXR or Both on demand using Blender Python

I am trying to generate a python script for rendering RGB and/or an EXR file(for getting the mist pass) for spherical images using blender. So I have a scene and I am using the cycles rendering engine....
Sourabh's user avatar
  • 43
2 votes
2 answers
868 views

Can I increase Eevee's z-buffer precision to avoid step effect on gentle inclines?

I try to export precise depth information from Eevee's z-buffer, however on gentle slopes it produces a step effect, which led me to believe the Eevee's z-buffer might use half precision floats to ...
swamy's user avatar
  • 23
1 vote
0 answers
96 views

Despeckle not working properly

When i am using despeckle in the compositing tab to clean up a depth pass it just slightly reduces the noise. In the video I am watching one despeckle already works better than 6 for me. first picture ...
rafe's user avatar
  • 138
0 votes
0 answers
1k views

Open EXR file not getting generated in certain cases

I am trying to generate an OpenEXR file based on the following procedure : Getting the depth of every pixel to the center of projection of the camera in Blender I have tried to create a simple scene ...
Sourabh's user avatar
  • 43
2 votes
0 answers
510 views

Is there a way to save single channel OpenEXR output files in blender

I am currently trying to save the depth using a technique under the following: Getting the depth of every pixel to the center of projection of the camera in Blender (effectively storing the mist pass ...
Sourabh's user avatar
  • 43
0 votes
1 answer
420 views

Ideas on: Realtime Mist Pass via Shading Nodes? [duplicate]

Wouldn't it somehow have to be possible to get a depth gradient into one's material nodes? This way you could have a realtime mist pass in the viewport (like in the picture). I guess one would need ...
jayprz's user avatar
  • 1
2 votes
1 answer
762 views

Getting the depth of every pixel to the center of projection of the camera in Blender

I am trying to get the depth of every pixel to the center of the projection of the camera in blender. I am trying to get the actual depth and not a normalized value. Hence have I tried the following ...
Sourabh's user avatar
  • 43
2 votes
1 answer
749 views

Find Orthographic scale to match perspective view size

Is there any way to find the scale of the orthographic camera so that it matches the view field from the perspective camera? So for example if I render a plane in perspective mode and I see a certain ...
Marius's user avatar
  • 31
0 votes
0 answers
654 views

Displacement map exporting trouble

So, following tutorial by creating Displacement map (through ProjectAll) and then exporting it with the model to Blender (through Multi Map Exporter plugin (UDIM format) and GoB addon) then applying ...
del's user avatar
  • 1
4 votes
1 answer
247 views

Discontinuous large values in depth map

For my project, I save rgb frames (PNG format) and the depth maps (EXR format) for different camera views. The compositor setup I use is shown here and I use Cycles. When I read the raw depth values, ...
VjayalakshmiK's user avatar
0 votes
1 answer
143 views

Baked normals not calculating gradient smoothly when using a depth map

I'm currently trying to bake normals using a depth map generated from a rigid body simulation I did featuring a few hundred coins - The problem I'm encountering which I wasn't able to find anywhere ...
Gh0stRunner's user avatar
0 votes
0 answers
226 views

Depth Pass for Particles in Blender

Can't find much information on this but I have tried using the Depth > Normalize > ColorRamp to control depth pass for particles but doesnt seem to work. Any ideas?
Chris's user avatar
  • 1
5 votes
1 answer
1k views

How to change file output node's file subpath value in python

I want to change the value of File Subpath of File Output node in Compositor from python. I'...
Nagabhushan S N's user avatar
0 votes
0 answers
62 views

Generate DOF (not depth) map from blender

I've found several ways to generate depth map from blender, but if my focus point is not the closest one, or the width of my focus area is bigger, I can't really use them to add depth of field later, ...
gtrg's user avatar
  • 27
1 vote
0 answers
76 views

multi layer depth map for edges ambivalent probelm

I want to render a depth map. The issue is in the edges between 2 depths z1 and z2: As discussed in this post: How does anti-aliasing work in cycles? There are 2 options: aliasing and anti-aliasing ...
kalonymus's user avatar
1 vote
0 answers
41 views

Create Depth Pass Based on Real World Units

I'm trying to generate synthetic training data as part of some research for my university. This data should resemble depth images captured from my camera (Realsense L515). I've been able to get good ...
GB-DEV's user avatar
  • 21
10 votes
1 answer
5k views

Calculating 3D world co-ordinates using depth map and camera intrinsics

I am looking to annotate points on a rendered 2D image and then use the rendered depth map with the camera intrinsics to find where the point in 3D space is. This process is identical to creating a ...
Sam's user avatar
  • 111
2 votes
1 answer
1k views

Compositor viewer node output never updates when rendering via Python script

Based on this answer, I am trying to extract the per-frame RGB and depth arrays of some animation scene. However, the compositor render layer and viewer node setup that I am programmatically building ...
aviator's user avatar
  • 131
2 votes
0 answers
177 views

Large values (Inf) in raw depth map

I render depth maps, in Cycles, in OpenEXR format (because I need the actual distances) and later read them in python using the openexr package. I save the depth maps like this: Connect 'Depth' of ...
VjayalakshmiK's user avatar
2 votes
1 answer
3k views

Is it possible to save depth values and rendered image in different formats?

I render rgb images and depth maps for a series of frames in blender. For depth, I actually need to store the float values as such, so that I can read them off directly in a python file later. For ...
VjayalakshmiK's user avatar
4 votes
1 answer
1k views

Z buffer read from exr file is all ones

I render RGB images and their depth maps as well for a series of frames (using cycles). Specifically, I need not a B/W depth png/jpg image, rather the actual depth values itself, which I can later ...
VjayalakshmiK's user avatar
6 votes
1 answer
20k views

How to render height map in Blender?

I've seen several tutorials on how to use a displacement modifier and a texture to create a terrain from height map data, but I want to go the other way. Given that I have used sculpt tools to hand ...
kitfox's user avatar
  • 1,616
2 votes
2 answers
590 views

How to set object at a specific depth from the camera, at a certain pixel

I want to set an object at a certain distance (or depth) relative to the camera; and also at a particular pixel. Example: I set up a camera at a random position in blender. I want an 1280x720 image. ...
Math_Max's user avatar
  • 183
2 votes
1 answer
464 views

Depth images dont get saved

I render multiple frames in blender, and if not the frames also, I at least want to save the depth maps, as an image. As can be seen in the screenshot I have attached, I have added a 'File Output' ...
VjayalakshmiK's user avatar
5 votes
0 answers
322 views

Custom shader script in compositor (de-linearize depth buffer)

Some months ago I wrote a minimal opengl 2.5d game engine with pre-rendered backgrounds (such old Resident evil, Alone in the dark and Final fantasy games). Depth is managed through a grayscale image ...
NickRay1184's user avatar
0 votes
2 answers
2k views

How to get Z-distance (not depth) from camera to object for every pixel in the frame?

I am currently doing a computer vision task and got stuck on the following problem. I need ground truth values for my sequence. I have a nice sequence where the camera moves trough my scene and ...
wuff.'s user avatar
  • 1
4 votes
0 answers
1k views

Import Blender EXR in Python EXR for depth map

I am currently trying to extract a depth map created by Cycles and read it in Python to undo the distortion introduced by Cycles. Let me tell you what I've done so far step-by-step. I cannot use ...
Megamind's user avatar