Free program makes computer graphics more realistic

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

(Phys.org)—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: Computerized emotion detector

Related Stories

Oscar Worthy Science And Engineering

Feb 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

Jun 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 ...

Recommended for you

Computerized emotion detector

Sep 16, 2014

Face recognition software measures various parameters in a mug shot, such as the distance between the person's eyes, the height from lip to top of their nose and various other metrics and then compares it with photos of people ...

Cutting the cloud computing carbon cost

Sep 12, 2014

Cloud computing involves displacing data storage and processing from the user's computer on to remote servers. It can provide users with more storage space and computing power that they can then access from anywhere in the ...

Teaching computers the nuances of human conversation

Sep 12, 2014

Computer scientists have successfully developed programs to recognize spoken language, as in automated phone systems that respond to voice prompts and voice-activated assistants like Apple's Siri.

Mapping the connections between diverse sets of data

Sep 12, 2014

What is a map? Most often, it's a visual tool used to demonstrate the relationship between multiple places in geographic space. They're useful because you can look at one and very quickly pick up on the general ...

User comments : 7

Adjust slider to filter visible comments by rank

Display comments: newest first

foolspoo
2.3 / 5 (6) Oct 11, 2012
wow!
Bowler_4007
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
ValeriaT
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.
Mike_Massen
2.1 / 5 (7) Oct 11, 2012
Fascinating, thanks :-)
xen_uno
2.1 / 5 (7) Oct 11, 2012
Fabulous!
Lex Talonis
1.7 / 5 (6) Oct 15, 2012
I looked at the scarf and thought, "Fuck - that looks real."
MasterFoo
3.7 / 5 (3) Oct 16, 2012
The scarf looks amazing the chandelier looks like crap though