Free program makes computer graphics more realistic

October 9, 2012 by Bill Steele, Cornell University
Computer-generated image of a brass chandelier rendered by Mitsuba. Credit: Wenzel Jakob/Cornell University

(—Computer-generated images can be a little more realistic—and a lot cheaper to make—with a rendering program created by a Cornell graduate student.

"To render an image you start by describing all of a scene to a computer, which translates them into an equation and tries to solve it. This process can be incredibly difficult and awkward. The goal of my project is to create cutting-edge software that makes it considerably easier," said Wenzel Jakob, a Ph.D. student working with Steve Marschner, associate professor of .

Jakob has just released a major new version of Mitsuba, a free, open-source rendering program that is already in use by computer graphics researchers around the world. "Open source" means that the code is freely available for anyone to work on. Although many others have contributed significant refinements, Jakob said, it's mostly his development, the result of several years of work—about 150,000 lines of code—and he's still in charge of the project. "I get to decide what goes in," he said.

Glassware on a silver serving tray, illuminated by the above chandelier. Mitsuba makes it real by managing the complex path of light reflected by shiny surfaces and passing through glass. Credit: Wenzel Jakob/Cornell University

Mitsuba is named after an herb that is used in Japanese cooking, a hobby of Jakob's.

"It's been very rewarding to watch this software grow from a small project a few years back into one of the most sophisticated renderers available," Marschner said.

The new version offers a much-improved , along with mathematical advances under the hood to speed up processing and enhance . Most animated movies and video games are built with software that makes compromises, settling for results that are "at least not objectionable," Jakob said. In , he said, there's a drive for realism that has brought forth new developments, but these are only slowly making their way into .

"What really is new is that Mitsuba implements a group of rendering algorithms that traditionally have been horribly complicated," Jakob said.

In particular, that includes an (a set of mathematical rules for writing a program) called Metropolis Light Transport that has long frustrated programmers. "To my knowledge this is the first publicly available implementation of the algorithm that works correctly," Jakob said.

A knitted scarf was modeled by new algorithms developed by Steve Marschner and colleagues that recreate the intricacies of stitches. The renderer simulates the complex light transport that's happening in the fibers of the scarf, giving it a realistic "fuzzy" appearance. Credit: Wenzel Jakob/Cornell University

Together with improvements developed by Jakob and Marschner, this algorithm manages the complex behavior of light traveling through glossy materials such as brushed metal or glass. As examples, Jakob offers images of a brass chandelier with many bulbs, glassware on a serving tray illuminated by such a chandelier and architectural scenes lit by sunlight coming through windows.

Computer graphic images are created in two steps. First, the artist builds a 3-D model, stored by the computer as an array of the points on the surface of an object, along with information like color and texture. The rendering step then creates an image of what the model would look like when seen from a particular point in space, assuming a particular source of illumination. To do that the computer must calculate the path of rays of light traveling from the "camera" to the object, reflecting off it and then traveling to the light source. The new version of Mitsuba speeds this up by calculating "bidirectionally," tracking rays both from the light source and from the camera and figuring out where they meet.

In addition to the free Mitsuba for rendering, free modeling programs are available. The most popular is called Blender. The Blender Foundation's "Open Movie Project" turns out an animated movie every year to demonstrate what can be done with free software. Mitsuba is not integrated with this software yet, Jakob said, but he hopes that a future cooperation will enable both efforts to benefit from one other.

Explore further: Imagining how light behaves in 2-D world gives researchers insights for faster 3-D rendering

Related Stories

Oscar Worthy Science And Engineering

February 18, 2010

When audiences watch a movie, they know that what they are seeing is an illusion -- and making the images appear as real as possible can be a major undertaking for any filmmaking team.

Faster computer graphics

June 13, 2011

Photographs of moving objects are almost always a little blurry — or a lot blurry, if the objects are moving rapidly enough. To make their work look as much like conventional film as possible, game and movie animators ...

Recommended for you

Cryptocurrency rivals snap at Bitcoin's heels

January 14, 2018

Bitcoin may be the most famous cryptocurrency but, despite a dizzying rise, it's not the most lucrative one and far from alone in a universe that counts 1,400 rivals, and counting.

Top takeaways from Consumers Electronics Show

January 13, 2018

The 2018 Consumer Electronics Show, which concluded Friday in Las Vegas, drew some 4,000 exhibitors from dozens of countries and more than 170,000 attendees, showcased some of the latest from the technology world.

Finnish firm detects new Intel security flaw

January 12, 2018

A new security flaw has been found in Intel hardware which could enable hackers to access corporate laptops remotely, Finnish cybersecurity specialist F-Secure said on Friday.


Adjust slider to filter visible comments by rank

Display comments: newest first

2.3 / 5 (6) Oct 11, 2012
3 / 5 (6) Oct 11, 2012
those images are astonishing if i hadn't been told they were renders i would have believed they were photographs
3 / 5 (8) Oct 11, 2012
program, documentation (PDF, both ~ 30 MB download). It's sorta PovRay using OBJ 3D format for meshes and XML for scene graph.
2 / 5 (8) Oct 11, 2012
Fascinating, thanks :-)
2.1 / 5 (7) Oct 11, 2012
Lex Talonis
1.7 / 5 (6) Oct 15, 2012
I looked at the scarf and thought, "Fuck - that looks real."
3.7 / 5 (3) Oct 16, 2012
The scarf looks amazing the chandelier looks like crap though

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.