Hi there Vray guru`s!
I stuck with childish (at first glance) question - how to get Z-pass ?
But the devils as always in details .. I need depth pass stored in exr.with deep data.
So, I`ve setup two passes: default vray ZDepth and my custom Z via "sampler info" .
Even more I`ve changed default vray ZDepth pas so, that in theory it should be identical to "sampler info" z-pass..
But as a result I got some really-really-really strange looking depth-pass.
Actually I did pretty much many different tests.. and cant find slution.. so decide to write here and hope for yur help guys.
While my investigation I fund that vray shows me correct Z values in his frame buffer dialog! and if I save exr from framebuffer window, I got gorrect Z data.
So, after this i thought that something wrong is going on the final stage while saving\converting vrayimg to exr file.... just thoughts...
And one more thing - If I use deepToImage tool in Nuke to obtain depth from this exr, I got z-deph pass without these alien-circles.. but, the values it shows me is incorrect, I don`t understand what they actually are?... In that case you can use zDepth from sampler Info (blue channel) as a reference.. and there you can see that correct values for closest point on my floor-object is something like 27+-
but depth extracted from deep shows me values 0.038+-
You can find my resulted exr and Maya scene in links below:
1) Maya test scene
2) Result deep EXR image
Thank you for your attention.
-serge.
PS: and yes, I did it all in 32 bit float
I stuck with childish (at first glance) question - how to get Z-pass ?
But the devils as always in details .. I need depth pass stored in exr.with deep data.
So, I`ve setup two passes: default vray ZDepth and my custom Z via "sampler info" .
Even more I`ve changed default vray ZDepth pas so, that in theory it should be identical to "sampler info" z-pass..
But as a result I got some really-really-really strange looking depth-pass.
Actually I did pretty much many different tests.. and cant find slution.. so decide to write here and hope for yur help guys.
While my investigation I fund that vray shows me correct Z values in his frame buffer dialog! and if I save exr from framebuffer window, I got gorrect Z data.
So, after this i thought that something wrong is going on the final stage while saving\converting vrayimg to exr file.... just thoughts...
And one more thing - If I use deepToImage tool in Nuke to obtain depth from this exr, I got z-deph pass without these alien-circles.. but, the values it shows me is incorrect, I don`t understand what they actually are?... In that case you can use zDepth from sampler Info (blue channel) as a reference.. and there you can see that correct values for closest point on my floor-object is something like 27+-
but depth extracted from deep shows me values 0.038+-
You can find my resulted exr and Maya scene in links below:
1) Maya test scene
2) Result deep EXR image
Thank you for your attention.
-serge.
PS: and yes, I did it all in 32 bit float
Comment