Skip to content

Wrong depth decoding #7

@sergiobd

Description

@sergiobd

Hi Keijiro,

I'm opening another issue related to artifacts on depth data. I have been having wrong depth decoding which I first thought was due to hap conversion, then depth clipping. Now I've tracked down the problem to the RGB2Hue function in depthkit's shader code, and I solved it, though it still puzzles me why this does not happen on your captures.

Your capture:

My capture from Azure (has some strange depth segments):

If I replace the RGB2Hue function in Depthkits Common.hsls (I'm using these), the problem gets solved:

Posting this here in case someone runs into the same issues.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions