Render smoke and fog without being a computation hog

August 9, 2007 Computer-Generated Foggy Scence

The kind of foggy image that the new graphics method can render more quickly and efficiently than other methods. Credit: UC San Diego

Computer scientists from UC San Diego have developed a way to generate images like smoke-filled bars, foggy alleys and smog-choked cityscapes without the computational drag and slow speed of previous computer graphics methods.

“This is a huge computational savings. It lets you render explosions, smoke, and the architectural lighting design in the presence these kinds of visual effects much faster,” said Wojciech Jarosz, the UC San Diego computer science Ph.D. candidate who led the study.

Today, rendering realistic computer generated images with smoke, fog, clouds or other “participating media” (some of the light is actually absorbed or reflected by the material, thus the term “participating”) generally requires a lot of computational heavy lifting, time or both.

Diagram of Wojciech Jarosz's Graphics Approach

Each circle represents the areas for which a particular cache point is valid. In order to compute the color arriving at the eye from a particular direction, the method accumulates the lighting from all cache points overlapping with the "line-of-sight" (shown in yellow). Credit: UC San Diego

“Being able to accurately and efficiently simulate these kinds of scenes is very useful,” said Wojciech Jarosz (pronounced “Voy-tek Yar-os”), the project leader.

Jarosz and his colleagues from the UCSD Jacobs School of Engineering who are working to improve the process of rendering these kinds of images are presenting their work on Thursday, August 09, 2007 as a part of the “Traveling Light” session at SIGGRAPH, the premier computer graphics and interactive technologies conference.

Imagine a smoke-filled bar. Between your eyes and that mysterious person across the room is a cloud of smoke. In the real world, how well you can see through the smoke depends on a series of factors that you do not have to consciously think about. For graphics algorithms that render these kinds of images, figuring out the lighting in smoky, cloudy or foggy settings is a computational process that gets complicated fast.

With some existing computer graphics approaches, the system has to compute the lighting at every point along the smoky line of sight between your eyes and the person at the bar – and this leads to computational bottlenecks. The new approach from Wojciech Jarosz and colleagues from the UCSD Computer Science and Engineering Department of the Jacobs School avoids this problem by taking computational short cuts. Jarosz’s method, called “radiance caching,” makes it easier to actually create realistic images of smoky bars and other images where some material hanging in the air interacts with the light.

With the new approach, when smoke, clouds, fog or other participating media vary smoothly across a scene, you can compute the lighting accurately at a small set of locations and then use that information to interpolate the lighting at nearby points. This approach, which is an extension of “irradiance caching,” cuts the number of computations along the line of sight that need to be done to render an image.

In addition, the radiance caching system can identify and use previously computed lighting values.

“If you want to compute all the lighting along a ray, our method saves time and computational energy by considering all the precomputed values that happen to intersect with the ray,” said Jarosz.

The computer scientists developed a metric based on the rate-of-change of the measured light. “In areas where the lighting changes rapidly, we can only re-use the cached values very locally, while areas where lighting is very smooth, we can re-use the values over larger distances,” said Jarosz.

For example, a uniformly foggy beach scene requires fewer calculations than a foggy scene pierced with many rays of light.

“Our approach can be used for rendering both still images and animations. For still images, our technique gains efficiency by re-using lighting computations across smooth regions of an image. For animations where only the camera moves, we can also re-use the cached values across time, thereby gaining even more speedup,” Jarosz said.

In their SIGGRAPH presentation, Jarosz and his co-authors compared their new system to two other approaches, “path tracing” and “photon mapping.”

“Our approach handles both heterogeneous media and anisotropic phase functions, and it is several orders of magnitude faster than path tracing. Furthermore, it is view driven and well suited in large scenes where methods such as photon mapping become costly,” the authors write in their SIGGRAPH sketch.

In the future, among other projects, the computer scientists would like to develop a way to reuse the same cache points temporally – in different frames of the same animation, for example.

Source: University of California - San Diego


print this article email this article download pdf blog this article bookmark this article     Stumble it Digg this share on Facebook retweet share on Reddit add to delicious
Rate this story - 4.4 /5 (13 votes)


August 9, 2007 all stories

Comments: 0

4.4 /5 (13 votes)
  • Stumble this up

  • Digg this

  • share this

  • hide
  • Related Stories

  • New search technique for images and videos has broad applications
    created Nov 10, 2009 | popularity not rated yet | comments 0
  • Improving security with face recognition technology
    created Nov 10, 2009 | popularity not rated yet | comments 0
  • Technology brings new insights to ancient language
    created Oct 14, 2009 | popularity not rated yet | comments 0
  • Radio waves 'see' through walls (w/ Video)
    created Oct 12, 2009 | popularity not rated yet | comments 0
  • Machine Learning by Watching and Listening
    created Oct 05, 2009 | popularity not rated yet | comments 0



  • hide
  • Relevant PhysicsForums posts

  • sedumi for semidefinite optimization
    created 6 hours ago
  • TI 89titanium
    created Dec 11, 2009
  • TI troubles
    created Dec 09, 2009
  • Please help me with dsl problem!!!
    created Dec 04, 2009
  • iPhone or Blackberry?
    created Dec 04, 2009
  • Is there any TI-89 support forum?
    created Dec 03, 2009
  • More from Physics Forums - Computing & Technology

Other News

P&G to stop e-coupons for Kroger loyalty cards

Technology / Business

created 14 minutes ago | popularity not rated yet | comments 0

(AP) -- Procter & Gamble Co. is getting a digital divorce from Kroger Co., severing the online coupon program the two Cincinnati-based companies began two years ago.


Web site runs elaborate Secret Santa gift exchange

Technology / Internet

created 1hour ago | popularity not rated yet | comments 0

(AP) -- 'Tis the season for heart-melting tales of spontaneous good will among strangers, which, like the rest of our relationships, has gotten a lot more convenient since the advent of the Internet.


Nissan Leaf

Electric cars rolling out

Technology / Energy

created 21 hours ago | popularity 4.5 / 5 (11) | comments 5

(PhysOrg.com) -- Electric vehicles are far from new, but we are still a long way from electric cars being the norm. Now two new electric cars may bring that goal a step closer.


NIST Team Demystifies Utility of Power Factor Correction Devices

Physicists Demystify Utility of Power Factor Correction Devices

Technology / Energy

created 13 hours ago | popularity 3.7 / 5 (3) | comments 2

(PhysOrg.com) -- If you've seen an Internet ad for capacitor-type power factor correction devices, you might be led to believe that using one can save you money on your residential electricity bill. However, ...


MIT's big wheel in Copenhagen

Biking 2.0: MIT's big wheel in Copenhagen (w/ Video)

Technology / Engineering

created 12 hours ago | popularity 3.7 / 5 (9) | comments 1

Yesterday, Dec. 15, at the Copenhagen Conference on Climate Change, MIT researchers debuted the Copenhagen Wheel -- a revolutionary new bicycle wheel that not only boosts power, but can keep track of friends, ...