Rotate HDRI Background Material in Real Time?

Announcements, requests and support regarding the Cinema 4D exporter
Post Reply
6 posts • Page 1 of 1
JeffBDVS
Posts: 28
Joined: Tue Apr 10, 2012 2:00 am

Rotate HDRI Background Material in Real Time?

Post by JeffBDVS » Thu Apr 19, 2012 1:03 pm

When lighting a scene with an HDRI map, there's a lot of trial and error trying to position the camera and the scene objects and lights to match or complement the light source(s) in the map. Is there a way to set up the map in C4D so that I can rotate it and see the result of the rotation in real-time, and have the changes pass through to Indigo when it's time to render? I'm talking WYSIWYG or ETLAT here!

Jeff

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

Re: Rotate HDRI Background Material in Real Time?

Post by Zom-B » Thu Apr 19, 2012 8:31 pm

I already requested a overhaul of the HDRI background system to use a C4D sky based approach for direct visual feedback, maybe it will come one day :)

But until this happens you can do the following thing:

Create a C4D sky and put your EnvMap with the HDRI in the diffuse channel on it.
This represents the Indigo sky output 1:1...
Not you need to put your whole scene (with cameras!) into a xyz @ 1 Null Object and then rotate that
to have a desired result in the viewport.
Set the sky object to "do not render" and render the scene in indigo :)
polygonmanufaktur.de

User avatar
pixie
Indigo 100
Posts: 2332
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Rotate HDRI Background Material in Real Time?

Post by pixie » Fri Apr 20, 2012 1:31 am

Zom-B wrote:I already requested a overhaul of the HDRI background system to use a C4D sky based approach for direct visual feedback, maybe it will come one day :)

But until this happens you can do the following thing:

Create a C4D sky and put your EnvMap with the HDRI in the diffuse channel on it.
This represents the Indigo sky output 1:1...
Not you need to put your whole scene (with cameras!) into a xyz @ 1 Null Object and then rotate that
to have a desired result in the viewport.
Set the sky object to "do not render" and render the scene in indigo :)
That's screaming for a ' lightbulb' joke! If only I was funny enough to make one... :?

JeffBDVS
Posts: 28
Joined: Tue Apr 10, 2012 2:00 am

Re: Rotate HDRI Background Material in Real Time?

Post by JeffBDVS » Fri Apr 20, 2012 2:00 am

Zom-B wrote:Create a C4D sky and put your EnvMap with the HDRI in the diffuse channel on it.
This represents the Indigo sky output 1:1...
Not you need to put your whole scene (with cameras!) into a xyz @ 1 Null Object and then rotate that
to have a desired result in the viewport.
Set the sky object to "do not render" and render the scene in indigo :)
After some tweaking, here's what worked:
1. Set the Sky material to a higher resolution than "default". Default is incredibly pixelated in the viewport.
2. The EnvMap in the Sky object is a mirror image of the Background Material in the Indigo Renderer. Set the Z-Scale of the Sky object to -1.
3. The EnvMap is rotated 90 degrees around the Y-axis in the Sky object compared to Indigo's BG material. Set the Heading of the Sky object to -90.

The only thing left for me to find out is how to set the Sky object to "do not render". Is it as simple as setting the Sky's Basic | Visible in Renderer control to Off? Or does it involve settings in the Material tag, the Render Settings or a Compositing tag?

Thanks for the instructions, Zom-B. The 1:1 rotation works a treat!

Jeff

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

Re: Rotate HDRI Background Material in Real Time?

Post by Zom-B » Fri Apr 20, 2012 3:22 am

JeffBDVS wrote:The only thing left for me to find out is how to set the Sky object to "do not render". Is it as simple as setting the Sky's Basic | Visible in Renderer control to Off?
Cindigo does use these small red/green dots to control render visibility too ;)
polygonmanufaktur.de

JeffBDVS
Posts: 28
Joined: Tue Apr 10, 2012 2:00 am

Re: Rotate HDRI Background Material in Real Time?

Post by JeffBDVS » Fri Apr 20, 2012 3:50 am

Thanks. :)

Jeff

Post Reply
6 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 24 guests