enviroment hdr,exr,tiff ?

Announcements, requests and support regarding the Cinema 4D exporter
Post Reply
10 posts • Page 1 of 1
losbellos
Posts: 39
Joined: Sat Apr 19, 2008 8:44 pm

enviroment hdr,exr,tiff ?

Post by losbellos » Fri Oct 30, 2009 2:14 am

Hi,
More or less I searched through the forum about the HDRI support. I would like to know how to create a hdri enviroment, to render with indigo.
Is that possible? I have tried with hdri, tiff, and exr, either crash or unsoppoerted format were the results. I converted the hdri map with HDRSHOP and used PHOTOSHOP for th .exr conversion.
Thanks.

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: enviroment hdr,exr,tiff ?

Post by fused » Fri Oct 30, 2009 2:20 am

Hi,

are you using the latest cindigo? I assueme you tried it with the 'Background Material' option in the indigo render settings.

there is a problem with backround materials with textures in the latest cindigo. its already fixed for the next version, which i'll release soon, due to basically everyone having problems with it.

Supported formats are TIFF and EXR, HDR is not supported.
Also there's apparently an issue with 32 bit EXR/TIFF images, but this is not related to the background material bug in cindigo.

losbellos
Posts: 39
Joined: Sat Apr 19, 2008 8:44 pm

Re: enviroment hdr,exr,tiff ?

Post by losbellos » Fri Oct 30, 2009 2:38 am

thanks, well, seems a bit wierd to not support 32 bit depth, I try with 16, on a spehere object.

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: enviroment hdr,exr,tiff ?

Post by Zom-B » Fri Oct 30, 2009 3:06 am

EXR is capable of 32bit and more flexible then pre-christ HDR....
Its also Open Source!
polygonmanufaktur.de

forgeflow
Posts: 63
Joined: Thu Oct 29, 2009 5:26 pm
Location: Canada
Contact:

Re: enviroment hdr,exr,tiff ?

Post by forgeflow » Fri Apr 02, 2010 6:18 pm

Here's my contribution to this discussion. I'm not an old hand with Cindigo, so if I get anything wrong here, I'm sure someone can straighten me out. :)

Using HDRI Enviroment lighting in Cinema 4D with Indigo

1) If your HDRI image is in "probe" or "cross" format, you need to convert it to equirectangular projection using Cinema 4D's "Convert HDR Probe..." or "Convert HDR Cross..." utilities that you will find in the "Render" menu. If not, skip to step 2.

2) Open your HDR file in Photoshop or similar program and save it out in Open EXR format. This file format will work with Indigo.

3) In the Cinema 4D scene where you wish to use the HDRI Lighting, create an Indigo Material. It should be a Diffuse material, color should be white, 100% brightness. Click the checkbox next to "Emission" on the left to create an Emission channel for the material. The spectrum type should be RGB, white, brightness 100%. In the "Emission Map" area, load the .exr file you saved in Step 2. Name the material something memorable, like "Sky".

4) If you have not already done so, in "Render Settings" click the "Effect..." button, and add the "Indigo Render Settings" Effect. Go to the "Environment" tab, and set the "Light Type" to "Background Material". Drag the "Sky" material you created in Step 3 into the field next to the "Background Material" option in the Enviroment tab in the Render Settings dialog.

That's it. You now have HDRI Lighting in your Indigo scene. It might be difficult to see how this environment is oriented in relation to your scene. I recommend putting a mirror ball into the middle of the scene, and putting the camera above it, looking straight down, and rendering that. Then you'll know which way the lights in the HDRI map are in relation to your scene, and you can then adjust/rotate the scene to compensate.

If you need the HDRI brighter, or darker, in relation to other lights in your scene, you can do this by adjusting the brightness of the spectrum type in the the "Sky" material. I often use a value of 500% or more. You can assign the Emission channel of the "Sky" material to it's own light group, and then experiment with different values for the lightgroup in Indigo's interface, to figure out what the brightness value here should be set to.

User avatar
PureSpider
Posts: 1459
Joined: Tue Apr 08, 2008 9:37 am
Location: Karlsruhe, BW, Germany
Contact:

Re: enviroment hdr,exr,tiff ?

Post by PureSpider » Fri Apr 02, 2010 10:26 pm

forgeflow wrote:Then you'll know which way the lights in the HDRI map are in relation to your scene, and you can then adjust/rotate the scene to compensate.
Or - rotate the background material instead ;)

losbellos
Posts: 39
Joined: Sat Apr 19, 2008 8:44 pm

Re: enviroment hdr,exr,tiff ?

Post by losbellos » Fri Apr 02, 2010 11:16 pm

What is the particular reason to support exr only? I think .hdr is still the most common format.
I moved back to opensource these days a bit, writing an exporter for smallLuxGPU, but as always, I keep track of all renderers progress :D. I am an insane 3d guy, loving so much these engines.

forgeflow
Posts: 63
Joined: Thu Oct 29, 2009 5:26 pm
Location: Canada
Contact:

Re: enviroment hdr,exr,tiff ?

Post by forgeflow » Sat Apr 03, 2010 1:22 am

losbellos wrote:What is the particular reason to support exr only? I think .hdr is still the most common format.
Mostly because all of the .hdr files I have used from the Internet leave Indigo telling me that it can't use the file (don't recall the exact error message). Converting to .exr format makes them work. ;)

losbellos
Posts: 39
Joined: Sat Apr 19, 2008 8:44 pm

Re: enviroment hdr,exr,tiff ?

Post by losbellos » Sat Apr 03, 2010 1:33 am

Yeah, I forget for a moment that it is the exporter topic ;-)

burnin
Posts: 153
Joined: Tue May 04, 2010 2:53 pm

Re: enviroment hdr,exr,tiff ?

Post by burnin » Wed May 05, 2010 1:02 pm

here IBL is possible only on phong shader with exr or tiff image in emitter channel set to blackbody (btw you can open hdr & save exr with c4d picture viewer)... & question is: Is this process correct?
'cause whatever i do i can't influence the IBL strength

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests