Linux Powers The Spiderwick Chronicles
February 1st, 2008 by Robin Rowe in
A Linux-based production pipeline is a perfect choice for a major motion picture like The Spiderwick Chronicles, with its many goblins and magical creatures. Hollywood has been the realm of Linux since 1997, when the movie Titanic proved that Linux can do big computer graphics jobs like rendering a sinking ocean liner. With an industry tradition of using UNIX-based operating systems for high-computation jobs, and due to the better, faster, cheaper nature of Linux, every major effects or animation movie today is produced using Linux. Visual effects facilities ILM and Tippett Studio each created visual effects for Spiderwick. Having multiple effects houses work on the same movie became common after 2003 when The Matrix Reloaded used a dozen effects houses.
The idea of switching Mac desktops to Linux is new in the film industry. The film industry routinely uses Macs running OS X for specialized tasks, such as art department concept artwork generated using Adobe Photoshop, picture editing with Final Cut Pro and sound editing with ProTools. When you scale past a few systems, the advantages of Linux for graphics become apparent, and Linux graphics PC desktops are the norm. The television series South Park is a notable exception, with Mac OS X desktops running Maya with a Linux renderfarm.
During the production of Spiderwick, Tippett Studio switched to Fedora Linux running on Macintosh desktops. “We currently have 119 Intel-based Apple Mac Pro workstations running Linux”, says Tippett Computer Graphics Supervisor Russell Darling. “We decided to go with Apple hardware running Linux for our primary artist workstations on The Spiderwick Chronicles, although it might have been considered a risky endeavor for a show in production. We initially had some problems with sound on Maya and a few other minor issues, but they were resolved. We got a patch from Autodesk that took care of everything.” Commercial Linux software vendors work closely with film studio clients.
Tippett chose Linux on Mac for many reasons. “There's the ability to run multiple operating systems, including Linux, OS X and Windows”, says Darling, and he continues, “The systems are fast! That makes for more productive artists. The hardware is quiet and energy-efficient. It's cost-effective, with a good cost per rendermark [a renderfarm performance benchmark]. It's standardized hardware. And, there's a good support plan. Although the majority of our workstations run Linux, we have a handful of other systems running to support specific software. We use the ability to boot in to other operating systems, but the ultimate goal is to move to a simultaneous multi-OS solution, such as Parallels.”
To beat traditional alternatives, the Apple Mac Pro workstations had to meet a specific set of Tippett requirements. They had to run Fedora FC4 and XFS. They also had to run tools that Tippett uses, such as Maya with sound and in-house and third-party plugins (MEL scripts), Apple Shake with in-house and third-party plugins, SyFlex, cMuscle, RealFlow, JET, Flipper, rtTools and cineSpace. Internally developed software uses Python, Perl and C/C++. The platform must render frames identical to existing hardware. And, it has to support necessary peripherals, especially tablets.
“The important thing with a fantasy genre is referencing nature”, says ILM Art Director Christian Alzmann. “The Byron plumage is based on a red-tailed hawk. We're always drawing reference from nature. I did the early design of the Sprites with a bee next to them for scale, with two bees flying in formation. Mulgarath is part man, part bull, part goat, part trees. The warthog is a mean aggressive character, so we got pointy with him. And, he's a lot more distorted. We also use scale cues, such as a Chiquita banana sticker or Pepsi bottle cap.”
“The Griffin has hair plus feathers and was rendered at 8k [images 8k pixels wide] to get detail”, says ILM Animation Supervisor Tim Harrington. To achieve that level of detail meant 25- to 30-hour renders.
“Spiderwick took 215 artists and 15 months”, says ILM Visual Effects Supervisor Tim Alexander. “It has 341 shots, 30 minutes, with 224 3-D shots.”
Industrial Light & Magic occupies the 865,000 square-foot Letterman Digital Arts Center on the 23-acre San Francisco Presidio campus. Its data network has more than 300 10GB ports and 1,500 1GB ports, with fibre to every artist's desktop. There are 600 miles of cable throughout the four buildings on the campus. A 13,500 square-foot data center houses a Linux renderfarm with 3,000 AMD processors and more than 100TB of storage. Proprietary render management tools add Linux desktop workstations to the renderfarm pool after hours, expanding the processing capacity to more than 5,000 processors.
As Creature Supervisor for The Spiderwick Chronicles, visual effects pioneer Phil Tippett oversaw the design and development of the film's fantasy characters. “Phil Tippett was on set with me every day”, says Director Mark Waters. “We were working on Charlotte's Web when Mark Canton gave us the script”, says Tippett Studio Visual Effects Supervisor Joel Friesch. “When we saw the creatures, we had to do it. It's based on real creatures, not fantasy. We wanted Hogsqueal. We created a bull goblin marquette [a detailed statuette] that gave Mark something he could hold. The bull goblin is based on toads. We brought in real toads and photographed them. We created movies good for the animators, showing how the eyes move and the throat. We created a test scene with a goblin scratching the back of his leg. That took one month of modeling and one month of animation.”

Figure 1. Tippett Studio's proprietary Creature Manager is used to maintain a library of creatures and animation cycles. The tool allows an artist to select and preview animation by pressing the larger creature button, then selecting a combination of an appropriate physical appearance for that creature from a predefined library and placing any number of selected creatures into a Maya scene.
Hand animation is a challenging laborious process. “One guy does blocking, like moving chess pieces”, says Tippett Studio Animation Supervisor Todd Labonte. “You get it approved. We watch it over and over. You can go blind. We play it back in mirror image in our player or play it backward.” Labonte demonstrates playing back a scene of goblins invading the house, shown in their Flipper playback software, which can display a mirror image or play in reverse to help catch animation inconsistencies. Flipper is used to view both QuickTime and image frame sequences of DPX, EXR or TIFF with synchronized AIF audio. Flipper predates commercial Linux flipbooks, such as FrameCycler. At older studios, like Tippett, it's common to find proprietary Linux tools created before commercial options were available. Tippett has a team of eight Linux programmers to maintain and develop tools.

Figure 2. Flipper is Tippett Studio's proprietary flipbook image viewing tool. It allows an artist to view a series of individual image files as a continuous sequence. It also can be synchronized with audio, which is important for character animation. The artist can view the audio waveform to help with lip synchronization, as seen in the lower part of the screenshot. The tool also has a number of image and pixel comparison and analysis features, as seen in the dialog on the upper left. Post-camera moves can be previewed with Flipper before they are actually applied in the composite stage.
“Creature Picklist is a GUI-based Maya plugin for creatures that allows animators to see visual representations of character, which they can select for their scene”, says Darling. “In the case of Spiderwick, 'Goblin kits' were created as combinations of variants and blendshapes. We have shots that have more than 100 goblins. That's too many to animate using traditional methods. The numbers are also too small to make a commercial crowd system, such as Massive, a viable solution. We developed our own system called Swarm. For the Spiderwick shots, we instanced around 150 goblins and managed animation clip data to animate them as particles.”

Figure 3. Tippett Studio's Picklist allows an animator to select creature variants from a library of different combinations of paint schemes and body parts.

Figure 4. A view of Tippett's Swarm crowd system in Maya. The scene is choreographed by defining paths and actions for creatures to follow.

Figure 5. Tippett Studio's Picklist allows an animator to select specific predefined poses for creatures, such as this bird.
Furocious is Tippett Studio's proprietary hair, fur and feather system. It's a collection of plugins, scripts and executables used to place guide geometry onto scalp surfaces, visualize fur as GL curves in Maya, and grow procedural primitives at render/expansion time by interpolating neighboring guides at predetermined follicle root locations.
“We currently have six RaveHD systems at the studio”, says Darling. “They're used to provide dailies in our screening rooms. We also use them for smaller reviews and on-demand playback for artists in special viewing rooms. And whenever we shoot with HD cameras on our stage, we use RaveHD to acquire the images and bring them on-line as individual digital frame files. We have been working with SpectSoft since 2002, before the RaveHD product really existed. RaveHD is an awesome system. It has a really nice design that allows it to integrate perfectly in our dailies pipeline—very reliable and easy to use”. The RaveHD box is a Linux embedded system that plays cinema-grade motion pictures at data rates that would choke a PC.
“I originally met [SpecSoft partners] Jason and Ramona Howard at a Linux Movies meeting in Berkeley, shortly after I joined Tippett Studio”, says Darling. “At that time, we were looking at developing a new dailies system. They had developed a Linux driver for the AJA Kona HD/SD card and had developed some DDR and editing tools. We were able to form a great relationship with SpectSoft where we provided specifications and requirements to them in order to help create a system that suited our purposes.” LinuxMovies.org is an association of Linux motion-picture technologists founded in 2002 [by Robin Rowe, author of this article].
Tippett uses more than 1,200 processors in its renderfarm. “Tippett Studio has its own shading library built around the RenderMan Shading Language. Our pipeline tools are also centered around the RIB interface. The most important consideration for renderfarm configuration is that all jobs submitted the night before must be finished by the next morning”, says Darling. “Each morning we do dailies to review the previous day's work. If the job is not finished, it can't be properly reviewed. There are occasional exceptions for special shots that may run long, but for the most part, we want everything to finish overnight.” The Tippett renderfarm is managed by a proprietary batch-scheduling software, so that each computer in the farm is working on only one frame at a time. “Our distributed rendering system Batch-o-matic has been in use at the studio for ten years”, says Darling.

Figure 6. Tippett Studio's renderfarm is managed by its proprietary Batch-o-matic system. In its GUI interface, CPUs are represented as circles with color-coded indications of their activity level and status. Information about an artist's render jobs is represented by color-coded squares indicating number of CPUs in use, as well as an overall status bar. More detailed information is shown for a specific job, with status for each task and frame.
JET is a proprietary Python-based system comprising software tools and scripts used to implement a visual effects and animation pipeline. “A visual effects and animation pipeline is an assembly line of software used to organize, automate and facilitate the creation of computer-generated imagery”, says Darling. “The JET tool is highly customizable, featuring XML-based user-interface templates that can be modified to suit specific types of artists or production needs. JET uses modular template chunks to perform each of the tasks in the pipeline, such as rendering or compositing. The templates are implemented as Python objects and are centrally located. JET is not only implemented entirely in Python, but it's also used to generate Python scripts automatically. These custom scripts form unique pipelines for each computer graphics job to run on the renderfarm.”

Figure 7. JET is Tippett Studio's proprietary tool for creating jobs that are to be submitted to the renderfarm. Each job comprises a series of chunks (as shown in the panel on the left) that perform specific tasks, such as making a RIB, growing fur, rendering with RenderMan and compositing with Shake. The primary work area on the right provides an interface for the selected chunk.
Tippett Studio uses Apple's Shake compositing software, which has been discontinued. “We took advantage of Apple's offer of selling the Shake source code to us”, says Darling. “We don't plan on modifying it, but it is good to have for an insurance policy. Shake is still very prominent in the visual effects industry. It's useful to be able to share Shake projects with other studios we're collaborating with. Shake has a really nice image-processing engine. In addition to standard compositing, we use it for all kinds of image-processing solutions in our pipeline. The product is very mature and feature-rich. It has support for plugins, which allows us to develop and enhance compositing nodes whenever we need something new. We don't have any current plans to switch compositing packages, but we're always keeping an eye on what's out there.”
“We use Photoshop CS as the painting interface for our texture painting, as well as for matte paintings”, says Darling. “It's used directly on Windows and Mac systems. Our goal is to use a system such as Parallels to permit artists to run tools outside their primary operating system. Deep Paint 3D is used to paint textures for 3-D models. The actual painting is done with Photoshop, but the interaction with the model is done in Deep Paint.” Deep Paint and Photoshop are both non-Linux commercial tools. Some studios, such as DreamWorks Animation, use Wine to run Photoshop on Linux. Another option is to run an open-source Linux paint package that supports industry-standard high-fidelity image formats DPX and OpenEXR (such as CinePaint). However, Deep Paint on Wine is untried, and there's no open-source option.
“When painting in Photoshop, it is essential to be able to view the image with the same type of color management used to produce the final rendered image”, says Darling. “Photoshop supports ICC profiles for color management. Since we use cineSpace in the rest of the pipeline, we had a tool created that would allow us to produce an ICC profile that matched the cineSpace profile. We collaborated with Joseph Goldstone, who is a member of the International Color Consortium (ICC) to create this tool.”
There are commercial Linux software tools available to Linux animators beyond big packages like Maya. “cMuscle is a system for simulating muscle movement”, says Darling. “We used it for muscle jiggle, skin jiggle, skin smoothing and sliding effects. We use SyFlex for the clothing worn by Red Cap and Hogsqueal. This system was augmented by some custom cloth/deformation software developed at Tippett Studio.”

Figure 8. Creature skin, muscles and skeletal structures—the green and yellow images represent soft body jiggle maps. Along with the muscle system, we also have what is called tension controls. These are blendshapes of various body parts that when fired give those areas a more flexed look, giving the illusion of the skin tightening.

Figure 9. Creature muscles (red) and basic skeletal system (white). For this creature, Tippett Studio's hair and fur system Furocious was used to grow fur that had the appearance and behavior of grass, which is one of the unique camouflaging features of this character.
“cineSpace allows us to have a specific, consistent look on all viewing devices that simulate our finaling medium—the look of the film that the director is using for final shots”, says Darling. “Since film is still the master format, this means a combination of a specific film stock and a specific lab that is used to process and print that film. A cineSpace profile allows us to produce an image digitally that has the same look and characteristics of that same image if it were printed to film. It is important that we are looking at the same thing that the director sees, as well as what will eventually be seen in the theater.”
“Tippett Studio's primary operating system is Linux”, says Darling. “Open-source software is very important to us. In addition to it being a part of our pipeline, we've contributed to a few projects over the years, such as Pixie. Open source is also something that can enable standards. An example of this would be the OpenEXR Project. We really needed a standardized high-dynamic-range image format that was supported in commercial and open-source CG software. The EXR image file format has now become a de facto standard image file format in our industry, simply because it was open-sourced.”
“In Spiderwick all unexplained phenomena in the world are due to fantastical creatures that are all around us”, says director Mark Waters. The movie is based on the best-selling series of children's books written by Holly Black and illustrated by Tony DiTerlizzi. The Spiderwick Chronicles is a family adventure fantasy set at the dilapidated Spiderwick Estate, constructed in Canada at Quebec's Cap-Ste-Jacques Nature park.
The movie opens to wide release on February 15th, 2008. There's also a Spiderwick video game in development.
__________________________
__________________________
__________________________
Special Magazine Offer -- Free Gift with Subscription
Receive a free digital copy of Linux Journal's System Administration Special Edition as well as instant online access to current and past issues. CLICK HERE for offer
Linux Journal: delivering readers the advice and inspiration they need to get the most out of their Linux systems since 1994.
Subscribe now!
The Latest
Newsletter
Tech Tip Videos
- Nov-04-09
- Oct-29-09
- Oct-26-09
Recently Popular
From the Magazine
December 2009, #188
If last month's Infrastrucuture issue was too "big" for you then try on this month's Embedded issue. Find out how to use Player for programming mobile robots, build a humidity controller for your root cellar, find out how to reduce the boot time of your embedded system, and if you're new to embedded systems find out the basics that go into one. You can also read about the Beagle Board, the Mesh Potato and a spate of other interestingly named items. And along with our regular columns don't miss our new monthly column: Economy Size Geek.

Delicious
Digg
StumbleUpon
Reddit
Facebook








uykjyktyuje56e
On November 6th, 2009 Anonymous (not verified) says:
uykjyktyuje56e d場才苛千上七奪存穿坪矛啦軋668879說起這位明英宗朱祁鎮 真是好有一比:在北京高峰時酒店經紀段開車:生不完的氣。
先說年號問題,明朝皇帝在位時間再長, 酒店兼差年號也只有一個,惟獨他特殊,在位總共不過十五年,年號卻有兩個,前一個叫正統,後一個叫天順。倒不是因為他非要搞特權,兩個年號之間, 禮服店是由一大堆可氣的事串起來的。
先說正統朝,差不多是地球酒店打工人都知道的,這麼多的忠良幹才他不信任,偏寵信一個教書先生出身的太監王振, 一幹閹党把國家禍害得烏煙瘴氣。後來瓦剌犯邊,忠臣良將的苦勸不聽,偏聽死太監攛掇,非要御駕親徵, 合法酒店經紀帶著幾十萬人牛氣哄哄出了長城,按說既然親徵你就好好 打啊,他不,走到半道又後悔了,連敵人影 酒店工作都沒見著就撤兵,撤兵麼撤得快點啊,跑還沒跑成,讓人家圍在土木堡包了餃子,稀裏糊塗一場 酒店上班混戰,幾十萬大軍全死 光,連本人也當了俘虜。丟人到如此,實在可氣。
英宗被抓到蒙古高原上去啃生羊肉了, 酒店兼職爛賬總要有人收拾。皇帝讓人綁了,敵人打到家門口了,總不成學宋朝 來個衣冠南渡吧!還好喝酒 有他親弟弟給他收拾,弟弟朱祁鈺繼承帝位,改年號為景泰,可氣的正統朝總算結束了。景泰帝信用 酒店PT良臣于謙,成功組織北京保衛戰打垮敵 人,再運用外交壓力,逼得酒店喝酒 瓦剌把英宗放回來當太上皇,總算不用學宋徽宗那樣客死他鄉。折騰半天,祖宗江山差點丟了不說 禮服酒店,皇位也折騰沒了。這樣的鬧劇,怪不 得別人。
雖是傻事敗事一籮筐,但傻人總算有傻福,雖說皇位沒了, 台北酒店經紀命還是保住了,回來舒舒服服過太上皇的日子倒也 不交際應酬 錯,可他不消停,拉幫結派培植私人勢力,幾年後趁著弟弟病重搞了場“奪門之變”。奪粉味 回了皇位不說,上臺第一件事就是殺掉了功臣于謙。並把當初北京保衛戰 的功臣們來了個大清洗,掌握朝政大權的都是徐有貞、石亨、曹吉祥等一幫姦險小人。雖然過了沒幾年,這幾個人也被明英宗清算,下獄的下獄(石亨),充軍的充 軍(徐有貞) 寒假打工,被殺的被殺(曹吉祥),可明朝的政治氣象,還是一片烏煙瘴氣。
皇位奪回來了,自然就要改年號。於是,明英宗 兼差改年號為天順。從正統年到天順年,打敗仗,殺忠良,寵小人,亂國家,儘是他辦的敗事, 酒店小姐每每讀史到此,不知有多少人氣得 酒店公關直哆嗦。
可正統朝的事畢竟年頭遠了,真正給後 暑假打工世攢下麻煩的,是天順朝。
“天順”麼,按字面意思,自然有風調雨順的意思。 打工從這個意義上說,“天順”朝時代的明朝,運氣還真不 壞,別的且不說,單說綁過明英宗票的瓦剌,那在土木堡創下台北酒店經紀擊敗明朝幾十萬大軍,活捉明朝皇帝偉業的瓦剌首領也先,沒死在大對頭明朝手裏,倒在內戰中被一刀 砍死。到了天順朝時期,瓦剌又和鄰居韃靼打個不停,因此,雖然少了良將於謙,但終天順一朝的邊 酒店境形勢,還算是太平無事。
場究坏究壬宗坍继56匕埂允存千坪阱
凶立千灰7咚究坏几坏几
thank you very much. it is
On March 7th, 2009 spectacular (not verified) says:
thank you very much. it is working.
very nice animation
On January 1st, 2009 nistelee says:
very creative very nice animation
__________________________50 Cent Şarkıları Dinle
Thanks
On September 27th, 2008 Gazeteler (not verified) says:
Thanks for all
Go Linux goo
On September 17th, 2008 Cam Balkon (not verified) says:
Very usable informations. i tired. thank for this webpage:)
I bookmarked
On August 22nd, 2008 mt-server (not verified) says:
great and useful article.
Thanks!
Motif Lives!
On March 10th, 2008 Anonymous (not verified) says:
Motif is alive and well on Linux, as the above screenshots clearly indicate.
mirc
On June 10th, 2008 Anonymous (not verified) says:
I don’t think that data grids manage anything beyond data which is exactly what they
supposed to do. In the essence, data grids are distributed caches for RDBMSs. That’s what
they evolved from (Coherence, GigaSpaces).
Titanic movie rendered with Linux
On March 5th, 2008 Carlie Fairchild says:
Robin mentions the Titanic movie was rendered in Linux -- see the LJ article about it here, http://www.linuxjournal.com/article/2494.
__________________________Carlie Fairchild is the publisher of Linux Journal.
Awesome to know someone else uses Linux on Mac Pros!!
On March 5th, 2008 Dave (not verified) says:
This is awesome!! I run a Mac Pro 5160 at home with FC8, I'm glad to know someone else out there is using Mac Pros with Linux on them for the same reason I do. Good hardware at a great price vs. performance ratio running Linux to take advantage of the software I use everyday in my work.
Post new comment