Questions tagged [depth-map]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
5 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?
user avatar
0 votes
0 answers
20 views

bake depth weighted textures using mix from multiple cameras

I have a simple mesh textured by a equirectangular image : I can easily bake the texture from the panorama to a unwrapped texture : I have 3 other panoramas that can contribute to get a better baked ...
user avatar
  • 13
4 votes
1 answer
39 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 ...
user avatar
1 vote
1 answer
65 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) * ...
user avatar
  • 13
1 vote
1 answer
35 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 ...
user avatar
1 vote
1 answer
48 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 ...
user avatar
  • 13
0 votes
2 answers
16 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 ...
user avatar
  • 533
0 votes
0 answers
19 views

High precision depth map to file

I would like to, given a camera observing an object, save the depth map to file, without loss of precision issues. The current code is as follows: ...
user avatar
0 votes
1 answer
136 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. ...
user avatar
1 vote
2 answers
80 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, ...
user avatar
  • 149
0 votes
1 answer
33 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 ...
user avatar
0 votes
0 answers
75 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 ...
user avatar
0 votes
0 answers
19 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 ...
user avatar
  • 1
0 votes
0 answers
32 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 ...
user avatar
1 vote
0 answers
81 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 ...
user avatar
0 votes
0 answers
55 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....
user avatar
  • 13
2 votes
2 answers
230 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 ...
user avatar
  • 23
0 votes
0 answers
33 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 ...
user avatar
  • 118
0 votes
0 answers
138 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 ...
user avatar
  • 13
0 votes
0 answers
122 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 ...
user avatar
  • 13
0 votes
0 answers
52 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/...
user avatar
0 votes
1 answer
63 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 ...
user avatar
  • 1
1 vote
1 answer
175 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 ...
user avatar
  • 13
2 votes
1 answer
194 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 ...
user avatar
  • 31
0 votes
0 answers
229 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 ...
user avatar
  • 1
4 votes
1 answer
111 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, ...
user avatar
0 votes
1 answer
64 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 ...
user avatar
0 votes
0 answers
82 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?
user avatar
  • 1
2 votes
1 answer
436 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'...
user avatar
0 votes
0 answers
40 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, ...
user avatar
  • 27
1 vote
0 answers
24 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 ...
user avatar
1 vote
0 answers
25 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 ...
user avatar
  • 21
10 votes
1 answer
4k 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 ...
user avatar
2 votes
1 answer
546 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 ...
user avatar
  • 131
1 vote
0 answers
64 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 ...
user avatar
2 votes
1 answer
960 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 ...
user avatar
4 votes
1 answer
534 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 ...
user avatar
1 vote
1 answer
6k 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 ...
user avatar
  • 1,447
2 votes
2 answers
223 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. ...
user avatar
  • 183
1 vote
1 answer
204 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' ...
user avatar
3 votes
0 answers
171 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
  • 1
4 votes
0 answers
779 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 ...
user avatar
2 votes
1 answer
4k 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 ...
user avatar
4 votes
1 answer
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 ...
user avatar
  • 43
0 votes
0 answers
549 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, ...
user avatar
  • 23
5 votes
1 answer
672 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 ...
user avatar
1 vote
1 answer
411 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 ...
user avatar
3 votes
4 answers
3k 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 ...
user avatar
2 votes
1 answer
743 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! :...
user avatar
  • 23