WO2004100072A1 - Method and apparatus for rendering of translucent objects using volumetric grids - Google Patents

Method and apparatus for rendering of translucent objects using volumetric grids Download PDF

Info

Publication number
WO2004100072A1
WO2004100072A1 PCT/US2003/024122 US0324122W WO2004100072A1 WO 2004100072 A1 WO2004100072 A1 WO 2004100072A1 US 0324122 W US0324122 W US 0324122W WO 2004100072 A1 WO2004100072 A1 WO 2004100072A1
Authority
WO
WIPO (PCT)
Prior art keywords
values
vertices
subset
processor
low pass
Prior art date
Application number
PCT/US2003/024122
Other languages
French (fr)
Inventor
John R. Anderson
Original Assignee
Pixar
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pixar filed Critical Pixar
Priority to AU2003257117A priority Critical patent/AU2003257117A1/en
Publication of WO2004100072A1 publication Critical patent/WO2004100072A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading

Definitions

  • the present invention relates to computer animation. More particularly, the present invention relates to techniques and apparatus for efficient rendering of objects that are specified to include translucent materials.
  • Drawing-based animation techniques were refined in the twentieth century, by movie makers such as Walt Disney and used in movies such as "Snow White and the Seven Dwarves” and "Fantasia” (1940).
  • This animation technique typically required artists to hand- draw (or paint) animated images onto a transparent media or eels. After painting, each eel would then be captured or recorded onto film as one or more frames in a movie.
  • Physical-based animation teclmiques typically required the construction of miniature sets, props, and characters. The filmmakers would construct the sets, add props, and position the miniature characters in a pose. After the animator was happy with how everything was arraigned, one or more frames of film would be taken of that specific arrangement.
  • Pixar Incorporated One of the pioneering companies in the computer aided animation (CAA) industry was Pixar Incorporated. Pixar developed both computing platforms specially designed for CAA, and animation software now known as RenderMan®. RenderMan® was particularly well received in the animation industry and recognized with two Academy awards®. [0008] RenderMan® software is used to convert graphical specifications of objects and convert them into one or more images. This technique is known in the industry as rendering. One specific portion of the rendering process is known as surface shading, the surface shading process the software determines how much light is directed towards the viewer from the surface of objects in an image in response to the applied light sources. [0009] For different types of object materials, however, the amount of light directed towards the viewer is more than the light reflected from the surface.
  • Such types of materials include materials that are at least partially translucent in nature, such as plastic, skin, milk, and the like.
  • Translucent materials may also include materials that are non-uniformly translucent, such as marble, jade, and the like, and may have sub-surface features. Compensation for subsurface scattering and other effects of translucency are deemed important for the realism of computer-generated imagery.
  • Techniques to compensate and to render translucent objects have previously been proposed and generally fall into two categories: surface based approaches, and stochastic ray tracing methods. Each of these approaches has significant shortcomings. Surface based approaches suffer from technical difficulties in the parametric representation of sample locations. Additionally, such approaches do not address the fundamental problem of representing an internal structure of the scattering media.
  • Stochastic ray tracing approaches can be used to solve the full physical problem, however such approaches are generally very time consuming.
  • Another approach includes a finite element analysis through a hierarchical evaluation of a radiative transfer equation. Again such approaches are very computationally intensive. Because the present solutions to the problem of rendering objects of translucent materials is slow, animators using such rendering techniques cannot quickly see how the animation will look. Accordingly, the animators must often wait overnight to see the rendering results.
  • the present invention relates to the field of computer animation. More particularly, the present invention relates to techniques and apparatus for efficient rendering of objects composed of translucent materials. [0014]
  • the techniques described below are based on an explicit representation ofthe subsurface illumination fluxes on a 3 dimensional grid. This representation allows the efficient spatial indexing of illumination samples from the unstructured geometry ofthe object. This representation allows the rendering engine to quickly solve the transport of diffuse illumination inside the translucent material with full representation ofthe internal structure.
  • the process described below includes the following phases: 1) evaluation of surface illumination on object, collection of surface illumination, determining of area weighting, and scattering properties on sample grids; 2) efficient determination ofthe diffuse radiative transfer on the sample grids; and 3) sampling the diffuse illumination during final rendering pass.
  • the first phase is the illumination sampling pass.
  • the relevant light sources are evaluated on the surface of an object and the surface shading model is evaluated to determine the quantity of diffuse illumination for each color channel.
  • the diffuse illumination at the surface are transmitted to the translucency solver, described below.
  • Cartesian solver grids are constructed which cover the bounding volume ofthe object sample points.
  • the diffuse illumination values are inserted onto the solver grids where they are merged with other values.
  • the merge process is accomplished by adding the representative sample area for the sample into one grid and simultaneously adding the product ofthe sample area and the illumination value are added into a second grid. Scattering properties such as attenuation and scattering length are also mapped onto grid structures using the same technique.
  • the second phase ofthe process is the solution ofthe scattering pass itself.
  • the illumination and scattering properties are normalized by processing all of the grids with a short range dealiasing filter and diving the area weighted illumination and scattering property grids by the area grid value.
  • the diffuse illumination values are then solved by solving the elliptic radiative transfer equation (1) on the grid values. This process can be done efficiently in several ways.
  • the process is performed via a recursive low pass filter whose filter coefficients vary with scattering parameters across the grid in each direction for each dimension.
  • the filter parameters are chosen so that the bidirectional filter impulse response approximates the Green's function of the scattering operator with the local scattering parameters.
  • the variable coefficient elliptic scattering equation is solved using a fast elliptic solver such as a fast convolution FFT solver or multi-grid solver.
  • the third phase ofthe process is to take the completed grid containing the solved diffuse illumination and point sample the grid using an interpolation kernel from the surface shaders. This may occur during a final rendering pass for the surface. All of the sample processing for this phase is done in global 3-space so that no surface coordinate parameterizations are needed and smoothness across multiple geometry elements is provided. [0019] According to one aspect ofthe invention, a method for rendering an object is described.
  • One technique includes performing shading calculations to determine diffuse illumination values for a plurality of surface points on the object, and associating a three- dimensional grid with the object, wherein the three-dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel includes at least a portion ofthe object.
  • a process may also include determining diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for the plurality of surface points on the object, wherein the subset of vertices is associated with a subset of voxels , and wherein each voxel in the subset of voxels includes one or more diffuse illumination values for one or more surface points on the object.
  • one process may include performing one or more low pass filter operations on the diffuse illumination values for the subset of vertices to determine diffuse illumination compensation values for vertices in the subset of vertices, and determining compensated diffuse illumination values for the plurality of surface points on the object in response to the diffuse illumination values for the plurality of surface points and in response to the diffuse illumination compensation values for the vertices in the subset of vertices.
  • a computer program product for a computer system including a processor is described.
  • the computer program product may include computer code that directs the processor to perform shading calculations to determine diffuse illumination values for a plurality of surface points on the object, computer code that directs the processor to associate a three-dimensional grid with the object, wherein the three- dimensional grid comprises a plurality of vertices and a plurality of voxels, and wherein each voxel is associated with at least a portion ofthe object, and computer code that directs the processor to determine surface voxels from the plurality of voxels, wherein each ofthe surface voxels is associated with at least a surface portion ofthe object, and wherein each of the surface voxels is associated with diffuse illumination values for one or more surface points on the object.
  • the computer program product may also include computer code that directs the processor to determine diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for surface points on the object associated with the surface voxels, wherein the subset of vertices is associated with the surface voxels, computer code that directs the processor to determine diffuse illumination compensation values for the subset of vertices in response to the diffuse illumination values for the subset of vertices, and computer code that directs the processor to determine compensated diffuse illumination values for a subset of surface points ofthe plurality of surface points on the object in response to diffuse illumination values for the subset of surface points and in response to diffuse illumination compensation values for the subset of vertices.
  • the codes may be executable or human-readable code.
  • a computing system includes a memory configured to store a geometric description of an object to be rendered, and a processor coupled to the memory.
  • the processor may be configured to performing surface shading calculations to determine illumination values for a plurality of surface points on the object, configured to associate a three-dimensional grid with the object, wherein the three- dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel bounds at least a portion ofthe object, and configured to determine illumination values for a subset of voxels in response to the illumination values for the plurality of surface points on the object.
  • the processor may also be configured to determine illumination values for a subset of vertices in response to the illumination values for the subset of voxels, configured to determine scattering values for the plurality of voxels in response to scattering values associated with the object, and configured to determine scattering values for the plurality of vertices in response to the scattering values for the plurality of voxels.
  • the processor is configured to perform one or more low pass filter operations in response to the illumination values for the subset of vertices and in response to the scattering values for the plurality of vertices to determine illumination compensation values for the subset of vertices, and configured to determine compensated illumination values for the plurality of surface points in response to the illumination values for the plurality of surface points and in response to the illumination compensation values for the subset of vertices.
  • FIG. 1 illustrates a block diagram of a rendering system according to one embodiment ofthe present invention
  • FIGs. 2A-C illustrate a block diagram of a flow process according to an embodiment ofthe present invention
  • FIG. 3A-B illustrate an example of an embodiment ofthe present invention
  • Figs. 4A-B illustrate an example of an embodiment ofthe present invention
  • FIG. 5 illustrates another example of an embodiment ofthe present invention.
  • FIG. 1 is a block diagram of typical computer rendering system 100 according to an embodiment ofthe present invention.
  • computer system 100 typically includes a monitor 110, computer 120, a keyboard 130, a user input device 140, a network interface 150, and the like.
  • user input device 140 is typically embodied as a computer mouse, a trackball, a track pad, wireless remote, and the like.
  • User input device 140 typically allows a user to select objects, icons, text and the like that appear on the monitor 110.
  • Embodiments of network interface 150 typically include an Ethernet card, a modem (telephone, satellite, cable, ISDN), (asynchronous) digital subscriber line (DSL) unit, and the like.
  • Network interface 150 are typically coupled to a computer network as shown, hi other embodiments, network interface 150 may be physically integrated on the motherboard of computer 120, may be a software program, such as soft DSL, or the like.
  • Computer 120 typically includes familiar computer components such as a processor 160, and memory storage devices, such as a random access memory (RAM) 170, disk drives 180, and system bus 190 interconnecting the above components.
  • RAM random access memory
  • computer 120 is a PC compatible computer having multiple microprocessors such as XeonTM microprocessor from Intel Corporation.
  • RAM 170 and disk drive 180 are examples of tangible media for storage of data, audio / video files, computer programs, applet interpreters or compilers, virtual machines, embodiments ofthe herein described invention including geometric scene data, object data files, shader descriptors, a rendering engine, output image files, texture maps, displacement maps, scattering lengths and absorption data of object materials, and the like.
  • Other types of tangible media include floppy disks, removable hard disks, optical storage media such as CD- ROMS and bar codes, semiconductor memories such as flash memories, read-only-memories (ROMS), battery-backed volatile memories, networked storage devices, and the like.
  • computer system 100 may also include software that enables communications over a network such as the HTTP, TCP/IP, RTP/RTSP protocols, and the like, hi alternative embodiments ofthe present invention, other communications software and transfer protocols may also be used, for example IPX, UDP or the like.
  • Fig. 1 is representative of computer rendering systems capable of embodying the present invention. It will be readily apparent to one of ordinary skill in the art that many other hardware and software configurations are suitable for use with the present invention. For example, the use of other micro processors are contemplated, such as PentiumTM or ItaniumTM microprocessors; OpteronTM or AthlonXPTM microprocessors from Advanced microprocessors from Advanced microprocessors from Advanced microprocessors.
  • Windows® operating system such as WindowsXP®, WindowsNT®, or the like from Microsoft Corporation, Solaris from Sun Microsystems, LINUX, UNIX, MAC OS from Apple Computer Corporation, and the like.
  • Figs. 2A-C illustrates a block diagram of a flow process according to an embodiment ofthe present invention. More particularly, the block diagram discloses a process in which the material property of an object are considered as part ofthe shading process [0038]
  • the process begins with the specification of an image to be rendered, step 200.
  • image specification includes the specification of one or more scene backgrounds, the specifications of objects and textures in the images, the specification of lighting to be applied to the images, the specification of object placement data, the specification of animation parameters for objects in the scene, displacement maps, and the like.
  • images are specified by one or more animators using conventional three-dimensional modeling techniques and software currently available. For example, software such as Alias
  • a specification of a background typically includes a geometric specification of a location or a "set” into which objects, described below, are placed.
  • the geometric specification may include geometric boundaries, one or more "environment” maps, and the like. These environment maps may be static or may vary with time.
  • a set may represent any location where the objects are placed, such as a room, an interior location, an exterior location, or the like.
  • the objects are placed or positioned by the animator into the set. These objects may be in inanimate objects within a scene such as furniture, plants, vehicles, and the like. Additionally, these objects may be objects that move or are moved within the scene, for example, characters, chairs, doors, and the like.
  • objects may be simple to complex, with some objects being formed from one or more smaller objects.
  • only portions of objects may be retrieved from a memory, and the remaining portions ofthe objects are dynamically created before being rendered.
  • the character SulleyTM in the movie Monsters, Inc.TM includes over three million hairs objects, however, only about one million hair objects are stored in memory with the remaining two million hair objects generated on the fly. In such cases, the dynamically created objects are termed procedurally generated objects.
  • objects are typically stored separately from each other. That is, each object may be stored in its own file and be retrieved by a computer file system. In other embodiments ofthe present invention, data for more than one object may be included into a single file.
  • Each scene typically also includes a specification of light sources and lighting parameters. Lighting data may include light sources, light types (e.g. diffuse, point), lighting locations, lighting directions, and the like. This lighting data may be stored within a single file or multiple files.
  • an object to be rendered is identified, retrieved from disk memory and then stored in program memory, step 310. In one embodiment, streaming technology is used so that the rendering engine can begin processing the object, although the entire data file has not yet been completely retrieved by memory.
  • the rendering engine begins processing the object after it is retrieved from memory.
  • the surface ofthe object is shaded, step 320. Any number of conventional surface shading programs may used for this step, for example, RenderMan® software may be used to determining the surface shading for each light source.
  • the shading ofthe surface is determined for all lighting sources at the same time.
  • the surface ofthe object is shaded individually for each light source. For example, if there are two light sources, there may be two separate shading values for each location on the surface ofthe object.
  • a volumetric grid is then constructed to bound the entire object, step 330.
  • the volumetric grid is Cartesian grid with approximately 200 to 500 vertices per side; accordingly the Cartesian grid may include from 8 million to 125 million voxels.
  • the number of grid locations per side may be unequal and may vary, for example, a grid may be constructed to have 110 voxels in an x direction, 400 in a y direction and 500 in a z direction; thus the grid may include approximately 22 million voxels, hi light of the present patent application, one of ordinary skill in the art would understand that the resolution ofthe volumetric grid in any direction and total number of voxels defined will vary according to specific engineering requirements and resources, h one embodiment, the voxels may be cubes, however in other embodiments, the voxels may have unequal dimensions and be irregular in shape. [0046] In the present example, not all voxels will include a portion ofthe object or the surface ofthe object. For this embodiment, such voxels are ignored for the following calculations or discarded.
  • the voxels that bound any portion ofthe surface ofthe object are identified, step 340.
  • the vertices of each surface voxel that includes a surface portion ofthe object are associated with diffuse illumination values.
  • the surface portions typically include shading surfaces (e.g. triangles) defined by shading values (diffuse illumination values) and associated shading areas.
  • the shading values typically include red, green, blue (RGB) shading components; and the shading areas typically represent an area of a respective shading surface.
  • the size of shading areas are smaller than the grid spacing, accordingly, an area weighting operation is performed for each shading value, step 350.
  • the area weighting values for each shading value are distributed to each ofthe 8 vertices in a voxel, step 360.
  • the contributions are added-up, step 365.
  • a typical vertex is associated with contributions of shading surfaces from different voxels.
  • Figs. 3 A and 3B illustrate an example of one embodiment ofthe present invention.
  • Fig. 3 A illustrates a top view and a profile view of one example.
  • a number of diffuse illumination values 430 and shading surfaces 440 are illustrated with solid lines.
  • voxel boundaries 450 illustrated with dotted lines (slightly offset up and to the left for clarity).
  • shading surfaces 440 are triangles, although in other embodiments, the shading surfaces may be triangles of different geometry and area, or different shapes (e.g. quadrilateral).
  • voxels 460, 470 and 480 are illustrated from the top and from the side in profile view in 490.
  • the diffuse illumination value of shading surface 420 is assumed to be at the centroid 495 of shading surface 420. Further, as can be seen, centroid is location within voxel 470 1/4 the way from the closest comer 425, 1/5 the way in another direction, and 1/4 in the third direction. Further, in this example, the diffuse illumination value is determined to be 40, and the surface area for shading surface 420 is 5 units.
  • the area-weighted illumination is then divided in a three to 1 ratio to the bottom comers.
  • the bottom comers divide 150
  • the top comers divide 50.
  • these illumination values are further divided in approximately the way illustrated in Fig. 3B.
  • any other conventional method for distributing shading values to vertices of voxels is contemplated.
  • the area- weighted contribution for all shading surfaces may be determined once for the voxel, and that value is distributed to the eight vertices in the voxel, depending upon position.
  • Figs. 4A and 4B illustrates such an example.
  • Fig. 4A illustrates a top view and a profile view of one example.
  • a number of diffuse illumination values 500 and shading surfaces 510 are illustrated with solid lines.
  • voxel boundaries 520 illustrated with dotted lines (slightly offset up and to the left for clarity).
  • shading surfaces 510 are squares of equal area, although in other embodiments, the shading surfaces may be quadrilaterals of different area.
  • voxels 530, 540 and 550 are illustrated including the shading surfaces and shading values shown.
  • a profile view 560 illustrating a location ofthe shading surfaces within voxels 530, 540, and 550.
  • the average illumination value in voxel 530 is illustrated as 32; the average illumination value in voxel 540 is 32, and the average illumination value in voxel 550 is 32. From the top view, the average illumination values are associated with the centers ofthe respective voxels, i.e. from the top, the average illumination values are assumed to be equidistant to the four respective comers ofthe voxels.
  • the average illumination values for voxels 530 and 550 associated with the center ofthe voxels, and are equidistant from the top and bottom comers, but the average illumination values for voxel 540 is associated with a position about 1.7 times closer to the bottom comers than the top comers.
  • the average diffuse illumination values are distributed to the respective vertices in voxels 530, 540, and 550 based upon the positions ofthe average illumination values, determined above.
  • the distribution to the top and bottom vertices is uniform.
  • the above process is then typically repeated to distribute material properties values ofthe object onto the vertices, h the present embodiment, the material properties include attenuation factors and scattering lengths for the material bounded by respective voxels, step 370. Because the attenuation factors and scattering lengths are parameters ofthe material within the object, and not just on the surface, the process is performed for all voxels that include a portion ofthe object, hi this embodiment, as a result, the material properties are mapped onto vertices ofthe voxels as a volume- weighted scattering length grid, and a volume- weighted attenuation factoring grid.
  • a number of grids may be allocated and populated, for example, one grid to store weighted diffuse illumination values, one grid to store weighted attenuation factors, and one grid to store weighted scattering lengths.
  • additional grids may be allocated to stored additional values, h still another embodiment, only a single grid may be defined, and the weighted diffuse illumination values and weighted material properties are merely associated with that grid.
  • the diffuse illumination values, attenuation factors, and scattering lengths are color dependent.
  • diffuse illumination values include a red component, a green component, and a blue component, however other color system may also be used.
  • the attenuation factors and scattering lengths are color dependent.
  • the scattering lengths of red and blue may be shorter in the material than the scattering length of green in the material.
  • nine volumetric grids may be created and populated.
  • a single grid having vertices associated with multiple values may also be used.
  • the following steps are performed to efficiently simulate a scattering process ofthe translucent material.
  • the process begins by processing the area- weighted diffuse illumination grid values, the volume-weighted scattering length grid values, and the volume-weighted attenuation factor grid values with a short range dealiasing filter per color step 380.
  • the dealiasing filter may be a blur filter, or the like.
  • the area weighted diffuse illumination values, the volume-weighted scattering lengths, and volume-weighted attenuation factors are normalized, step 385.
  • the area weighted diffuse illumination grid values are divided by a grid storing the areas ofthe respective voxels; and the volume- weighted scattering length grid values and the volume- weighted attenuation factor grid values are both divided by a grid storing the volumes ofthe respective voxels, h other embodiments, other types of normalizing filters may be used.
  • is a local scattering coefficient
  • I is the source illumination from the surface
  • D is the diffuse radiosity.
  • ⁇ and a are derived from the attenuation factor grid values and the scattering length grid values; and I is derived from the diffuse illumination grid values.
  • oD represents the amount of illumination I absorbed
  • ⁇ V 2 D represents the illumination flux.
  • the diffuse illumination values are determined by running a recursive low pass filter on the illumination grid values, step 390.
  • Y(n) represents a diffuse illumination compensation value at point n
  • I(n) represents the diffuse illumination value at point n
  • o(n) represents an extinction value at point n
  • Y(n-1) represents the diffuse illumination compensation value at point n-1.
  • o n) (derived from the scattering length and absorption values) varies across the grid.
  • the recursive low pass filter is run upon the illumination grid values in six directions, for example, + ⁇ , -x, +y, -y, +z, -z directions.
  • the illumination values are effectively spread within the material to approximate the Green's function ofthe scattering operator ( ⁇ V 2 ), while also compensating for material having different scattering lengths.
  • the values for are selected to simulate Green's function. More particularly, both the recursive low pass filter and Green's functions are both exponential, thus a is selected such that the low pass filter has approximately the same decay characteristics of Green's function.
  • the change is for adjacent samples is assumed to be small compared to the value of .
  • a fast elliptic solver such as a fast convolution FFT solver or a multi-grid solver can be applied using the illumination grid values and scattering grid values, described above.
  • a fast convolution FFT solver or a multi-grid solver can be applied using the illumination grid values and scattering grid values, described above.
  • other methods for solving for the diffuse illumination values can be used.
  • a result of this process is a diffuse illumination grid where the vertices are populated with diffuse illumination compensation values resulting from the spreading of light within an object. More particularly, the diffuse illumination compensation values of surface voxels represent an amount of illumination to be added to the surface diffuse illumination values determined by the surface shader.
  • the surface shader may specify a low diffuse illumination value at surface.
  • the total diffuse illumination value at the surface may be increased on account ofthe diffuse illumination compensation values determined above.
  • the surface voxels determined above are again identified, and the diffuse illumination compensation values for vertices in the surface voxels are interpolated to determine diffuse illumination compensation factors for each surface sample, step 400. Any conventional interpolation process may be implemented.
  • the diffuse illumination compensation values are combined with the surface shading values (diffuse illumination values) determined by the shader, step 410.
  • the combination may be any linear or non-linear combination ofthe two values.
  • the resulting surface illumination values represent the appearance of the object illuminated by lighting sources compensated for the object material.
  • illumination grids are formed and populated for each light source striking the object.
  • the illumination grid values are offset into the object. For example, as illustrated in Fig 5, the illumination values for each vertex due to the illumination sources 600 and 610 are moved inside the object, 620, 630.
  • the amount of offset is estimated in light ofthe object material, for example, the more translucent an object is, the deeper the offset will be; and the more opaque a material is, the shallower the offset will be.
  • the illumination grid values are combined before the determining the diffuse illumination compensation.
  • Embodiments ofthe present invention may be applied to any number of rendering platforms and for a variety of purposes.
  • embodiments may be use on engineering workstations for development purposes, on visualization systems for artists and animators, in a rendering farm machine for final production, and the like. Accordingly, the concepts disclosed above are extremely valuable in a variety of applications.
  • any resolution for the grids may be used.
  • the inventor has determined that it is advantageous that the grid be larger than the smallest shaded surface. Further, the grid may be much greater in size.
  • a typical voxel may include two shading surface values to nine shading surface values.
  • voxels may include a smaller number of shading surface values, e.g. .5 or greater, and voxels may include a larger number of shading surface values, e.g. ten to 25, 20 to 40, 30 or greater, and the like.

Abstract

A method (figure 2A) for rendering an object (figure 2A, items 300 and 310) includes determining illumination values for surface points on the object (figure 2A, item 320) associating a grid (figure 2A, item 330) including vertices and voxels with the object (figure 2A, item 340) determining illumination values associated with vertices from illumination values for surface points on the object (figure 2A, item 350), performing one or more low pass filters on the illumination values associated with the vertices to form compensation values associated with the vertices, and determining compensated illumination values for the surface points by combining the illumination values for the surface points and the compensation values associated with the vertices.

Description

Method and Apparatus for Rendering of Translucent Objects Using
Volumetric Grids
BACKGROUND OF THE INVENTION [0001] The present invention is related to and incorporates by reference for all purposes the following co-pending patent application shot Rendering Method and apparatus, Attorney Docket No. 021751 -000300US, filed .
BACKGROUND OF THE INVENTION [0002] The present invention relates to computer animation. More particularly, the present invention relates to techniques and apparatus for efficient rendering of objects that are specified to include translucent materials.
[0003] Throughout the years, movie makers have often tried to tell stories involving make- believe creatures, far away places, and fantastic things. To do so, they have often relied on ■ animation techniques to bring the make-believe to "life." Two of the major paths in animation have traditionally included, drawing-based animation teclmiques and physical animation techniques.
[0004] Drawing-based animation techniques were refined in the twentieth century, by movie makers such as Walt Disney and used in movies such as "Snow White and the Seven Dwarves" and "Fantasia" (1940). This animation technique typically required artists to hand- draw (or paint) animated images onto a transparent media or eels. After painting, each eel would then be captured or recorded onto film as one or more frames in a movie. [0005] Physical-based animation teclmiques typically required the construction of miniature sets, props, and characters. The filmmakers would construct the sets, add props, and position the miniature characters in a pose. After the animator was happy with how everything was arraigned, one or more frames of film would be taken of that specific arrangement. Physical animation techniques were developed by movie makers such as Willis O'Brien for movies such as "King Kong" (1932). Subsequently, these techniques were refined by animators such as Ray Harryhausen for movies including "The Mighty Joe Young" (1948) and Clash Of The Titans (1981). [0006] With the wide-spread availability of computers in the later part of the twentieth century, animators began to rely upon computers to assist in the animation process. This included using computers to facilitate drawing-based animation, for example, by painting images, by generating in-between images ("tweening"), and the like. This also included using computers to augment physical animation techniques. For example, physical models could be represented by virtual models in computer memory, and manipulated. [0007] One of the pioneering companies in the computer aided animation (CAA) industry was Pixar Incorporated. Pixar developed both computing platforms specially designed for CAA, and animation software now known as RenderMan®. RenderMan® was particularly well received in the animation industry and recognized with two Academy Awards®. [0008] RenderMan® software is used to convert graphical specifications of objects and convert them into one or more images. This technique is known in the industry as rendering. One specific portion of the rendering process is known as surface shading, the surface shading process the software determines how much light is directed towards the viewer from the surface of objects in an image in response to the applied light sources. [0009] For different types of object materials, however, the amount of light directed towards the viewer is more than the light reflected from the surface. Such types of materials include materials that are at least partially translucent in nature, such as plastic, skin, milk, and the like. Translucent materials may also include materials that are non-uniformly translucent, such as marble, jade, and the like, and may have sub-surface features. Compensation for subsurface scattering and other effects of translucency are deemed important for the realism of computer-generated imagery. [0010] Techniques to compensate and to render translucent objects have previously been proposed and generally fall into two categories: surface based approaches, and stochastic ray tracing methods. Each of these approaches has significant shortcomings. Surface based approaches suffer from technical difficulties in the parametric representation of sample locations. Additionally, such approaches do not address the fundamental problem of representing an internal structure of the scattering media. [0011] Stochastic ray tracing approaches can be used to solve the full physical problem, however such approaches are generally very time consuming. Another approach includes a finite element analysis through a hierarchical evaluation of a radiative transfer equation. Again such approaches are very computationally intensive. Because the present solutions to the problem of rendering objects of translucent materials is slow, animators using such rendering techniques cannot quickly see how the animation will look. Accordingly, the animators must often wait overnight to see the rendering results.
[0012] In light of the above, what is needed are efficient techniques to render translucent objects. BRIEF SUMMARY OF THE INVENTION [0013] The present invention relates to the field of computer animation. More particularly, the present invention relates to techniques and apparatus for efficient rendering of objects composed of translucent materials. [0014] The techniques described below are based on an explicit representation ofthe subsurface illumination fluxes on a 3 dimensional grid. This representation allows the efficient spatial indexing of illumination samples from the unstructured geometry ofthe object. This representation allows the rendering engine to quickly solve the transport of diffuse illumination inside the translucent material with full representation ofthe internal structure.
[0015] The process described below includes the following phases: 1) evaluation of surface illumination on object, collection of surface illumination, determining of area weighting, and scattering properties on sample grids; 2) efficient determination ofthe diffuse radiative transfer on the sample grids; and 3) sampling the diffuse illumination during final rendering pass.
[0016] In this embodiment, the first phase is the illumination sampling pass. In this phase, the relevant light sources are evaluated on the surface of an object and the surface shading model is evaluated to determine the quantity of diffuse illumination for each color channel. The diffuse illumination at the surface are transmitted to the translucency solver, described below. Additionally, Cartesian solver grids are constructed which cover the bounding volume ofthe object sample points. The diffuse illumination values are inserted onto the solver grids where they are merged with other values. The merge process is accomplished by adding the representative sample area for the sample into one grid and simultaneously adding the product ofthe sample area and the illumination value are added into a second grid. Scattering properties such as attenuation and scattering length are also mapped onto grid structures using the same technique. For internal structures with varying scattering properties additional samples of these properties are added. During this phase the samples may be offset from the actual sample position using the surface normal to simulate the effects of an initial forward scattering process before the illumination enters the diffuse solver. [0017] The second phase ofthe process is the solution ofthe scattering pass itself. In this embodiment, the illumination and scattering properties are normalized by processing all of the grids with a short range dealiasing filter and diving the area weighted illumination and scattering property grids by the area grid value. The diffuse illumination values are then solved by solving the elliptic radiative transfer equation (1) on the grid values. This process can be done efficiently in several ways. For example, in one approach the process is performed via a recursive low pass filter whose filter coefficients vary with scattering parameters across the grid in each direction for each dimension. The filter parameters are chosen so that the bidirectional filter impulse response approximates the Green's function of the scattering operator with the local scattering parameters. In another approach, the variable coefficient elliptic scattering equation is solved using a fast elliptic solver such as a fast convolution FFT solver or multi-grid solver.
[0018] The third phase ofthe process is to take the completed grid containing the solved diffuse illumination and point sample the grid using an interpolation kernel from the surface shaders. This may occur during a final rendering pass for the surface. All of the sample processing for this phase is done in global 3-space so that no surface coordinate parameterizations are needed and smoothness across multiple geometry elements is provided. [0019] According to one aspect ofthe invention, a method for rendering an object is described. One technique includes performing shading calculations to determine diffuse illumination values for a plurality of surface points on the object, and associating a three- dimensional grid with the object, wherein the three-dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel includes at least a portion ofthe object. A process may also include determining diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for the plurality of surface points on the object, wherein the subset of vertices is associated with a subset of voxels , and wherein each voxel in the subset of voxels includes one or more diffuse illumination values for one or more surface points on the object. Next, one process may include performing one or more low pass filter operations on the diffuse illumination values for the subset of vertices to determine diffuse illumination compensation values for vertices in the subset of vertices, and determining compensated diffuse illumination values for the plurality of surface points on the object in response to the diffuse illumination values for the plurality of surface points and in response to the diffuse illumination compensation values for the vertices in the subset of vertices. [0020] According to another aspect ofthe invention, a computer program product for a computer system including a processor is described. The computer program product may include computer code that directs the processor to perform shading calculations to determine diffuse illumination values for a plurality of surface points on the object, computer code that directs the processor to associate a three-dimensional grid with the object, wherein the three- dimensional grid comprises a plurality of vertices and a plurality of voxels, and wherein each voxel is associated with at least a portion ofthe object, and computer code that directs the processor to determine surface voxels from the plurality of voxels, wherein each ofthe surface voxels is associated with at least a surface portion ofthe object, and wherein each of the surface voxels is associated with diffuse illumination values for one or more surface points on the object. The computer program product may also include computer code that directs the processor to determine diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for surface points on the object associated with the surface voxels, wherein the subset of vertices is associated with the surface voxels, computer code that directs the processor to determine diffuse illumination compensation values for the subset of vertices in response to the diffuse illumination values for the subset of vertices, and computer code that directs the processor to determine compensated diffuse illumination values for a subset of surface points ofthe plurality of surface points on the object in response to diffuse illumination values for the subset of surface points and in response to diffuse illumination compensation values for the subset of vertices. The codes may be executable or human-readable code. These codes may reside on a tangible media such as a hard disk drive, network storage, removable media, or the like. [0021] According to yet another aspect ofthe invention, a computing system includes a memory configured to store a geometric description of an object to be rendered, and a processor coupled to the memory. The processor may be configured to performing surface shading calculations to determine illumination values for a plurality of surface points on the object, configured to associate a three-dimensional grid with the object, wherein the three- dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel bounds at least a portion ofthe object, and configured to determine illumination values for a subset of voxels in response to the illumination values for the plurality of surface points on the object. The processor may also be configured to determine illumination values for a subset of vertices in response to the illumination values for the subset of voxels, configured to determine scattering values for the plurality of voxels in response to scattering values associated with the object, and configured to determine scattering values for the plurality of vertices in response to the scattering values for the plurality of voxels. Still further, the processor is configured to perform one or more low pass filter operations in response to the illumination values for the subset of vertices and in response to the scattering values for the plurality of vertices to determine illumination compensation values for the subset of vertices, and configured to determine compensated illumination values for the plurality of surface points in response to the illumination values for the plurality of surface points and in response to the illumination compensation values for the subset of vertices.
BRIEF DESCRIPTION OF THE DRAWINGS [0022] In order to more fully understand the present invention, reference is made to the accompanying drawings. Understanding that these drawings are not to be considered limitations in the scope ofthe invention, the presently described embodiments and the presently understood best mode ofthe invention are described with additional detail through use ofthe accompanying drawings in which: [0023] Fig. 1 illustrates a block diagram of a rendering system according to one embodiment ofthe present invention;
[0024] Figs. 2A-C illustrate a block diagram of a flow process according to an embodiment ofthe present invention;
[0025] Figs. 3A-B illustrate an example of an embodiment ofthe present invention; [0026] Figs. 4A-B illustrate an example of an embodiment ofthe present invention; and
[0027] Fig. 5 illustrates another example of an embodiment ofthe present invention.
DETAILED DESCRIPTION OF THE INVENTION [0028] Fig. 1 is a block diagram of typical computer rendering system 100 according to an embodiment ofthe present invention.
[0029] hi the present embodiment, computer system 100 typically includes a monitor 110, computer 120, a keyboard 130, a user input device 140, a network interface 150, and the like. [0030] In the present embodiment, user input device 140 is typically embodied as a computer mouse, a trackball, a track pad, wireless remote, and the like. User input device 140 typically allows a user to select objects, icons, text and the like that appear on the monitor 110.
[0031] Embodiments of network interface 150 typically include an Ethernet card, a modem (telephone, satellite, cable, ISDN), (asynchronous) digital subscriber line (DSL) unit, and the like. Network interface 150 are typically coupled to a computer network as shown, hi other embodiments, network interface 150 may be physically integrated on the motherboard of computer 120, may be a software program, such as soft DSL, or the like. [0032] Computer 120 typically includes familiar computer components such as a processor 160, and memory storage devices, such as a random access memory (RAM) 170, disk drives 180, and system bus 190 interconnecting the above components. [0033] In one embodiment, computer 120 is a PC compatible computer having multiple microprocessors such as Xeon™ microprocessor from Intel Corporation. Further, in the present embodiment, computer 120 typically includes a UNIX-based operating system. [0034] RAM 170 and disk drive 180 are examples of tangible media for storage of data, audio / video files, computer programs, applet interpreters or compilers, virtual machines, embodiments ofthe herein described invention including geometric scene data, object data files, shader descriptors, a rendering engine, output image files, texture maps, displacement maps, scattering lengths and absorption data of object materials, and the like. Other types of tangible media include floppy disks, removable hard disks, optical storage media such as CD- ROMS and bar codes, semiconductor memories such as flash memories, read-only-memories (ROMS), battery-backed volatile memories, networked storage devices, and the like. [0035] h the present embodiment, computer system 100 may also include software that enables communications over a network such as the HTTP, TCP/IP, RTP/RTSP protocols, and the like, hi alternative embodiments ofthe present invention, other communications software and transfer protocols may also be used, for example IPX, UDP or the like.
[0036] Fig. 1 is representative of computer rendering systems capable of embodying the present invention. It will be readily apparent to one of ordinary skill in the art that many other hardware and software configurations are suitable for use with the present invention. For example, the use of other micro processors are contemplated, such as Pentium™ or Itanium™ microprocessors; Opteron™ or AthlonXP™ microprocessors from Advanced
Micro Devices, Inc; PowerPC G3™, G4™ microprocessors from Motorola, Inc.; and the like. Further, other types of operating systems are contemplated, such as Windows® operating system such as WindowsXP®, WindowsNT®, or the like from Microsoft Corporation, Solaris from Sun Microsystems, LINUX, UNIX, MAC OS from Apple Computer Corporation, and the like.
[0037] Figs. 2A-C illustrates a block diagram of a flow process according to an embodiment ofthe present invention. More particularly, the block diagram discloses a process in which the material property of an object are considered as part ofthe shading process [0038] In one embodiment ofthe present invention, the process begins with the specification of an image to be rendered, step 200. In this example, image specification includes the specification of one or more scene backgrounds, the specifications of objects and textures in the images, the specification of lighting to be applied to the images, the specification of object placement data, the specification of animation parameters for objects in the scene, displacement maps, and the like. Typically, images are specified by one or more animators using conventional three-dimensional modeling techniques and software currently available. For example, software such as Alias |Wavefront's Maya™ Software, and the like may be used to specify the scene.
[0039] In the present examples, a specification of a background typically includes a geometric specification of a location or a "set" into which objects, described below, are placed. The geometric specification may include geometric boundaries, one or more "environment" maps, and the like. These environment maps may be static or may vary with time. In examples ofthe present invention, a set may represent any location where the objects are placed, such as a room, an interior location, an exterior location, or the like. [0040] The objects are placed or positioned by the animator into the set. These objects may be in inanimate objects within a scene such as furniture, plants, vehicles, and the like. Additionally, these objects may be objects that move or are moved within the scene, for example, characters, chairs, doors, and the like. In the present embodiment, objects may be simple to complex, with some objects being formed from one or more smaller objects. In some embodiments, only portions of objects may be retrieved from a memory, and the remaining portions ofthe objects are dynamically created before being rendered. As merely an example, the character Sulley™ in the movie Monsters, Inc.™ includes over three million hairs objects, however, only about one million hair objects are stored in memory with the remaining two million hair objects generated on the fly. In such cases, the dynamically created objects are termed procedurally generated objects.
[0041] In the present embodiment, objects are typically stored separately from each other. That is, each object may be stored in its own file and be retrieved by a computer file system. In other embodiments ofthe present invention, data for more than one object may be included into a single file. [0042] Each scene typically also includes a specification of light sources and lighting parameters. Lighting data may include light sources, light types (e.g. diffuse, point), lighting locations, lighting directions, and the like. This lighting data may be stored within a single file or multiple files. [0043] Next, an object to be rendered is identified, retrieved from disk memory and then stored in program memory, step 310. In one embodiment, streaming technology is used so that the rendering engine can begin processing the object, although the entire data file has not yet been completely retrieved by memory. In other embodiments, the rendering engine begins processing the object after it is retrieved from memory. [0044] In the present embodiment, once the object is retrieved from disk memory, the surface ofthe object is shaded, step 320. Any number of conventional surface shading programs may used for this step, for example, RenderMan® software may be used to determining the surface shading for each light source. In one embodiment, the shading ofthe surface is determined for all lighting sources at the same time. In an alternative embodiment, the surface ofthe object is shaded individually for each light source. For example, if there are two light sources, there may be two separate shading values for each location on the surface ofthe object. [0045] i this embodiment, a volumetric grid is then constructed to bound the entire object, step 330. hi one example, the volumetric grid is Cartesian grid with approximately 200 to 500 vertices per side; accordingly the Cartesian grid may include from 8 million to 125 million voxels. The number of grid locations per side may be unequal and may vary, for example, a grid may be constructed to have 110 voxels in an x direction, 400 in a y direction and 500 in a z direction; thus the grid may include approximately 22 million voxels, hi light of the present patent application, one of ordinary skill in the art would understand that the resolution ofthe volumetric grid in any direction and total number of voxels defined will vary according to specific engineering requirements and resources, h one embodiment, the voxels may be cubes, however in other embodiments, the voxels may have unequal dimensions and be irregular in shape. [0046] In the present example, not all voxels will include a portion ofthe object or the surface ofthe object. For this embodiment, such voxels are ignored for the following calculations or discarded.
[0047] Next, the voxels that bound any portion ofthe surface ofthe object (surface voxels) are identified, step 340. [0048] In the present embodiment, the vertices of each surface voxel that includes a surface portion ofthe object are associated with diffuse illumination values. The surface portions typically include shading surfaces (e.g. triangles) defined by shading values (diffuse illumination values) and associated shading areas. In this embodiment, the shading values typically include red, green, blue (RGB) shading components; and the shading areas typically represent an area of a respective shading surface.
[0049] In this embodiment, the size of shading areas are smaller than the grid spacing, accordingly, an area weighting operation is performed for each shading value, step 350. [0050] Next, the area weighting values for each shading value are distributed to each ofthe 8 vertices in a voxel, step 360. In this embodiment, after each ofthe area-weighted shading values are distributed to the vertices, the contributions are added-up, step 365. h one embodiment, a typical vertex is associated with contributions of shading surfaces from different voxels.
[0051] Figs. 3 A and 3B illustrate an example of one embodiment ofthe present invention. Fig. 3 A illustrates a top view and a profile view of one example. In Fig. 3 A a number of diffuse illumination values 430 and shading surfaces 440 (including shading surface 420) are illustrated with solid lines. On top of these values are voxel boundaries 450 illustrated with dotted lines (slightly offset up and to the left for clarity). In this embodiment, shading surfaces 440 are triangles, although in other embodiments, the shading surfaces may be triangles of different geometry and area, or different shapes (e.g. quadrilateral).
[0052] In this example, voxels 460, 470 and 480 are illustrated from the top and from the side in profile view in 490. h this example, the diffuse illumination value of shading surface 420 is assumed to be at the centroid 495 of shading surface 420. Further, as can be seen, centroid is location within voxel 470 1/4 the way from the closest comer 425, 1/5 the way in another direction, and 1/4 in the third direction. Further, in this example, the diffuse illumination value is determined to be 40, and the surface area for shading surface 420 is 5 units.
[0053] In this example the area- weighted illumination value is (40 x 5 = 200) 200. The area-weighted illumination is then divided in a three to 1 ratio to the bottom comers. Thus the bottom comers divide 150 and the top comers divide 50. Next, based upon the position of centroid 495, these illumination values are further divided in approximately the way illustrated in Fig. 3B.
[0054] In other embodiments ofthe present invention, any other conventional method for distributing shading values to vertices of voxels is contemplated. For example, the area- weighted contribution for all shading surfaces may be determined once for the voxel, and that value is distributed to the eight vertices in the voxel, depending upon position. Figs. 4A and 4B illustrates such an example.
[0055] Fig. 4A illustrates a top view and a profile view of one example. In Fig. 4A, a number of diffuse illumination values 500 and shading surfaces 510 are illustrated with solid lines. On top of these values are voxel boundaries 520 illustrated with dotted lines (slightly offset up and to the left for clarity). In this embodiment, shading surfaces 510 are squares of equal area, although in other embodiments, the shading surfaces may be quadrilaterals of different area. [0056] hi this example, voxels 530, 540 and 550 are illustrated including the shading surfaces and shading values shown. Also illustrated is a profile view 560 illustrating a location ofthe shading surfaces within voxels 530, 540, and 550. hi this example, using area weighting calculations, the average illumination value in voxel 530 is illustrated as 32; the average illumination value in voxel 540 is 32, and the average illumination value in voxel 550 is 32. From the top view, the average illumination values are associated with the centers ofthe respective voxels, i.e. from the top, the average illumination values are assumed to be equidistant to the four respective comers ofthe voxels. From profile view 560, the average illumination values for voxels 530 and 550 associated with the center ofthe voxels, and are equidistant from the top and bottom comers, but the average illumination values for voxel 540 is associated with a position about 1.7 times closer to the bottom comers than the top comers.
[0057] As illustrated in Fig. 4B, the average diffuse illumination values are distributed to the respective vertices in voxels 530, 540, and 550 based upon the positions ofthe average illumination values, determined above. For voxels 530 and 550, the distribution to the top and bottom vertices is uniform. However, in this example, for voxel 540, because the illumination values are on the average, about 1.7 times closer to the bottom than to the top, the amount of illumination distributed to the bottom vertices (4x5=20) is about 1.7 times the amount of illumination distributed to the top vertices (4x3=12). [0058] In the present embodiment, the above process is then typically repeated to distribute material properties values ofthe object onto the vertices, h the present embodiment, the material properties include attenuation factors and scattering lengths for the material bounded by respective voxels, step 370. Because the attenuation factors and scattering lengths are parameters ofthe material within the object, and not just on the surface, the process is performed for all voxels that include a portion ofthe object, hi this embodiment, as a result, the material properties are mapped onto vertices ofthe voxels as a volume- weighted scattering length grid, and a volume- weighted attenuation factoring grid. [0059] At this stage, a number of grids may be allocated and populated, for example, one grid to store weighted diffuse illumination values, one grid to store weighted attenuation factors, and one grid to store weighted scattering lengths. In other embodiments, additional grids may be allocated to stored additional values, h still another embodiment, only a single grid may be defined, and the weighted diffuse illumination values and weighted material properties are merely associated with that grid. [0060] In the present embodiment, the diffuse illumination values, attenuation factors, and scattering lengths are color dependent. In this example, diffuse illumination values include a red component, a green component, and a blue component, however other color system may also be used. In one embodiment, the attenuation factors and scattering lengths are color dependent. As an example, for a green jade material, the scattering lengths of red and blue may be shorter in the material than the scattering length of green in the material. Accordingly, in the present embodiment, nine volumetric grids may be created and populated. In other embodiments, a single grid having vertices associated with multiple values may also be used. [0061] The following steps are performed to efficiently simulate a scattering process ofthe translucent material. In the present embodiment, the process begins by processing the area- weighted diffuse illumination grid values, the volume-weighted scattering length grid values, and the volume-weighted attenuation factor grid values with a short range dealiasing filter per color step 380. In embodiments ofthe present invention, the dealiasing filter may be a blur filter, or the like.
[0062] Next, in this embodiment, the area weighted diffuse illumination values, the volume-weighted scattering lengths, and volume-weighted attenuation factors are normalized, step 385. one example, the area weighted diffuse illumination grid values are divided by a grid storing the areas ofthe respective voxels; and the volume- weighted scattering length grid values and the volume- weighted attenuation factor grid values are both divided by a grid storing the volumes ofthe respective voxels, h other embodiments, other types of normalizing filters may be used.
[0063] Next, the diffuse illumination values are determined by solving the elliptic radiative transfer equation on the grid values: [0064] μV2D = I - oD
[0065] In this equation, μ is a local scattering coefficient, is the local extinction coefficient, I is the source illumination from the surface, and D is the diffuse radiosity. In the present embodiment, μ and a (an extinction value) are derived from the attenuation factor grid values and the scattering length grid values; and I is derived from the diffuse illumination grid values. In this equation, oD represents the amount of illumination I absorbed, and μV2 D represents the illumination flux. [0066] In the present embodiment, the diffuse illumination values are determined by running a recursive low pass filter on the illumination grid values, step 390. In one embodiment, the recursive filter may be similar to the following equation: [0067] Y(n) = I(n) + α(n)Y(n-l) [0068] In this equation, Y(n) represents a diffuse illumination compensation value at point n; I(n) represents the diffuse illumination value at point n; o(n) represents an extinction value at point n; and Y(n-1) represents the diffuse illumination compensation value at point n-1. In this embodiment, o n) (derived from the scattering length and absorption values) varies across the grid. [0069] In this embodiment, the recursive low pass filter is run upon the illumination grid values in six directions, for example, +χ, -x, +y, -y, +z, -z directions. By doing this, the illumination values are effectively spread within the material to approximate the Green's function ofthe scattering operator (μV2 ), while also compensating for material having different scattering lengths. In this embodiment, the values for are selected to simulate Green's function. More particularly, both the recursive low pass filter and Green's functions are both exponential, thus a is selected such that the low pass filter has approximately the same decay characteristics of Green's function. In the present embodiment, the change is for adjacent samples is assumed to be small compared to the value of . [0070] hi other embodiments, other numerical methods for determining the diffuse illumination grid are contemplated. For example, a fast elliptic solver such as a fast convolution FFT solver or a multi-grid solver can be applied using the illumination grid values and scattering grid values, described above. In light ofthe present disclosure, one of ordinary skill in the art will recognize that other methods for solving for the diffuse illumination values can be used. [0071] In the present embodiment, a result of this process is a diffuse illumination grid where the vertices are populated with diffuse illumination compensation values resulting from the spreading of light within an object. More particularly, the diffuse illumination compensation values of surface voxels represent an amount of illumination to be added to the surface diffuse illumination values determined by the surface shader. For example, if an translucent object is thin and is back-lit, the surface shader may specify a low diffuse illumination value at surface. However, using the process described above, the total diffuse illumination value at the surface may be increased on account ofthe diffuse illumination compensation values determined above. [0072] In the present example, the surface voxels determined above are again identified, and the diffuse illumination compensation values for vertices in the surface voxels are interpolated to determine diffuse illumination compensation factors for each surface sample, step 400. Any conventional interpolation process may be implemented. Next, the diffuse illumination compensation values are combined with the surface shading values (diffuse illumination values) determined by the shader, step 410. In embodiments ofthe present invention, the combination may be any linear or non-linear combination ofthe two values. In the present embodiment, the resulting surface illumination values represent the appearance of the object illuminated by lighting sources compensated for the object material. [0073] In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. Many changes or modifications are readily envisioned. For example, in one embodiment, illumination grids are formed and populated for each light source striking the object. To simulate initial forward scattering ofthe light on the object for each illumination source, the illumination grid values are offset into the object. For example, as illustrated in Fig 5, the illumination values for each vertex due to the illumination sources 600 and 610 are moved inside the object, 620, 630. The amount of offset is estimated in light ofthe object material, for example, the more translucent an object is, the deeper the offset will be; and the more opaque a material is, the shallower the offset will be. After compensating for forward scattering for all light sources, the illumination grid values are combined before the determining the diffuse illumination compensation. [0074] In embodiments ofthe present invention, the inventors have determined that advantages ofthe present schema may be applied to the shot rendering techniques described in the above-referenced application. Further, it is envisioned that a great number of shaders currently compatible with RenderMan® could be used in embodiments ofthe present invention.
[0075] Embodiments ofthe present invention may be applied to any number of rendering platforms and for a variety of purposes. For example, embodiments may be use on engineering workstations for development purposes, on visualization systems for artists and animators, in a rendering farm machine for final production, and the like. Accordingly, the concepts disclosed above are extremely valuable in a variety of applications.
[0076] h the above disclosure, any resolution for the grids may be used. The inventor has determined that it is advantageous that the grid be larger than the smallest shaded surface. Further, the grid may be much greater in size. In one embodiment, a typical voxel may include two shading surface values to nine shading surface values. In other embodiments, voxels may include a smaller number of shading surface values, e.g. .5 or greater, and voxels may include a larger number of shading surface values, e.g. ten to 25, 20 to 40, 30 or greater, and the like.
[0077] Further embodiments can be envisioned to one of ordinary skill in the art after reading the attached documents. In other embodiments, combinations or sub-combinations of the above disclosed invention can be advantageously made. The block diagrams ofthe architecture and flow charts are grouped for ease of understanding. However it should be understood that combinations of blocks, additions of new blocks, re-aπangement of blocks, and the like are contemplated in alternative embodiments ofthe present invention. [0078] The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that various modifications and changes may be made thereunto without departing from the broader spirit and scope ofthe invention as set forth in the claims.

Claims

WHAT IS CLAIMED IS:
1. A method for rendering an object comprises: performing shading calculations to determine diffuse illumination values for a plurality of surface points on the object; associating a three-dimensional grid with the object, wherein the three- dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel includes at least a portion ofthe object; determining diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for the plurality of surface points on the object, wherein the subset of vertices is associated with a subset of voxels , and wherein each voxel in the subset of voxels includes one or more diffuse illumination values for one or more surface points on the object; performing one or more low pass filter operations on the diffuse illumination values for the subset of vertices to determine diffuse illumination compensation values for vertices in the subset of vertices; and determining compensated diffuse illumination values for the plurality of surface points on the object in response to the diffuse illumination values for the plurality of surface points and in response to the diffuse illumination compensation values for the vertices in the subset of vertices.
2. The method of claim 1 wherein determining the diffuse illumination values for at least the subset of vertices comprises interpolating the diffuse illumination values for the plurality of surface points on the object.
3. The method of claim 1 wherein the diffuse illumination values comprise red, green, and blue illumination values; and wherein determining diffuse illumination values and performing one or more low pass filters are performed for the red illumination values, the blue illumination values, and the green illumination values.
4. The method of claim 1 wherein performing one or more low pass filter operations comprises: determining a low pass filter; performing a first low pass filter operation using the low pass filter in a first direction; and performing a second low pass filter operation using the low pass filter in a second direction, wherein the first direction and the second direction are orthogonal.
5. The method of claim 3 wherein perfom ing one or more low pass filter operations further comprises: performing a third low pass filter operation using the low pass filter in a third direction, wherein the first direction, the second, and the third directions are orthogonal.
6. The method of claim 4 wherein performing one or more low pass filter operations further comprises: performing a fourth low pass filter operation using the low pass filter in a fourth direction, wherein the first direction and the fourth directions are opposite; perfomiing a fifth low pass filter operation using the low pass filter in a fifth direction, wherein the second direction and the fifth direction are opposite; and performing a sixth low pass filter operation using the low pass filter in a sixth direction, wherein the third direction and the sixth direction are opposite.
7. The method of claim 1 wherein the plurality of voxels comprise from approximately 5 to 25 million voxels.
8. An object rendered according to the method described in claim 1.
9. A plurality of images including an object rendered according to the method described in claim 7.
10. A computer program product for a computer system including a processor includes: code that directs the processor to perform shading calculations to determine diffuse illumination values for a plurality of surface points on the object; code that directs the processor to associate a three-dimensional grid with the object, wherein the three-dimensional grid comprises a plurality of vertices and a plurality of voxels, and wherein each voxel is associated with at least a portion ofthe object; code that directs the processor to determine surface voxels from the plurality of voxels, wherein each ofthe surface voxels is associated with at least a surface portion of the object, and wherein each ofthe surface voxels is associated with diffuse illumination values for one or more surface points on the object; code that directs the processor to determine diffuse illumination values for at least a subset of vertices in response to the diffuse illumination values for surface points on the object associated with the surface voxels, wherein the subset of vertices is associated with the surface voxels; code that directs the processor to determine diffuse illumination compensation values for the subset of vertices in response to the diffuse illumination values for the subset of vertices; and code that directs the processor to determine compensated diffuse illumination values for a subset of surface points ofthe plurality of surface points on the object in response to diffuse illumination values for the subset of surface points and in response to diffuse illumination compensation values for the subset of vertices; wherein the codes reside on a tangible media.
11. The computer program product of claim 10 wherein the tangible media further comprises: code that directs the processor to associate a second three-dimensional grid with the object, wherein the second three-dimensional grid comprises a plurality of vertices and a plurality of voxels, and wherein each voxel is associated with at least a portion ofthe object; code that directs the processor to determine scattering values for at least a subset of vertices in response to scattering values associated with voxels in the second three- dimensional grid; and wherein code that directs the processor to determine diffuse illumination compensation values for the subset of vertices comprises code that directs the processor to determine diffuse illumination compensation values for the subset of vertices in response to the diffuse illumination values for the subset of vertices in the three-dimensional grid and in response to the scattering values for at least a subset of vertices in the second three-dimensional grid.
12. The computer program product of claim 11 wherein code that directs the processor to determine diffuse illumination values comprises code that directs the processor to perform a low pass filter on the diffuse illumination values for the subset of vertices using the scattering values for at least the subset of vertices in the second three- dimensional grid as filter coefficients.
13. The computer program product of claim 11 wherein code that directs the processor to detem ine diffuse illumination values comprises code that directs the processor to use a fast elliptic solver upon the diffuse illumination values for the subset of vertices from the three-dimensional grid.
14. The computer program product of claim 10 wherein code that directs the processor to determine compensated diffuse illumination values comprises: code that directs the processor to interpolate diffuse illumination compensation values for the subset of vertices to form diffuse illumination compensation values for the subset of surface points ofthe plurality of surface points.
15. The computer program product of claim 12 wherein the low pass filter comprises a recursive low pass filter; wherein the code that directs the processor to perform the low pass filter on the diffuse illumination values for the subset of vertices comprises code that directs the processor to perform at least a first and a second recursive low pass filter on the diffuse the illumination values for the subset of vertices; and wherein a direction ofthe first recursive low pass filter is different from a direction ofthe second recursive low pass filter.
16. The computer program product of claim 15 wherein the direction ofthe first recursive low pass filter and the direction of the second recursive low pass filter are related in a manner selected from the group: opposite directions, orthogonal, skew.
17. The computer program product of claim 10 wherein the plurality of voxels comprise from approximately 5 to 25 million voxels.
18. A computing system comprises : a memory configured to store a geometric description of an object to be rendered; and a processor coupled to the memory, wherein the processor is configured to perfomiing surface shading calculations to determine illumination values for a plurality of surface points on the object; wherein the processor is configured to associate a three- dimensional grid with the object, wherein the three-dimensional grid includes a plurality of vertices, wherein the plurality of vertices define a plurality of voxels, and wherein each voxel bounds at least a portion ofthe object, wherein the processor is configured to determine illumination values for a subset of voxels in response to the illumination values for the plurality of surface points on the object, wherein the processor is configured to determine illumination values for a subset of vertices in response to the illumination values for the subset of voxels, wherein the processor is configured to determine scattering values for the plurality of voxels in response to scattering values associated with the object, wherein the processor is configured to determine scattering values for the plurality of vertices in response to the scattering values for the plurality of voxels, wherein the processor is configured to perform one or more low pass filter operations in response to the illumination values for the subset of vertices and in response to the scattering values for the plurality of vertices to determine illumination compensation values for the subset of vertices, and wherein the processor is configured to determine compensated illumination values for the plurality of surface points in response to the illumination values for the plurality of surface points and in response to the illumination compensation values for the subset of vertices.
19. The computing system of claim 18 wherein the illumination values for the plurality of surface points comprises red illumination values, blue illumination values, and green illumination values.
20. The computing system of claim 19 wherein the processor is configured to operate upon the red illumination values, the green illumination values, and the green illumination values separately.
PCT/US2003/024122 2003-04-30 2003-07-31 Method and apparatus for rendering of translucent objects using volumetric grids WO2004100072A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2003257117A AU2003257117A1 (en) 2003-04-30 2003-07-31 Method and apparatus for rendering of translucent objects using volumetric grids

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/428,322 2003-04-30
US10/428,322 US7019744B2 (en) 2003-04-30 2003-04-30 Method and apparatus for rendering of translucent objects using volumetric grids

Publications (1)

Publication Number Publication Date
WO2004100072A1 true WO2004100072A1 (en) 2004-11-18

Family

ID=33310380

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2003/024122 WO2004100072A1 (en) 2003-04-30 2003-07-31 Method and apparatus for rendering of translucent objects using volumetric grids

Country Status (3)

Country Link
US (2) US7019744B2 (en)
AU (1) AU2003257117A1 (en)
WO (1) WO2004100072A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7194483B1 (en) * 2001-05-07 2007-03-20 Intelligenxia, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
USRE46973E1 (en) * 2001-05-07 2018-07-31 Ureveal, Inc. Method, system, and computer program product for concept-based multi-dimensional analysis of unstructured information
US8589413B1 (en) 2002-03-01 2013-11-19 Ixreveal, Inc. Concept-based method and system for dynamically analyzing results from search engines
US7864176B2 (en) * 2003-04-30 2011-01-04 Pixar Translucent object rendering methods and apparatus
US7019744B2 (en) * 2003-04-30 2006-03-28 Pixar Method and apparatus for rendering of translucent objects using volumetric grids
US7859530B2 (en) * 2003-04-30 2010-12-28 Pixar Subsurface rendering methods and apparatus
US7443394B2 (en) * 2003-04-30 2008-10-28 Pixar Method and apparatus for rendering of complex translucent objects using multiple volumetric grids
JP4449723B2 (en) * 2004-12-08 2010-04-14 ソニー株式会社 Image processing apparatus, image processing method, and program
US20070248259A1 (en) * 2006-04-21 2007-10-25 Cheng-Wen Liu Apparatus for reconstructing multi-dimensional image data and a method thereof
US8345038B2 (en) * 2007-10-30 2013-01-01 Sharp Laboratories Of America, Inc. Methods and systems for backlight modulation and brightness preservation
US8243071B2 (en) 2008-02-29 2012-08-14 Microsoft Corporation Modeling and rendering of heterogeneous translucent materials using the diffusion equation
US20100085360A1 (en) * 2008-10-04 2010-04-08 Microsoft Corporation Rendering in scattering media
US9245243B2 (en) * 2009-04-14 2016-01-26 Ureveal, Inc. Concept-based analysis of structured and unstructured data using concept inheritance
WO2012000847A2 (en) * 2010-07-01 2012-01-05 Thomson Licensing Method of estimating diffusion of light
CN109118452B (en) * 2018-08-23 2022-11-29 成都圭目机器人有限公司 Method for automatically searching illumination compensation reference picture
CN116416363A (en) * 2021-12-29 2023-07-11 北京字跳网络技术有限公司 Fluff rendering method, device, equipment and medium

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5649032A (en) 1994-11-14 1997-07-15 David Sarnoff Research Center, Inc. System for automatically aligning images to form a mosaic image
US5487711A (en) * 1994-11-25 1996-01-30 Little; Oscar L. Lower leg exercise device and method
GB9501832D0 (en) * 1995-01-31 1995-03-22 Videologic Ltd Texturing and shading of 3-d images
US6064393A (en) 1995-08-04 2000-05-16 Microsoft Corporation Method for measuring the fidelity of warped image layer approximations in a real-time graphics rendering pipeline
US5936629A (en) 1996-11-20 1999-08-10 International Business Machines Corporation Accelerated single source 3D lighting mechanism
US6226005B1 (en) 1997-01-31 2001-05-01 LAFERRIèRE ALAIN M Method and system for determining and/or using illumination maps in rendering images
DE69836360T2 (en) * 1997-05-22 2007-08-23 Nippon Telegraph And Telephone Corp. System for displaying computer-controlled holographic images
US6226006B1 (en) 1997-06-27 2001-05-01 C-Light Partners, Inc. Method and apparatus for providing shading in a graphic display system
US6266053B1 (en) 1998-04-03 2001-07-24 Synapix, Inc. Time inheritance scene graph for representation of media content
US6278466B1 (en) 1998-06-11 2001-08-21 Presenter.Com, Inc. Creating animation from a video
US7133041B2 (en) 2000-02-25 2006-11-07 The Research Foundation Of State University Of New York Apparatus and method for volume processing and rendering
US7348977B2 (en) * 2000-07-19 2008-03-25 Pixar Subsurface scattering approximation methods and apparatus
US6707452B1 (en) 2000-07-19 2004-03-16 Pixar Method and apparatus for surface approximation without cracks
US6573898B1 (en) 2000-07-21 2003-06-03 Avid Technology, Inc. Analysis of properties of effects for rendering and caching of media data
US6744435B2 (en) * 2001-04-26 2004-06-01 Mitsubishi Electric Research Laboratories, Inc. Rendering discrete sample points projected to a screen space with a continuous resampling filter
US7176918B2 (en) * 2003-04-30 2007-02-13 Pixar Three-dimensional paint projection weighting of diffuse and scattered illumination methods and apparatus
US7129940B2 (en) * 2003-04-30 2006-10-31 Pixar Shot rendering method and apparatus
US7019744B2 (en) * 2003-04-30 2006-03-28 Pixar Method and apparatus for rendering of translucent objects using volumetric grids
US7184043B2 (en) * 2003-04-30 2007-02-27 Pixar Color compensated translucent object rendering methods and apparatus
US7098910B2 (en) * 2003-05-14 2006-08-29 Lena Petrovic Hair rendering method and apparatus
US7301538B2 (en) * 2003-08-18 2007-11-27 Fovia, Inc. Method and system for adaptive direct volume rendering

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DREBIN R.A.: "Volume rendering", ACM COMPUTER GRAPHICS, vol. 22, no. 4, 1988, pages 65 - 74, XP002982696 *

Also Published As

Publication number Publication date
US7436404B2 (en) 2008-10-14
US20060250396A1 (en) 2006-11-09
US20040217957A1 (en) 2004-11-04
US7019744B2 (en) 2006-03-28
AU2003257117A1 (en) 2004-11-26

Similar Documents

Publication Publication Date Title
US7436404B2 (en) Method and apparatus for rendering of translucent objects using volumetric grids
US7184043B2 (en) Color compensated translucent object rendering methods and apparatus
Wang et al. Volume sculpting
US7327360B2 (en) Hair rendering method and apparatus
Hart Sphere tracing: A geometric method for the antialiased ray tracing of implicit surfaces
US7564457B2 (en) Shot shading method and apparatus
US7864176B2 (en) Translucent object rendering methods and apparatus
US7176918B2 (en) Three-dimensional paint projection weighting of diffuse and scattered illumination methods and apparatus
US7859530B2 (en) Subsurface rendering methods and apparatus
US7443394B2 (en) Method and apparatus for rendering of complex translucent objects using multiple volumetric grids
US7129940B2 (en) Shot rendering method and apparatus
Shkurko et al. Time interval ray tracing for motion blur
WILLCOCKS Sparse volumetric deformation
WO2005116929A2 (en) Three-dimensional paint projection weighting of diffuse and scattered illumination
EP1661116A1 (en) Improved paint projection method and apparatus
Garstenauer et al. Character animation in real-time
EP1620833B1 (en) Shot rendering method and apparatus
Tole Two algorithms for progressive computation of accurate global illumination
Boubekeur et al. Interactive out-of-core texturing using point-sampled textures
Roble et al. Math in the entertainment industry
Nichols Multiresolution image-space rendering for interactive global illumination
Duce et al. A Formal Specification of a Graphics System in the
Wilson Ray tracing abstracts survey
Βασιλάκης Direct rendering of featured-based skinning deformations
Grossman et al. POINT SAMPLE RENDERING by JP Grossman

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP