Questions tagged [depth-map]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 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 ...
0
votes
0answers
18 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 ...
0
votes
0answers
13 views

mist path problem

How to fix that noisy mist path in transparent and subsurface areas? (and also strange total black and white areas) In previous versions of blender it was usually fixed by switching to branched path ...
0
votes
0answers
27 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
32 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....
2
votes
2answers
109 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
57 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 ...
0
votes
0answers
35 views

How to render different maps (diffuse, depth, specular, shaded) of a 3d model from different camera angles?

My task is to render a 3d model from different camera angles. Along with the original snapshot, the script that I have also renders depth/normal/albedo maps of the 3d model. https://github.com/panmari/...
0
votes
1answer
33 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 ...
1
vote
1answer
96 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 ...
2
votes
1answer
109 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 ...
0
votes
0answers
114 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 ...
4
votes
1answer
75 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, ...
0
votes
1answer
41 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 ...
0
votes
0answers
50 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?
2
votes
1answer
240 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'...
0
votes
0answers
58 views

How to set the parameters to get the same imaging results as Azure Kinect DK?

Through the camera parameters, I can unproject the depth map to get a point cloud. For the obtained point cloud, I can project it to get the depth map, but how to set it in blender, to get the same ...
0
votes
0answers
35 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, ...
1
vote
0answers
15 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 ...
0
votes
0answers
54 views

Mist/Depth artifacts are appearing near a transparent object

Im getting many wierd artifacts with mist pass and depth pass.their size/shape doesnt change by samples, re-render or light paths. denoising worsens the mist by making it smudge.what is the cause of ...
1
vote
0answers
18 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 ...
10
votes
1answer
3k 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 ...
2
votes
1answer
394 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 ...
1
vote
0answers
50 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 ...
2
votes
1answer
649 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 ...
4
votes
1answer
409 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 ...
0
votes
1answer
4k 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 ...
2
votes
2answers
170 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. ...
1
vote
1answer
139 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' ...
3
votes
0answers
139 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 ...
0
votes
2answers
755 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 ...
2
votes
0answers
615 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 ...
2
votes
1answer
3k views

Mist and depth render passes in Eevee are either entirely white or very little shows up

Hi everyone! I'm trying to figure out how to adjust the mist pass but it doesnt work well to begin with. I either get a completely white pass or it looks like this. Could someone better explain to ...
4
votes
1answer
3k views

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

I basically have a 3D model of a man. I want to cut this out on a CNC machine, but the undercuts are proving to cause problems during the toolpathing and confusing the computer. I want to use ...
0
votes
0answers
470 views

View Z depth vs depth in preview

My rendered view z depth does not match the depth in the viewport and I'm wondering why / if there is an explanation for this. I've a super-simple scene: Just, a camera looking at a flat plane, ...
5
votes
1answer
562 views

Get image pixels from multiple viewer nodes

For Blender 2.81 and Cycles render. I want to access all of the following data passes from a Python script: Z Normal ...
1
vote
1answer
361 views

Depth map obtained from orthographic camera has no white pixels even when there is no object before the far clipping plane

I'd like to generate a height map from my scene that goes from -50m to +50m (the idea is to use that height map to flatten out ocean waves as they get nearer to the shore, and possibly more advanced ...
3
votes
4answers
2k views

White Noise in Blender Z Pass with alpha value in Mix Shader

I am trying to get the depth value using z pass from my scene which is a simple head model, but while rendering there is white salt and pepper noise in the hair and eyelash. I have saved in both png ...
2
votes
1answer
624 views

How to get accurate Z depth?

I‘m struggling to render accurate depth maps of different 3D models using Cycles and was wondering if anybody has/had similar problems and how she/he resolved them. I would greatly apprichiate help! :...
1
vote
1answer
87 views

How can I achieve the visual of objects pressing against membranes more beautifully?

Source files here and here. Hey folks. Currently building a project for a client which involves shapes and creatures pressing and moving against a membrane. I've tried using shrink wrap, cloth ...
2
votes
1answer
849 views

Transparent BSDF cause noise in depth layer

I have system that consumes depth and RGB output of Cycles renderer. I can observe noise in depth maps when I use transparent BSDF with ...
1
vote
1answer
1k views

Visualizing depth image after accessing render results

Based on the work of [1] I obtained the depth data of my scene as shown in the code bellow: ...