Unity Cornell Box


iKriz Avatar

Posted

in

, ,

by

last modified on


For anyone interested in the Cornell Box and rendering it this is my attempt at it in Unity…
First of all I acquired the geometry for the cornell box from the site in 3DS Max exported it as a FBX file (available below) then opened up Unity3D. Using a the jpeg available from the site.

Creating The Cornell Box

I placed that next to the camera view of the scene for comparison. After actually figuring out that I needed a lightmap UV on my model, it started working and I could tweak settings. (In the FBX Importer turn on Generate Lightmapping UV’s)
By creating a plane with a self illumination shader and setting the light emission to 40, beast started producing some nice results. (for starters keeping ambient occlusion off for baking speed)

Render Comparison

After some tweaking and about 20 lightmaps later… I came up with this:

Which is the rendered Unity image?
image

 

(p.s. Mouse over the image for answer)

Resource Files

If your looking for the project files Tadaaaa…:
[download id=”1008″]
[download id=”1010″]

If you like this please comment and i’ll do more of this kinda thing.

[Update] Added Project Package and FBX File [/Update]

External Links

http://en.wikipedia.org/wiki/Cornell_Box
http://www.graphics.cornell.edu/online/box/
http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=6837478

Comments

5 responses to “Unity Cornell Box”

  1. Tyler Avatar

    Hey, just wanted to let you know I appreciate your cornell box package. Should let me experiment with Beast mapping inside Unity for many bakes to come.

  2. Michael Stevenson Avatar

    Thanks, much appreciated! I’ve been sifting through Beast’s XML config file and this will be quite handy.

  3. joewanchen Avatar

    hi,
    how can you get the cornell box in 3ds max from data of cornell-graphics-website?
    or in other words, how can you import data of cornell-graphics-website into 3dmax?
    thanks.

    joewanchen
  4. Max Avatar

    Hi,

    this looks cool. I need a Cornell Box in Unity for a project at the University and would like to download it but it seems like the link is down. Is the download moved to another location? It would be a big help if you could make it available again 🙂

  5. […] set up the scene in Unity, go to this website and download the two resource files. Open Unity and drap-and-drop the files into Assets below the […]

Leave a Reply

Your email address will not be published. Required fields are marked *