Images for 3D Video Games Without High Price Tags or Stretch Marks
August 12, 2008
The stretching that plagues images for 3-D video games (see top) dissappears when new algorithms from UC San Diego are used to create high quality images for interactive applications such as 3-D video games "on the fly." Image: UC San Diego Jacobs School of Engineering
(PhysOrg.com) -- The images of rocks, clouds, marble and other textures that serve as background images and details for 3D video games are often hand painted and thus costly to generate. A breakthrough from a UC San Diego computer science undergraduate now offers video game developers the possibility of high quality yet lightweight images for 3D video games that are generated "on the fly" and are free of stretch marks, flickering and other artifacts.
The advance is being presented this week at one of the most prestigious computer graphics conference in the world, SIGGRAPH 2008.
"It should be pretty easy for video game developers to integrate our research into new games. As a game developer myself, I know first hand that stretched out and flickering backgrounds and details are no longer acceptable in 3D video games," said Alex Goldberg, the computer science undergraduate from UC San Diego's Jacobs School of Engineering who did much of the work. Computer science professors Matthias Zwicker from UC San Diego, and Frédo Durand from the Massachusetts Institute of Technology, also contributed to the research project.
"People are looking for ways to get rid of these distortions, preferably without having to pay artists to generate background and detail images by hand. We have come up with a way to do this, and we are planning to provide code for download soon," explained Goldberg, who recently graduated from UC San Diego and is now working for San Diego video game studio PixelActive Inc.
The 2008 SIGGRAPH paper marks an important improvement over Perlin noise, an established technique in which small computer programs create many layers of noise that are piled on top of each other. The layers are then manipulated -- like layers of paint on a canvas -- in order to develop detailed and realistic textures such as rock, soil, cloud, water and marble that serve as background images and details for 3D video games.
"The existing methods for using computer generated noise to make images for backgrounds and details for 3D video games are fast, but the images that you get don't look very good. Our work gives you the full computational benefit of noise but without many of the tradeoffs such as distortion and flickering," said Goldberg.
The new approach also eliminates the need to store the textures as huge images that take up valuable memory. Instead the textures are generated by computer programs on the fly every time an image is rendered, explained computer science professor Matthias Zwicker from UC San Diego's Jacobs School of Engineering.
"The graphics generated from the procedural approach that we explored in this project are very small. Illustrating video games with small images is going to be increasingly important in the future as more and more games are downloadable," said Zwicker.
Undergrad. Overachiever.
Alex Goldberg did the bulk of this work as an undergraduate computer science student at UC San Diego. After taking Zwicker's rendering class (CSE168), Goldberg pursued this research both in his free time and through formalized independent study classes supervised by Zwicker. Goldberg also took the famed video game crash course (CSE125) in which teams of UC San Diego computer science undergraduates create 3D networked video games in 12 weeks.
"Getting a paper into SIGGRAPH is an accomplishment for any senior researcher in computer graphics. Presenting a paper in SIGGRAPH based on work done as an undergraduate is astonishing. We're very proud of Alex and his work," said Keith Marzullo, professor and chair of the Department of Computer Science and Engineering at UC San Diego's Jacobs School of Engineering.
"I've never given a talk in front of more than 30 or 40 people. At SIGGRAPH, the audience will be 300 or 400," Goldberg said. "But I'm excited. These are exactly the people I want to show my work to."
Pixel Packing (More technical info)
Both the stretch marks and the flickering in 3D video game backgrounds often stem from the same technical issue: choosing what color to make individual pixels.
"When one pixel covers a large area in a 3D video game landscape…what color should that pixel be? It can only be one color, but the area it covers may contain many different colors," UC San Diego computer science professor Matthias Zwicker explained.
Color averaging is one solution. For example, if a pixel covers a patch of tiny black bumps on a piece of armor on a soldier far in the distance, and if these armor bumps are partially lit up with white light, then averaging the colors and turning the pixel gray is often in order. But before you can average colors, you have to determine the exact region of the scene that needs to be squeezed into one particular pixel. A simple solution is to slide circular areas of scenes into circle shaped pixels. But when you are trying to map areas of 3D scenes back to 2D pixels, circular areas of background images are not the best option even though the pixels are circles themselves, according to the computer graphics researchers.
In the SIGGRAPH paper, the computer scientists mapped elliptical areas of background images back to circular pixels and found that their technique yielded higher quality background images with less stretching and other distortions.
The reason elliptical shapes are a better fit for circular pixels in backgrounds for 3D video games goes back to basic geometry: when a cone that extends from a circular pixel intersects with the background of a 3D video game scene, the region of the cone that hits the background is an ellipse rather than a circle.
On the Net: Anisotropic Noise -- http://graphics.uc … picNoise.pdf
Provided by University of California - San Diego
-
Artificial intelligence: Getting better at the age guessing game
Feb 02, 2012 |
4 / 5 (2) |
0
-
Virtual Projection team puts iPhone writing on the wall (w/ video)
Jan 26, 2012 |
4.5 / 5 (4) |
4
-
Review: Software extras ease do-it-yourself taxes
Jan 25, 2012 |
not rated yet |
0
-
UA makes mirrors for world's largest telescope
Jan 18, 2012 |
4.8 / 5 (5) |
1
-
Dropbox co-founder aims to build his own Google, not sell to them
Jan 18, 2012 |
4 / 5 (5) |
3
-
Engineers build first sub-10-nm carbon nanotube transistor
Feb 01, 2012 |
4.9 / 5 (31) |
30
-
Something old, something new: Evolution and the structural divergence of duplicate genes
Jan 31, 2012 |
4.6 / 5 (7) |
1
-
The hidden nanoworld of ice crystals: Revealing the dynamic behavior of quasi-liquid layers
Jan 30, 2012 |
5 / 5 (3) |
1
-
Stock market network reveals investor clustering
Jan 27, 2012 |
3.9 / 5 (23) |
8
-
Of microchemistry and molecules: Electronic microfluidic device synthesizes biocompatible probes
Jan 26, 2012 |
5 / 5 (1) |
0
-
Synergistic relations between computer science and technology.
Feb 06, 2012
-
how do iphone gloves work?
Feb 05, 2012
-
iPhone battery over time
Jan 30, 2012
-
Best alternate Tablet to an iPad for writing math or physics equations?
Jan 26, 2012
-
Sending SMS to a website
Jan 20, 2012
-
Need help with my technical fest!
Jan 19, 2012
- More from Physics Forums - Computing & Technology
More news stories
Anonymous knocks CIA website offline (Update)
The website of the Central Intelligence Agency was inaccessible on Friday after the hacker group Anonymous claimed to have knocked it offline.
12 hours ago |
5 / 5 (11) |
18
New error-correcting codes guarantee the fastest possible rate of data transmission
Error-correcting codes are one of the triumphs of the digital age. Theyre a way of encoding information so that it can be transmitted across a communication channel such as an optical fiber o ...
Technology / Computer Sciences
21 hours ago |
4.9 / 5 (8) |
6
|
New power source discovered
(PhysOrg.com) -- Researchers at the Massachusetts Institute of Technology (MIT) and RMIT University have made a breakthrough in energy storage and power generation.
Technology / Energy & Green Tech
20 hours ago |
4.7 / 5 (31) |
8
|
Small modular reactor design could be a 'SUPERSTAR'
(PhysOrg.com) -- Though most of today's nuclear reactors are cooled by water, we've long known that there are alternatives; in fact, the world's first nuclear-powered electricity in 1951 came from a reactor ...
Technology / Energy & Green Tech
20 hours ago |
4.4 / 5 (14) |
27
|
Google users warned of threat to smartphone wallets
Users of Google smartphone wallets were being warned on Friday that there is a way to crack pass codes intended to thwart thieves from going on illicit shopping sprees.
11 hours ago |
5 / 5 (2) |
0
Humans may have helped the decline of African rainforests 3000 years ago
(PhysOrg.com) -- Large areas of rainforests in Central Africa mysteriously disappeared over three thousand years ago, to be replaced by savannas. The prevailing theory has been that the cause was a change ...
The power of estrogen -- male snakes attract other males
A new study has shown that boosting the estrogen levels of male garter snakes causes them to secrete the same pheromones that females use to attract suitors, and turned the males into just about the sexiest ...
Advanced power-grid model finds low-cost, low-carbon future in West
(PhysOrg.com) -- The least expensive way for the Western U.S. to reduce greenhouse gas emissions enough to help prevent the worst consequences of global warming is to replace coal with renewable and other ...
Japan scientist makes 'Avatar' robot
A Japanese-developed robot that mimics the movements of its human controller is bringing the Hollywood blockbuster "Avatar" one step closer to reality.
Could Venus be shifting gear?
(PhysOrg.com) -- ESAs Venus Express spacecraft has discovered that our cloud-covered neighbour spins a little slower than previously measured. Peering through the dense atmosphere in the infrared, the ...
NASA budget will axe Mars deal with Europe: scientists
US President Barack Obama's budget proposal to be submitted next week for 2013 will cut NASA's budget by 20 percent and eliminate a major partnership with Europe on Mars exploration, scientists said Thursday.
Aug 12, 2008
Rank: 5 / 5 (3)
It's interesting to note that procedural textures are almost the exact opposite of Carmack's megatexturing technique, which consists of streaming and caching small chunks of texture from the relevant mip-maps of a huge texture(up to 128000×128000 pixels in ID tech 5) to allow unique texturing on large areas of terrain.