habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

Rendering equirectangular images from replica in HDR (.hdr or .exr)

Open elientumba2019 opened this issue 4 years ago • 6 comments

❓ Questions and Help

Hello. Thanks for this amazing platform.

I have the following questions : 

  1. How do I render hdr (.hdr, .exr not rgba) images from the replica dataset using habitat-sim?
  2. How do I render equirectangular images?

Thank you

elientumba2019 avatar Dec 20 '20 06:12 elientumba2019

  1. See the example from Habitat-Lab about how to render equirect images from a cubemap.
  2. Pretty sure Magnum supports reading/writing HDR files, but I don't know if we actually support HDR rendering in Habtiat-Sim. @bigbike @mosra

Skylion007 avatar Dec 20 '20 18:12 Skylion007

@bigbike , @mosra . Hello, I hope you are well. Does habitat support writing HDR files? exr, or hdr. Specifically for the replica dataset as it comes with high dynamic range textures. Thank you

elientumba2019 avatar Dec 23 '20 11:12 elientumba2019

@mosra @bigbike I also want to know how to render HDR images. Looking forward to your help. Thank you!

waldenlakes avatar Dec 27 '20 03:12 waldenlakes

Magnum does support writing HDR and EXR files but Habitat isn't ready for that right now -- it always renders to a 8-bit framebuffer. It would need to be updated (here, here and probably some other places as well) to add an option for 16-/32-bit float output next to 8-bit.

mosra avatar Dec 29 '20 20:12 mosra

Magnum does support writing HDR and EXR files but Habitat isn't ready for that right now -- it always renders to a 8-bit framebuffer. It would need to be updated (here, here and probably some other places as well) to add an option for 16-/32-bit float output next to 8-bit.

Thanks alot for your help and I have been able to render HDR images.

waldenlakes avatar Jan 05 '21 09:01 waldenlakes

@waldenlakes PR welcome.

Skylion007 avatar Jan 05 '21 16:01 Skylion007