Jump to content
Sign in to follow this  
monomind

opengl renderer - zdepth to png

Recommended Posts

Hello all,

I'm currently using opengl renderer to render out a zdepth map quickly. Everything works fine except:

The rendered zdepth map is a value between 0-100 (I believe) - when rendered as exr it's possible to work with it, however, I need to render it out as png as I don't need the extra bit depth for this project and I don't want to render to huge exr files for tens of tohusands of frames.. So for this specific project png wopuld work perfectly..

..however when rendered as png, zdepth is not there any more, only pure black.

Am I missing something here? How should I render the zdepth to png using the opengl renderer in houdini?

 

Share this post


Link to post
Share on other sites

Have you tried setting your Camera near and far clipping? Set your far clipping closer...

Share this post


Link to post
Share on other sites

@Atom no matter what I've tried, the value is still far beyond 0 and 1

Also, I need to render my scenes without any clipping.

Edited by monomind

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×