Computer Graphics World

March 2011

Issue link: https://digital.copcomm.com/i/27779

Contents of this Issue

Navigation

Page 9 of 51

By ADAM MCMAHON Rendering Social Rendering D espite all the advances in technology, software rendering is still slow. Of course, the big studios have their rendering farms, but what about small studios or hobbyist animators? For most of us, rendering times hinder our creative flow and cripple our production pipeline. When it comes to rendering large projects, we often have few options beyond the handful of computers in our offices and homes. How can we get access to more rendering com- puters? Our friends, family, and colleagues have perfectly fine computers just sitting idle at their homes, and most likely they would be more than willing to share their resources. Yet, how can we quickly and easily utilize their computers to help render our animations? While there have been a number of Internet- based rendering solutions over the years, they al- ways seemed overly complex. For example, in order to volunteer, the user needs to download special software, install the software, link up projects, and so forth. While the technically minded are able to do this, we want to draw volunteers from all of our friends, regardless of their computer expertise. So, where can we find hundreds of online friends who might be willing to help us render? Te an- swer, of course, is Facebook. By integrating the entire rendering experience within Facebook, we would have a platform that connects animators to a large pool of potential volunteers. To address this goal, we are developing a new Facebook application Blender was an ideal fit for this project: It is open source, available on multiple platforms, and has a small binary download (which is great for Web applications). Yet, it was no trivial task to get Blender to work within Facebook. Typically, Facebook applications utilize Web languag- es, such as Java, JavaScript, or Flash. However, Blender is written in the The RenderWeb rendering app works with the open-source Blender animation program. called RenderWeb, which allows artists and animators to upload their animation projects. Once the projects are uploaded, Facebook users can volunteer to render by simply clicking on a Web link. Te rendering oc- curs directly within the Web browser, and preview images are displayed to the volunteer. After the animations are rendered, the videos are made available for the entire community to watch and tag. While we hope to soon integrate commercial renderers, RenderWeb is currently compatible with the popular Blender animation program. Adam McMahon, a PhD candidate at the University of Miami, is the founder of RenderWeb LLC. He can be reached at www.RenderWeb.org. 8 March 2011 C programming language. While we could have rewritten Blender into a Web language, this would have led to a buggy and incomplete ver- sion of Blender. Instead, we decided to develop a distributed rendering platform based on Java. Te rendering does not occur using Java, but instead Java acts as a communication layer between Blender and the RenderWeb server. Java detects a user’s operating system, temporarily downloads the proper Blender version, executes Blender, and then pipes the images to the Web server. All this occurs without the user having to set up or configure anything. Utilizing this method, we do not need to make any modifications to Blender. In fact, the version of Blender uti- lized by RenderWeb is byte for byte identical to the version distributed by blender.org. Moreover, this modularized approach will allow us to integrate additional renderers into RenderWeb with little effort. Although it is certainly interesting that Blender can be integrated into a Web browser, the true power comes when many instances are working together to render animations. In RenderWeb, the relation- ships within Facebook are used to direct the flow of computation from computers to specific projects. RenderWeb allocates projects based on the existing relationships within Facebook. When you are volunteering, a higher priority is given toward using your computer to render your © Blender Foundation—www.blender.org.

Articles in this issue

Links on this page

Archives of this issue

view archives of Computer Graphics World - March 2011