|
|
|
|
|
|
Site Sponsors:
|
|
|
|
Site Affiliates:
|
|
Advertisers:
|
|
|
-
White balance and you (3ds Max 2008 specific)
Written by Jeff Patton Monday, 24 December 2007 14:07
For those that are familiar with photography, you already know how to configure the whitepoint setting on the mr Photographic Exposure control. For those that aren't familiar with photography, this tutorial may help.
Before starting, here's some good reference information on White Balance & Color Temperatures:
http://www.apogeephoto.com/july2004...ten7_2004.shtml
http://www.mediacollege.com/lightin...emperature.html
1. Download the following 3ds Max 2008 file:
http://jeffpatton.net/blog-images/Kelvin_start.zip
The file is a simple studio setup with two light sources. The light sources are both mr Sky Portal lights with mib_blackbody shaders applied to give kelvin capabilities to the light sources. I could have also used photometric lights since they have kelvin controls built in...so why didn't I? I wanted the light sources to be visible for reflection purposes. Currently the photometric lights do not have an option to make them visible.
2. Render the scene as it is. This is the resulting render:

Why does it have that yellow/orange tint? To answer that let's quickly explore the scene settings. The two sky portal light sources have a mib_blackbody shader applied with a kelvin temperature of 3600K assigned. If you look at a Kelvin chart you'll find that 3600K has a slight yellow/orange tint. For reference, here's a link to Jeremy Birn's Kelvin Chart from his book "[digital] Lighting & Rendering".
Kelvin Color Temperatures
Also, here's another list of common Kelvin color temperatures:
Freestyle Photographic Supplies
To continue, here's a screen capture of the scene & settings (click to enlarge)

Naturally the color of the light is important, but also the white balance setting is critical. The white balance is currently set to it's default value of 6500K. This setting will give you an accurate (true) representation the light sources actual color.
Note: Our eyes do this filtering in real time so we normally can't see the yellow/orange tungsten light sources...unless you go outside at night and look into a room lit with tungsten lights.
So what if I want to use physically accurate kelvin settings on my light sources, but I don't want the renders to be tinted yellow/orange (or blue)? Well, on most real-world cameras you have several presets for lighting scenarios (incandescent/tungsten, fluorescent, daylight, etc..). These presets are simply changing the white balance setting on your camera.
In addition to the presets, you may also be able to manually configure the white balance on your camera. In the next steps you'll see that we can easily modify the white balance on the mr Photographic exposure control to help "correct" the light colors in our renders when using Kelvin controls.
3. Back in the Kelvin_start.max scene, change the "Whitepoint" setting on the mr Photographic Exposure control to 3600.0 Kelvin and render the scene again.
Screen capture (click to enlarge):

This is the resulting render (click to enlarge):

We didn't change anything on the light settings, but now the lights appear to be white..why? It's because we matched the white balance of our exposure control to the Kelvin settings on our light sources. Remember, the light sources currently have a Kelvin setting of 3600K, now our whitepoint value is also set to 3600K.
As a rule of thumb, if a light source has a Kelvin setting higher than your exposure's whitepoint Kelvin setting will appear cooler (blue, not "oooh, kewl"..lol). If a light source has a Kelvin setting lower than your exposure's whitepoint Kelvin setting, it will have a warm appearance. If the light source Kelvin setting & the exposure whitepoint Kelvin setting match exactly, no color variation is expected resulting in a white appearance.
4. To explore this, go back into the Kelvin_start.max file and turn off the mr Sky Portal01 light source. Open the material editor and assign Map #3 (a mib_blackbody shader with a 4600K setting) as an instance to the custom color source map of mr Sky Portal02.
Screen capture (click to enlarge):

Make sure the mr Photographic Exposure control whitepoint is still set to 3600K and render the scene. Here's what the resulting render should look like:

Now if you check one of the Kelvin color charts (see links above for chart), you'll notice that 4600K isn't blue in color. But since it's higher than the whitepoint value on our exposure control, it appears to have a blue tint.
5. Change the Whitepoint setting on the mr Photographic Exposure control back to 6500K
Screen capture (click to enlarge):

Render the scene again to see the "true" color of this 4600K light source.

So now you know how to set the whitepoint on your exposure for lights that have the same Kelvin setting. But what happens if you have multiple lights with different Kelvin settings?
6. Back in step 4 we disabled mr Sky Portal01. Go back into the scene and enable mr Sky Portal01 again. It still has the original 3600K mib_blackbody shader applied to it. But now mr Sky Portal02 has a 4600K mib_blackbody shader.
You obviously can't set the exposure's whitepoint value to two different settings. So you'll just have to find a midpoint between the two light sources. Change the Whitepoint value on the mr Photographic Exposure control to 4100K. That's a midpoint between 3600K & 4600K.
Screen capture (click to enlarge):

Resulting render:

You'll notice that both light sources contribute color to the scene. The 3600K light source appears to emit a warm color while the 4600K light source appears cool in color.
So that should give you a feel for how the Whitepoint setting on the exposure control works in conjunction with Kelvin settings on your light sources. You can use this knowledge to help create both realistic & unrealistic lighting scenarios.
An example of an unrealistic lighting scenario is when you have a client that doesn't like the blue light that the sky naturally emits (on a sunny cloud free day). For example if you render architectural interiors and use the mrSun/mrSky & portal lights. The portal lights will push blue from the sky into the room (which is a completely natural phenomenon). But often you client will not like the blue light...some may even argue with you that it's not physically correct (but it is).
So, to eliminate it you can replace the light portals with pure white light sources or assign a kelvin color to the skyportals like I did in this scene and then match the whitepoint value on the exposure control. Here's an example of that scenario:
Screen capture (click to enlarge):

Resulting render:
http://jeffpatton.net/Blog-images/Kelvin_interior.jpg
Finally, for those that celebrate the Christmas Holiday, I wish you & your family a Merry Christmas!
Actual Blog Entry:
White balance and you (3ds Max 2008 specific)
-
The Following User Says Thank You to Russell L. Thomas For This Useful Post:
-
Re: White balance and you (3ds Max 2008 specific)
I cannot download the zip file.
-
-
Re: White balance and you (3ds Max 2008 specific)
I suggest going to the actual blog linked and in the comment box ask if he could provide a fresh link? He did a new website and some links no longer worked, he tried to fix them all but may have missed one. Say "Purdy purdy please" to Jeff and maybe he will hook you up!
-
-
Re: White balance and you (3ds Max 2008 specific)
-
-
Re: White balance and you (3ds Max 2008 specific)
Thank you very much, Jeff Patton.
-
-
Re: White balance and you (3ds Max 2008 specific)
I read this at CGsociety back when Jeff posted it...it was very helpful in understanding the and applying the concept..not just for MR but for lighting otherwise as well...
Thanks a lot Jeff for your blog...its always so helpful
Only those who attempt the absurd will achieve the impossible.
M. C. Escher
-
Similar Threads
-
By Russell L. Thomas in forum Design Challanges - Charrette's/Themed Challenges
Replies: 18
Last Post: 04-03-2011, 02:07 AM
-
By simplychen in forum XSI
Replies: 4
Last Post: 01-12-2011, 11:02 PM
-
By bokkins in forum Architectural Renderings - Architectural Visualization Showcase
Replies: 2
Last Post: 09-04-2008, 08:59 AM
-
By Russell L. Thomas in forum Portal News
Replies: 0
Last Post: 06-18-2007, 01:19 AM
-
By m-spaces in forum Questions & Answers:
Replies: 6
Last Post: 06-24-2006, 02:28 AM
Chatbox
> General Channel
Chatbox
General help
The MGC Chatbox Evo is really easy to use
You can :
- Send chats : you just have to enter the text in the dedicated input field and then to validate it by pushing the return key ou by clicking on the OK button.
- Format the chats :
once you un-collapse the chatbox formatting toolbar by clicking on the BBCode button, you have access to different formatting options for your chats. You can format a chat by selecting a part (or the totality) of it and then select one of the buttons/list. You can also add empty formatting tags by selecting nothing and clicking one of the buttons/menu thus allowing you to add the chat text afterwards between these tags.*
- Access to the different channels : you can have access to different channels restricted to only some usergroupds or for specifics use of the chatbox. The different channels are accessible from the buttons on the left of the chatbox.*
- Edit your chats (or others chats) : the edition of a chat can be done by a simple double-click on it.*
- Use specific commands : some commands can be accessible in the chatbox depending on the will of the administrator(s) of your forum. These commands let you execute specific actions of formatting, management, etc... You will herebelow the information on the command which are accessible to you. You must notice that you are not forced to use the command prefixes (/command_name) when you use them in the channel they are attached to (except in the general channel).*
* : Depending on the settings chosen by the administrator(s) of the forum, you might not have access to all these features.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

|
Bookmarks