Part 7 · Image, motion and 3D

Chapter 37: 3D design

Part 7 · Image, motion and 3D4 min read

3D design is building objects and scenes as three-dimensional data in software, then turning that data into images, animation or physical parts. The same model can become a product render, a game asset, a frame of film or a file for a 3D printer. Designers meet it when they brief a visualization studio, review packaging renders or put a model into an interface.

Modeling

Modeling is building the shape of an object as data. Most 3D work uses a polygon mesh: a surface made of flat faces joined along shared edges. Each corner is a vertex, a point with x, y and z coordinates. Graphics hardware draws triangles, so a four-sided face is split in two.1 More faces give smoother curves and heavier files.

Product designers and engineers often use NURBS (non-uniform rational B-splines) instead. These describe curves and surfaces mathematically, so a NURBS surface is exact at any size, where a mesh is a faceted approximation. That precision is why industrial design and manufacturing use them.2

Between the two sits the subdivision surface: a coarse mesh the software repeatedly refines into a smooth one. Pixar used subdivision surfaces for the head, hands and clothing of its short Geri’s Game (1997), because NURBS patches had awkward limits on the shapes they could join smoothly.3

The most reused model in the field is a teapot. In 1975 Martin Newell, at the University of Utah, plotted the shape of a store-bought teapot on graph paper and typed in the coordinates.4 Because he shared the data, programmers spent about the next 20 years testing lighting, shading and color on the same pot.

A white porcelain teapot with a rounded body, curved spout and loop handle, on display
Figure 37.1 The teapot Martin Newell measured in 1975 to build the Utah teapot model, now at the Computer History Museum in Mountain View, California.

Michael Hicks, CC BY 2.0, via Wikimedia Commons.

Materials, lighting and rendering

Rendering is producing an image from the description of a 3D scene.5 The scene holds geometry, materials, lights and a camera.

A material is the set of parameters that describes how a surface reflects light. Current tools mostly use physically based rendering (PBR), which applies the physics of light and matter instead of hand-tuned tricks. Visual effects studios began adopting it around 2000, mainly so that rendered objects would match filmed backgrounds.6 Brent Burley’s 2012 model for Disney’s Wreck-It Ralph paired physically derived math with a few artist-friendly parameters and was widely adopted.78 The glTF file format, a common standard for exchanging 3D models, uses three main ones: base color; metalness, from 0 (non-metal) to 1 (metal); and roughness, from 0 (smooth) to 1 (rough). Its example gold is a yellow base color with metalness 1 and roughness 0.1

Lighting in 3D borrows the vocabulary of studio photography: key, fill and rim lights (→ 33 Photography). The difference is that every light is free and nothing obeys gravity, so the usual failure is too many lights and a scene that looks lit by nobody in particular.

Real-time and offline rendering

Real-time rendering is rendering fast enough to respond as the viewer moves, as in games, product configurators and AR. At 60 frames per second, each frame has 16.7 milliseconds. Offline rendering takes as long as the image needs: minutes or hours a frame for film, stills and product shots.

The split follows two methods. Rasterization projects each triangle onto the flat screen and colors the pixels it covers. GPUs do this very fast, but shadows and reflections must be faked with separate techniques.9 Ray tracing follows rays from the camera into the scene, finds what each one hits and traces further rays toward lights and reflecting surfaces.10 Turner Whitted described it in 1980; Jim Kajiya’s path tracing (1986) sends many random rays per pixel to account for all the light bouncing around a scene.6

Rasterization light screen (pixel grid) Ray tracing camera pixel grid light shadow ray reflection
Figure 37.2 Rasterization works from the objects to the screen. Ray tracing works from the camera back into the scene.

Film went to path tracing first, because it can afford the time. Pixar dropped the rendering method it had used for over 25 years and made Finding Dory (2016) with a path tracer, plus a denoiser to clean up the grainy look of too few samples.11 Games followed once hardware caught up: NVIDIA’s Turing chips, announced in August 2018, added circuits for ray tracing, and the company claimed they made real-time ray tracing practical for the first time.12 The two worlds now overlap. For The Mandalorian (2019), ILM rendered more than 60 virtual environments in a game engine in real time and shot actors against them on LED walls.13

See also

→ 11 Drawing, perspective and composition · → 15 Color in screen and print · → 33 Photography · → 35 Resolution, formats and units · → 36 Motion, video and sound

Sources

  • Burley, B. (2012). “Physically-based shading at Disney.” SIGGRAPH 2012 course notes. Walt Disney Animation Studios.
  • University of Illinois Urbana-Champaign. “Disney BRDF.” CS 418 course text.
  • Computer History Museum. “The Utah teapot.” Revolution: The First 2000 Years of Computing.
  • DeRose, T., Kass, M., and Truong, T. (1998). “Subdivision surfaces in character animation.” SIGGRAPH 98 Proceedings.
  • ILM. “StageCraft.” Industrial Light & Magic.
  • Khronos Group (2021). glTF 2.0 Specification.
  • McNeel, R. & Associates. “NURBS.” Rhino 3D.
  • McMullen, M., Microsoft (2018). “Announcing Microsoft DirectX Raytracing!” DirectX Developer Blog, March 19.
  • NVIDIA (2018). “NVIDIA reinvents computer graphics with Turing architecture.” Press release, August 13.
  • Pedersen, L. (2017). “Making waves.” RenderMan, Pixar, July 13.
  • Pharr, M., Jakob, W., and Humphreys, G. (2023). Physically Based Rendering: From Theory to Implementation, 4th ed. MIT Press. Online edition.

Notes

  1. Khronos Group, glTF 2.0 Specification, §3.7 (mesh primitives) and §3.9.2 (metallic-roughness material). https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html ↩ ↩
  2. McNeel, “NURBS.” https://www.rhino3d.com/features/nurbs/ ↩
  3. DeRose, Kass and Truong (1998), abstract. https://history.siggraph.org/?p=116540 ↩
  4. Computer History Museum, “The Utah teapot.” https://www.computerhistory.org/revolution/computer-graphics-music-and-art/15/206 ↩
  5. Pharr, Jakob and Humphreys (2023), ch. 1. https://pbr-book.org/4ed/Introduction ↩
  6. Pharr, Jakob and Humphreys (2023), §1.6, “A brief history of physically based rendering.” https://pbr-book.org/4ed/Introduction/A_Brief_History_of_Physically_Based_Rendering ↩ ↩
  7. Burley (2012). https://disneyanimation.com/publications/physically-based-shading-at-disney ↩
  8. University of Illinois, CS 418, “Disney BRDF.” https://cs418.cs.illinois.edu/website/text/disney-brdf.html ↩
  9. Microsoft (2018). https://devblogs.microsoft.com/directx/announcing-microsoft-directx-raytracing/ ↩
  10. Pharr, Jakob and Humphreys (2023), §1.2. https://pbr-book.org/4ed/Introduction/Photorealistic_Rendering_and_the_Ray-Tracing_Algorithm ↩
  11. Pedersen (2017). https://renderman.pixar.com/stories/making-waves ↩
  12. NVIDIA (2018). https://nvidianews.nvidia.com/news/nvidia-reinvents-computer-graphics-with-turing-architecture ↩
  13. ILM, “StageCraft.” https://www.ilm.com/?p=10035 ↩