The Cornell Box Simulation: Raiders of the Last Node

Report this File

Clamprampcon

Views:

58,225

Updated:

Sep 13, 2005

Readership Level:

Intermediate

Tags:

Maya Versions:

1.x, 2.x, 3.x, 4.x, 5.x, 6.x, 7.x

Platforms:

irix, linux, mac, windows

Owner:

Language:

English

Ok! Recently I bought the Advanced Shading Network Training video Tape from AW

This tape hosted by Tom Kluyskens Talk about some advanced shading network and Hidden nodes like distanceBetween or closestPointOnSurface etc...

and showed several way to use'em

Looking this cool tape an idea comes to me.

I will try to simulate the cornell Box with Maya.

Let's begin !.


1 - First we setup a simple scene. A box and a sphere and a cylinder click here to download the Tut scene (better). I placed some lights (three actually) and that's it.



2 - Let see what we got Launch a render of the scene.

Below you see what I get with my setting. I used Aera Light because it is the best light to get good Radiosity effect.



3 - It looks good but there is a lack of bounce light. The effect we want is shown in the below image



For that we gonna use a node called distanceBetween. This is not a node you'll find in the Create Render Node window. You need to create it via the commande line or in the script editor.

Here is the corect syntax:

createNode distanceBetween



4 - There is several ways to select the

DistanceBetween node, but the one I prefere is to use the OutLiner.

By default you don't see it, you need to unhide it .

In the Outliner right-click and uncheck Show Dag Objects. Scroll down and you'll see the distanceBetween node.


Tutorial_next_page

Comments

Dashboard_avatar
Jan 25, 2010
Post id: 9944
Report this comment to moderators [SPAM]

hi guys. anyone has a link to scene file for cornell box?

Dashboard_avatar
Apr 29, 2010
Post id: 10984
Report this comment to moderators [SPAM]

Thanks for sharing this post. This is a very helpful and informative material. I gonna use it.

Connect the two outColor of the ramps to the input3D(0) and input3D(1) of the plusMinusAverage node.

(connect the first one and for the second right-click to input3D(0)attribute and choose Connect Next Avaliable)

Double click on the plusMinusAverage Node to open the Attribute Editor and set the operation to Sum.

Connect the plusMinusAverage.output3D to the lambert.ambiantColor.

Setup the ramp to coincide with the side walls colors.in this case one blueish and one redish.

Thanks

Daniel Perl
<a href="http://www.southsmoke.com" rel="nofollow">hookahs</a>

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account