KeyShot Forum

Technical discussions => General discussion => Topic started by: jarane on August 12, 2016, 09:01:04 AM

Title: Exporting environment as .hdr or .tiff files...
Post by: jarane on August 12, 2016, 09:01:04 AM
Hi,
Is it posible to export an environment as an HDR or TIFF file for use in another program?

Thanks in advance,
E.C.
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: richardfunnell on August 12, 2016, 01:08:51 PM
Not yet, but it's a feature we're evaluating for the future!
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: jarane on August 12, 2016, 03:16:09 PM
Thanks,
Are there any work-arounds?

Thanks again,
E.C.
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: richardfunnell on August 14, 2016, 04:28:58 AM
I'm not aware of any, sorry!

The closest I could imagine is to take a screenshot of the HDRI preview and use it to re-build something similar in Photoshop :/
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: bdesign on August 15, 2016, 07:41:36 AM
Hey E.C.-

I did a test, it worked flawlessly, and it couldn't be any easier :)  Simply:

1. Open a new file with a 2:1 Landscape ratio.
2. Under the Image tab, set the Gamma to 1.
3. Set the Environment to "All Black" from the Studio category (this step isn't really necessary, but I did it anyway as a safeguard).
4. Under the Environment tab, set the Background type to "Backplate Image", navigate to your desired .hdz file, and apply as the Backplate.
5. In the Render Dialogue, set the resolution to match that of the .hdz file and render as a TIFF32.
6. Open the TIFF32 in Photoshop and save as an .hdr file.
Done.

In my example, I used the Conference Room 3K environment. I brought the newly saved .hdr file back into KeyShot and did a quick comparison render, and it appears to be identical. Make sure the Gamma is set back to 2. Images attached are:

1. Original .hdz
2. TIFF32> .hdr

Cheers,
Eric
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: DMerz III on August 15, 2016, 01:14:54 PM
Wow. How did you even begin to figure that out? Haha

Title: Re: Exporting environment as .hdr or .tiff files...
Post by: richardfunnell on August 15, 2016, 01:21:01 PM
I'm totally blown away by that workflow! It's always cool to see something that can't "officially" be done ... being done :)
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: bdesign on August 15, 2016, 01:46:27 PM
Quote from: richardfunnell on August 15, 2016, 01:21:01 PM
I'm totally blown away by that workflow! It's always cool to see something that can't "officially" be done ... being done :)
Thank you, Richard! Yeah I really like the challenge of trying to figure out ways to make applications "bend" and do what they're not "officially" supposed to :)

Quote from: dmerziii on August 15, 2016, 01:14:54 PM
Wow. How did you even begin to figure that out? Haha
dmerziii, it just struck me out of nowhere, and I thought to myself "this is too easy, it's not gonna work", and well...it did!

Thanks guys :)

Cheers,
Eric
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: Will Gibbons on August 16, 2016, 06:29:23 AM
Hahaha! This is awesome.
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: bdesign on August 16, 2016, 06:47:52 AM
Thanks, Will :)
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: DriesV on August 16, 2016, 06:54:59 AM
My brain melted a little...
bdesign for president!

Dries
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: bdesign on August 16, 2016, 07:26:38 AM
Quote from: DriesV on August 16, 2016, 06:54:59 AM
My brain melted a little...
bdesign for president!

Dries
Haha!!  Best. Compliment. Ever.  Thanks, Dries! :)

Cheers,
Eric
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: jarane on August 17, 2016, 06:09:02 PM
Hi bdesign,
you are a genius!!! Thanks for your time and effort!!!!

Maybe you can come up with a workaround for exporting .obj files while retaining all the materials (and cameras!!)

Btw, you already have my vote for the presidency
E.C.
Title: Re: Exporting environment as .hdr or .tiff files...
Post by: bdesign on August 18, 2016, 04:12:59 AM
Quote from: jarane on August 17, 2016, 06:09:02 PM
Hi bdesign,
you are a genius!!! Thanks for your time and effort!!!!

Maybe you can come up with a workaround for exporting .obj files while retaining all the materials (and cameras!!)

Btw, you already have my vote for the presidency
E.C.
Thanks very much, E.C.! Glad to help :)

Cheers,
Eric