Z-pass depth map

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
bartek_zgo
Posts: 81
Joined: Mon Oct 26, 2020 11:42 am

Re: Z-pass depth map

Post by bartek_zgo » Mon Jul 19, 2021 7:42 am

Sorry,
still do not understand why the same scene rendered in blender, and than exported and rendered with standalone give different results.
Exr use 16 bits but still infinity should be infinity or not?
I attach my scene. What should I do to get the sky white?
Attachments
00058.zip
(25.21 KiB) Downloaded 31 times

bartek_zgo
Posts: 81
Joined: Mon Oct 26, 2020 11:42 am

Re: Z-pass depth map

Post by bartek_zgo » Fri Jul 23, 2021 9:04 am

Hi, could somebody take a look at this problem?

User avatar
Dade
Developer
Posts: 5524
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Z-pass depth map

Post by Dade » Fri Jul 23, 2021 11:49 am

bartek_zgo wrote:
Fri Jul 23, 2021 9:04 am
Hi, could somebody take a look at this problem?
zdepth.jpg

The DEPTH.exr file shows INF values as expected :?:
Support LuxCoreRender project with salts and bounties

bartek_zgo
Posts: 81
Joined: Mon Oct 26, 2020 11:42 am

Re: Z-pass depth map

Post by bartek_zgo » Thu Jul 29, 2021 7:03 am

Thanks Dade,
I have solved this issue. When you open this image with gimp it gives black color for INF values what was confusing. I've been trying to open this file with openEXR library but I made a mistake. I was not opening the original image but compressed. And this is what I have found. If I open exr image and save it using lossy compression like DWAB, all INF values are LOST!

User avatar
FarbigeWelt
Donor
Posts: 1033
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Z-pass depth map

Post by FarbigeWelt » Fri Jul 30, 2021 6:42 am

bartek_zgo wrote:
Thu Jul 29, 2021 7:03 am
Thanks Dade,
I have solved this issue.
... save it using lossy compression like DWAB, all INF values are LOST!
The first time Sheldon met Penny she struggled opening the door to her apartment. Penny answered Sheldon's question about what was going on with some kind of excuse because she plugged the wrong key into her apartment's door lock. Sheldon asked Penny in a rather puzzled mood as just read a fancy terminal message: "This error should actually never occur."



Well, I'll never catch it why there are these silly options to save a file of EXR type anything but lossless.
This is one of these flaws beyond my horizon ....
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
Windows 10 Pro 64 || 2x16 Cores, AMD Ryzen 3950X @3.5GHz, 64 GB RAM, DDR4 @3.2 GHz
2x openCL, AMD Radeon RX 5700 XT, 8 GB VRAM || Gfp = SFFT Gflops

Post Reply