The technique makes animated trees look more life-like
Computer scientists at the University of Bath have developed a new way of making life-like animations of trees using video footage of the real thing.
Dr Peter Hall and Chris Li, of the university's Department of Computer Science, have developed the program.
It lets the computer to "watch" video footage of a tree and makes computer-animations that mimic the way branches and leaves move in the wind.
The technique could be used by animators and computer games designers.
Most computer games and animations have a static background, or use a large team of animators to painstakingly draw each tree individually.
In this case, the user simply has to draw around the tree outline in the first frame of the video - the program then makes a model of the tree and tracks how the leaves and branches move in the video.
It then uses algorithms to copy this movement and can use this information to "grow" lots more trees that are all slightly different.
Dr Hall explained: "Trees move in irregular ways and it's very hard to achieve natural-looking movement.
"It is so expensive that traditional animation often uses static trees - except in big-budget films. In computer graphics, tree models are just as hard to produce.
"With our system, the user can produce new trees of the same variety, with each one an individual.
"We can also very finely control the movement of the tree for different weather conditions, different seasons, and can even make it dance to music."
Chris Li, who is developing this software as part of his PhD at Bath, said: "Our system will make it faster and cheaper for animators to create animated backgrounds.
"In the future we want to use this same technique to animate other objects like clouds, water, fire and smoke."
Several major players of the animation industry, including Bristol-based creators of Wallace and Grommit, Aardman, have already expressed an interest in the project.
A video that demonstrates the animations can be viewed on the
University of Bath's