Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Depth rendering with OpenGL

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
eduard.jundt
268 Views, 2 Replies

Depth rendering with OpenGL

Is it possible to get a depth image with OpenGL rendering? For my use case the created values should be the same as the ones created using ray tracing with depth render pass. Output format should be .exr

 

I tried View>Advanced OpenGL Settings>Depth Only Pass. But this does not change the rending at all.

 

Any ideas?

2 REPLIES 2
Message 2 of 3

Hi Eduardt,

 

Renderpasses in general are not supported in OpenGL at the moment. We would have to do a special implementation for the depth pass to match what we currently write out from the Raytracers. The raytracers still use the normal old OpenGL standard depth buffer encoding while we switched to the much superior reverse-Z format in OpenGL a while ago. So there is no easy way for us to write the old format out in OpenGL.

 

Kind regards

Michael



Michael Nikelsky
Sr. Principal Engineer
Message 3 of 3

Hi Michael,

 

Thanks for clarification. I will try to write a custom OpenGL shader that creates the depth information that I need.

 

Eduard

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report