Main content
Pixar in a Box
Course: Pixar in a Box > Unit 15
Lesson 1: Rendering 1011. What is ray tracing?
Introduction to the basics of ray tracing.
Want to join the conversation?
- I'm having trouble on the interactive, whenever I'm moving the house like slightly, oh noes just pops up, saying the function takes too long, and I have to refresh the page. What is going on with the interactive?(9 votes)
- Sorry about this. We are experiences issues with this interactive loading on slower connections. We are looking into it!(6 votes)
- Ray Tracing is something major companies have been bragging about. Realistically, it's always been on computers.(3 votes)
- cough Nvidia cough(3 votes)
- atis the image plane in pixels? 1:21(3 votes)
- Yes, it says in the video, the pro use up to 2 million pixels.(2 votes)
- What if you did not have those big computer's at all?(2 votes)
- Then it would take a very long time to render the movie. The powerful computers let the rendering happen a lot faster.(1 vote)
- Finally, raytracing is brought to games.(2 votes)
- what software does Pixar use is it blender or maya3d(2 votes)
- There is no one software that Pixar uses, but they do use a proprietary animation software called Presto. Don't worry about what software to use, just choose one and go with it.(1 vote)
- How does ray tracing work with reflections?
I don't quite understand how it's possible to get the color of a pixel without knowing the colors of everything around it already.(1 vote)- How this works is that a ray is sent out from a camera to a 3D coordinate that corresponds with a pixel. This ray then traces the path that light would take all the way back to a light source. This path will bounce off objects, simulating a ray of light that traveled from the light source, bounced off the ground into an object and into the observer.(1 vote)
- I am also struggling with the interactive on the next page. I think I am just going to leave it for now and do it another time.(1 vote)
- Is there a computer program that ray traces shapes for a 3D appearance?(0 votes)
- Ray tracing is usually used for 3D scenes, in a way that makes a 2D image that would look, to some extent, 3D. There are many programs for this; one of the more well-known being POV-Ray.(1 vote)
Video transcript
Hi, my name is Susan Fong and I'm a
rendering technical director here at Pixar Animation Studios my job is to
make sure that the images you see in the theater are created as quickly and
efficiently as possible now that's a big job because of
Christophe described in the previous video, rendering is an extremely
complicated process requiring thousands of computers all working together to
render our films. The render farm is where we keep all these computers, but what are these computers doing exactly? That's the topic of this lesson. In the first part
we'll take a geometric look at a renderer works. In the second part of of the lesson, we'll
look at some of the equations and algebra that are needed to write a
render as a computer program. So let's get started! Let's start with the
drastically simplified scene from Up. This object lives in three dimensions, as we can see as we navigate around it. Just like live-action filmmaking, we need to
place a camera inside the scene. In computer graphics we call this a virtual
camera. We first pick a location for our virtual camera they'll be used to create the
image. It's shown here in white. We also need to decide which direction our camera is
pointed. That's shown here in red. Next we erect a plane upon which we'll form the
image. It's called the image plane, and represents what the virtual camera will
see. Notice it is perpendicular to the viewing direction. The image plane is
broken up into a grid of pixels that will make up the image. In this
interactive the first two sliders allow you to rotate your camera around the
scene. The job of the renderer sounds simple. It
must determine a color for each of these pixels. This is kind of like paint by
numbers where the image plane is serving as the canvas on which the renderer is
painting. Now I'm only showing you a few pixels in this example. Our real images
are made up of more than two million pixels. Over the years a number of
different rendering algorithms have been developed. one of the most elegant and
versatile algorithms is called ray tracing. Here's how it works: to determine a
color, for say this pixel, a ray tracer constructs a mathematical ray that starts at the camera, crosses the center of the pixel, and then extends off into the scene. Kind
of like a laser beam pointed at the pixel but from the camera. The ray
tracer computes the closest intersection point between the scene objects and this
ray. It then determines the color of the intersected object at that point, and
paints the picture that color. So this pixel would be colored brown, this one yellow,
and so forth for the other pixels. This process is done for all of the pixels in
the image. Fancier versions of ray tracing can
create more subtle effects, like soft shadows and variations in lighting that
helped to create different moods. The ray tracing process leads to a bunch of other
questions, like how are intersection points determined? And once that intersection
point is determined, how do we figure out what color it is? These mysteries and more will be revealed in the remainder of the tutorial. In this first exercise, you can
practice some ray tracing yourself.