THE faithful simulation of surface reflection is an

Size: px
Start display at page:

Download "THE faithful simulation of surface reflection is an"

Transcription

1 Barycentric Parameterizations for Isotropic BRDFs Michael M. Stark, James Arvo,, and Brian Smits Abstract A bidirectional reflectance distribution function (BRDF) is often expressed as a function of four real variables: two spherical coordinates in each of the the incoming and outgoing directions. However, many BRDFs reduce to functions of fewer variables. For example, isotropic reflection can be represented by a function of three variables. Some BRDF models can be reduced further. In this paper we introduce new sets of coordinates which we use to reduce the dimensionality of several well-known analytic BRDFs as well as empirically measured BRDF data. The proposed coordinate systems are barycentric with respect to a triangular support with a direct physical interpretation. One coordinate set is based on the BRDF model proposed by Lafortune. Another set, based on a model of Ward, is associated with the halfway vector common in analytical BRDF formulas. Through these coordinate sets we establish lower bounds on the approximation error inherent in the models on which they are based. We present a third set of coordinates, not based on any analytical model, that performs well in approximating measured data. Finally, our proposed variables suggest novel ways of constructing and visualizing BRDFs. Index Terms Computer Graphics; Picture/Image Generation; Display algorithms; Color, shading, shadowing, and texture; Reflectance I. INTRODUCTION THE faithful simulation of surface reflection is an essential element of accurate image synthesis [], []. The most fundamental relationship governing surface reflection can be stated in terms of radiometric quantities associated with a differential surface area: the differential radiance reflected from a given incident direction to a given outgoing direction is proportional to the irradiance due to a differential solid angle about the incident direction. In symbols, dl(v) L(u)dω () where L denotes radiance, ω denotes solid angle, and u and v are unit vectors of the incident and reflected directions, respectively. The constant of proportionality depends on both directions, so () may be written as dl(v) = ρ(u, v)l(u) dω. () The function ρ(u, v) is known as the bidirectional reflectance distribution function, or BRDF, and carries physical units of inverse steradians. This work focuses on the BRDF at a single surface point and at a single wavelength; the concepts are easily generalized to include spatiallyvarying BRDFs and wavelength dependence. Manuscript submitted January 3, 004 University of California, Irvine Pixar Animation Studios BRDFs are typically treated as real-valued functions ρ : Ω Ω R, where Ω denotes the unit hemisphere. In this representation a BRDF can be expressed as a function of four real variables: ρ(θ i,φ i,θ o,φ o ), where θ i and φ i are polar and azimuthal angles of the incident direction, respectively; θ o and φ o, of the reflected direction. A BRDF function can be represented more succinctly as a function ρ(u, v) of two (unit) vectors u and v, representing the incoming and outgoing direction vectors on the unit hemisphere. Because a BRDF models the physical process of light reflection, not every function f : Ω Ω R represents a physically plausible BRDF. In particular, a BRDF is subject to physical constraints: the second law of thermodynamics requires a BRDF to obey the reciprocity principle ρ(θ i,φ i,θ o,φ o ) = ρ(θ o,φ o,θ i,φ i ), (3) ρ(u, v) = ρ(v, u), (4) and the first law requires it to conserve energy: ρ(ω,v) cosθ i dω (5) Ω for any fixed v. Reciprocity ensures that a BRDF is symmetric with respect to its incoming and outgoing directions; energy conservation ensures that no more energy is scattered out than comes in. Outside of these constraints, BRDFs can have a wide variety forms. Numerous mathematical BRDF models have found application in a variety of fields, including radiative transfer, remote sensing, computer vision, and computer graphics [3] [7]. In addition, empirical BRDF measurements are made using a gonioreflectometer, a device that measures directionally-dependent reflection from a physical sample [8]. In this work we are primarily concerned with isotropic BRDFs, which are invariant under rotation about the surface normal and under reflection in the incidence plane. Formally a BRDF ρ is isotropic if ρ(θ i,φ i,θ o,φ o ) = ρ(θ i,φ i + ψ,θ o,φ o + ψ) for any ψ, and ρ(θ i,0,θ o,φ o ) = ρ(θ i,0,θ o, φ o ). An isotropic BRDF depends only on the relative position of the azimuthal angles, and can therefore be represented by a function of only three real variables θ i, θ o, and φ i φ o φ. A BRDF that is isotropic, or can be treated as isotropic, is simpler to represent numerically: the number of tabular values or measurements needed is reduced from O(N 4 ) to O(N 3 ), N being the number of values in each angle. Furthermore, a gonioreflectometer that measures only isotropic reflection is mechanically simpler. It is natural to wonder whether there is a useful class of BRDFs that are representable by fewer than three variables. Indeed, mathematical models of BRDFs frequently depend only superficially on all of their arguments, and are better thought of as functions of fewer variables. For example, simple Phong-like BRDFs

2 reduce to functions of only a single variable, the deviation from the direction of mirror reflection. As we shall see, several isotropic BRDF models which initially appear to be functions of three variables readily reduce to only two. A. Goals of this Work The problem of determining the proper arity of a function, the number of arguments that it depends on, is subtle. First, such a simplification must entail more than merely representing a function as a composition of lowerarity functions, which is theoretically always possible. This follows from an intriguing theorem of Kolmogorov [9] which states that essentially all continuous functions of more than one argument can be expressed as compositions of single-argument functions and addition. Indeed, it is a straightforward exercise to express most BRDF models as compositions of addition with single-argument elementary functions such as sin, exp, etc., although doing so confers no particular advantage. In contrast, what we pursue is a representation of isotropic BRDFs having the form ρ(u,v) = f (ζ (u,v),ζ (u,v)) (6) where ζ and ζ are relatively simple real-valued functions. It is in this sense that we claim certain isotropic BRDFs are intrinsically functions of two variables rather than three. When such a representation is possible, it generally leads to a simpler expression for the BRDF, and also reveals something of its limitations. For example, we will show that any two-variable representation necessarily incurs some approximation error. The idea of choosing a more suitable parameterization for a BRDF has been investigated previously by Marschner [8], Rusinkiewicz [0], and subsequently utilized by Ramamoorthi and Hanrahan []. In these previous works the goal was to assist approximation by selecting a parameterization that produced the smallest variation of the BRDF. Kautz and McCool [] took a different approach, approximating BRDFs with a sum of strictly twovariable BRDF lobes. Our work differs from these in two fundamental aspects. First, our goal is in part to exactly represent the BRDF where possible, using fewer variables. Second, our interest is in how well we can approximate a general isotropic BRDF with only two variables (as verified empirically and visually). In particular, we wish to preserve the Fresnel behavior of increasing specularity near grazing reflection. We use the term variable in the context of a BRDF function to refer to a quantity that is a function of the direction vectors u and v, as in ζ and ζ in (6). Most BRDF models depend on a number of other surface-dependent parameters, such as a Lambertian reflectance, a measure of surface roughness, etc. However, these are constant for any fixed BRDF function in the model, and are therefore not considered in our reduction methods. B. Outline We begin in Section II by examining the BRDF models of Phong and Lafortune, and through these introduce our TABLE I SUMMARY OF NOTATION AND VARIABLE NAMES n = unit surface normal u = incident (incoming) direction v = reflected (scattered, or outgoing) direction r = reflection of u through n: r = (u n)n u b = bisector vector: b = (u + v)/ h = normalized bisector, or halfway vector: h = b/ b θ u = angle between u and the surface normal: cosθ u = u n θ v = angle between v and the surface normal: cosθ v = v n θ h = halfway angle; angle between b or h and the surface normal: cosθ h = b n/ b = h n (= δ ) η uv = angle between u and v: cosη uv = u v (= ) η r = angle between v and the reflection of u, and vice versa: cosη r = (u n)(v n) u v (= ) = sin η uv = ( cos η uv) = sin η r = ( cos η r) δ = sin θ h ψ = γ δ γ = cosθ u cosθ v = = δ ψ ξ = (cosθ u + cos θ v ) /4 = ( δ)( ) = ξ = δ( ) first set of barycentric variables. Section III contains a similar treatment of the Blinn and Ward BRDF models and presents the second variable set. In Section IV we consider the implications of approximating a general BRDF using an arbitrary two-dimensional parameterization. In Section V we turn to practical approximation of measured BRDF data, and then introduce our third parameterization that overcomes some of the inadequacies of the first two. Finally, Section VI describes several applications of our two-dimensional parameterizations, including new BRDF models. II. PHONG AND LAFORTUNE BRDFS In 973 Bui-Toc Phong introduced a simple cosine falloff heuristic for adding highlights to computer generated images [3]. Although Phong did not phrase it as such, his model can be cast in the language of BRDFs. The corresponding Phong BRDF is written as ρ P (u,v) = c d π + c s(cosη r ) k (7) where c d and c s are surface-dependent constants, the diffuse and specular coefficients, respectively, and η r is the angle v makes with the reflection of u. (Negative values of cosη r are clamped to 0.) The exponent k is a surface-dependent constant that controls the sharpness of the specular peak. In vector notation, cosη r = v r, where r (u n)n u is the reflection vector of u through the surface normal, and therefore cosη r = (u n)(v n) u v. (8) The Phong model is thus expressed in vector notation, but in essence it still depends only on the single variable η r. Any BRDF that depends only on η r is said to be radially symmetric, or symmetric about the mirror reflection direction. Radially symmetric BRDFs such as Phong s model have some limitations: they are inherently isotropic, and can exhibit neither off-specular peaks nor Fresnel behavior because the polar angles are not considered.

3 3 y = cosη uv (,) grazing reflection cosθ u + cos θ v = 0 x = cosη r (, ) γ Fig.. The values of cosη uv and cosη r are restricted to a triangle, which is naturally parameterized in barycentric coordinates (,, γ). = 0, v = r, mirror reflection γ γ = 0, u or v tangent to the surface = ( φ = 90 ) diffuse reflection (mostly) γ tangent retro-reflection A. Lafortune s Model Let us now consider the BRDF model proposed by Lafortune et al. [4], which hinges on a small but important change to the Phong model. The Phong BRDF can be written succinctly in matrix form: ρ P (u,v) = c d π + c s [ u T Hv] k (9) where H I nn T is the Householder reflection matrix based on the surface normal n [5]. Lafortune observed that the model can be generalized by replacing the Householder matrix by a matrix that, in effect, allows for polar angles to be taken into account. In the isotropic case, Lafortune s BRDF has the matrix form ρ L (u,v) = c d π + c s [ u T Av] k (0) where A performs a scaling in the direction of the normal vector n. The matrix A can be expressed as Q T SQ, where Q transforms into the local coordinates of the BRDF, and S = diag(a,a,b). (Lafortune s model actually uses a sum of lobes having the form of the second term in (0).) To see the relation to Phong s model, note that the H matrix can be expressed as Q T diag(,,)q. Lafortune s model therefore possesses one additional variable that the Phong model does not: namely a/b. In terms of u and v, the Lafortune model becomes ρ L (u,v) = c d π + c s [(a b)(u n)(v n) au v] k, () which shows explicitly that the model can be expressed as a function of two variables ρ L (x,y) = c d π + c s [(a b)x ay] k () under the coordinate transformation x(u, v) = (u n)(v n) and y(u,v) = u v. B. Barycentric Coordinates The domain of the function ρ L (x,y) in () is the set of all pairs (x(u,v),y(u,v)) R for u and v on the hemisphere. It can be shown that this domain is the triangle bounded by x,y and 0 x+y (Figure ), which suggests the use of barycentric coordinates. We propose the following: (u,v) sin η uv = ( cosη uv) (3) (u,v) sin η r = ( cosη r) (4) γ(u,v) cosθ u cosθ v =. (5) = 0, u = v; retro-reflection normal reflection Fig.. Barycentric coordinates,, and γ and some geometric interpretations. For fixed u and v, each of,, and γ lies in the unit interval [0,]. Also, + + γ = so one of the coordinates is redundant any two are sufficient to parameterize Lafortune s isotropic BRDF model, as well as any radiallysymmetric BRDF. In terms of the barycentric coordinates, the Phong and Lafortune BRDFs are (omitting the explicit dependence on u and v) ρ P (,,γ) = c d π + c s( ) k (6) ρ L (,,γ) = c d π + c s [a( ) bγ] k, (7) respectively. We refer to the parameterization of (3) (5) as the parameterization. These variables are similar to a subset of a parameterization proposed by Marschner [8] (Appendix II). The mapping of (u,v) to (,,γ) is not injective: in general an infinite collection of (u,v) pairs will map to the same barycentric position. The parameterization is therefore not sufficient to parameterize a general isotropic BRDF. Nevertheless, the barycentric variables,, and γ contain some useful geometric information. For example, any (u,v) pair that maps to = 0 satisfies u = v, and by continuity near 0 implies u is near v. In other words, the region of the triangle where is nearly zero corresponds to backscattering. There are a number of such relationships: 0 near retro-reflection (u v) 0 near mirror reflection (v r) near grazing mirror reflection near tangent retro-reflection γ 0 one of u, v near tangent γ near normal reflection φ near ±90 Figure illustrates this graphically in the -plane. III. BLINN AND WARD BRDFS AND THE BISECTOR The Phong BRDF is purely heuristic in that there is no physical basis for the cosine falloff. Blinn [6] used

4 4 a different approach based on the observation that u and v are nearly mirror reflections if, and only if, the bisector vector b = (u + v) is nearly aligned to the surface normal n. Blinn s BRDF uses the angle b makes with n, which is called the halfangle θ h, to measure the distance to mirror reflection. Blinn s BRDF is thus ρ B (u,v) = c d π + c s cos p θ h (8) where p is the Blinn exponent, and cosθ h = b n b = h n = u + v (9) u + v n. The vector h = b/ b, which is the normalized bisector, is often referred to as the halfway vector. The behavior of Blinn s model is close to that of Phong s near normal incidence, but becomes significantly different toward grazing reflection. In particular, cosθ h becomes increasingly sensitive to deviation from the plane of incidence due to the bisector normalization. If θ u = θ v = θ is fixed, then cosθ h. (0) + 4 ( φ π) tan θ As θ 90, tanθ grows without bound and thus the specular peak becomes increasingly narrow in the azimuthal direction, approaching a singularity at θ 90. This gives a bisector lobe a distinct shape, analogous to the radial symmetry of a Phong lobe. The halfangle θ h appears in a number of BRDF models. For example Ward s model [6] has the isotropic form ρ W = c d π + c s 4πa exp cosθ u cosθ v ( tan ) θ h a () where a is a (constant) measure of surface roughness. Note that () is a function of only two values: cosθ u cosθ v and θ h. It is a simple exercise to show that these two values are fundamentally different from the Lafortune variables. The value of cosη uv, for example, is not determined by a given (ψ,δ), just as θ h is not by (,). Ward s BRDF suggests an alternate bivariate parameterization. In fact, the variables can be chosen so that their domain is the same unit triangle as that of the parameterization, and thus can be expressed in an analogous set of barycentric coordinates. We use ψ(u,v) γ δ = cos θ h cosθ u cosθ v () δ(u,v) sin θ h = cos θ h (3) γ(u,v) cosθ u cosθ v (4) and refer to this as the ψδ parameterization. As functions of u and v, the (ψ,δ,γ) variables have physical interpretations similar to those of (,,γ) shown in Figure. The two parameterizations even share the same complementary barycentric coordinate γ. It can be shown (see Appendix I) that (ψ, δ, γ) are indeed barycentric coordinates. As with the parameterization, the ψδ parameterization is not sufficient to represent an arbitrary isotropic BRDF, although it does parameterize Blinn s model and Ward s isotropic model exactly. However, any three of,, ψ and δ provide a complete (unique) isotropic BRDF parameterization (Appendix I). In the ψδ parameterization the Blinn and Ward BRDF models are ρ B = c d π + s( δ)p/ (5) ρ W = c d π + c ( ) s δ 4πa γ exp (6) δa respectively. Note that Ward s BRDF becomes somewhat simpler, as it is expressed without the tangent function. IV. APPLICATION TO GENERAL BRDFS Having seen that the well-established Lafortune and Ward analytical BRDF models are inherently bivariate functions, but of different variables, we now consider the implications. Two questions immediately arise. First, what is lost when a two-variable model is used to approximate a general BRDF model or measured data? Second, are other two-variable coordinate systems better suited to BRDF approximation than the and ψδ systems? A. The Projection Concept As noted, the mappings (u,v) (,) and (u,v) (ψ,δ) are not injective: each fixed (,) or (ψ,δ) generally has an infinite collection of (u,v) vector pairs that map to it. Each mapping thus partitions Ω Ω into a collection of different equivalence classes: two vector pairs (u,v ) and (u,v ) belong to the same class if, and only if, they map to the same (,) or (ψ,δ) value. The equivalence classes are fixed for a given coordinate set, but different coordinate sets may have very different equivalence classes. A Phong or Lafortune BRDF is necessarily constant on each equivalence class, as is a Blinn or Ward BRDF on each ψδ class, but a general BRDF function need not be constant on either. However, any two-variable coordinate set can be used to approximate a general isotropic BRDF, by treating the BRDF as constant on each equivalence class. We refer to such an approximation as a projection of a BRDF onto the coordinate set. The idea is not new; in fact, the isotropic assumption is just such a projection. A real surface is not likely to have an entirely isotropic BRDF. However if it has little variation under rotation it can be approximated with an isotropic BRDF, by assuming it is constant on all vector pairs that can be rotated or reflected to each other about the surface normal, i.e., over each isotropic equivalence class. Isotropy can thus be interpreted as a projection of a general four-variate BRDF onto a three-variable coordinate set. In fact, spatial invariance of a BRDF can even be viewed as the projection of a sixvariable function onto four coordinates. Projection onto a two-variable set such as or ψδ is merely a further application of this concept. The constant value of the BRDF for each equivalence class could conceivably be chosen in a variety of ways. We generally use an averaging approximation described in Section V. Whatever the selection method however, the

5 5 φ = 90 φ ψ φ = 80 (θ u, φ) (θ v,0) max deviation (θ u, φ) φ = 90 θ min θ max θ = 45 θ = 90 δ Fig. 3. A visualization of (left) and ψδ (right) equivalence classes. For each fixed (,) or (ψ,δ), the equivalence class consists of an infinite collection of vector pairs, represented here as pairs of point on a flat projection of the hemisphere. Paired points have the same color. The points are plotted at uniform values of θ v [θ min,θ max ]. The plots are arranged over the triangle centered at the point for which the equivalence class is illustrated. The expanded plot, for which = 0.9 and = 0.05, is more labeled. The dashed circles in the ψδ plots show the value of θ h for the class. success of the approximation depends on how much the BRDF varies over each equivalence class. B. A Lower Bound on the Projection Error The diameter of the set of values in each equivalence class is a fundamental quantification of BRDF variation over the classes. For a given equivalence class E Ω Ω, the diameter is formally defined as diam E (ρ) sup ((u,v),(u,v )) E ρ(u,v) ρ(u,v ) (7) = sup(ρ) inf(ρ). E E (8) The constant value chosen to represent the BRDF on the equivalence class is at best midway between sup(ρ) and inf(ρ). Therefore, if ρ represents a projected BRDF, ρ ρ sup diam E (ρ ρ ) (9) all E where f denotes the L norm of f (the essential supremum). Note that (9) is a lower bound on the error incurred in projecting a BRDF, and as such it provides a theoretical limit on the approximation ability of a particular twovariable representation. For example, it implies that even an infinite sum of Lafortune lobes as in (0) cannot converge to an arbitrary isotropic BRDF, because the equivalence classes remain the same for all the lobes. V. PRACTICAL PROJECTIONS OF GENERAL BRDFS In this section we apply the two-variable parameterizations to the practical problem of approximating measured BRDF data. Before doing so, however, we examine the and ψδ equivalence classes, because their structure that ultimately controls the how well the parameterizations can represent real data. Moreover, analyzing the weaknesses leads to a new two-dimensional parameterization. A. Structure of the Equivalence Classes The equivalence classes, being subsets of the fourdimensional space Ω Ω, are not easy to visualize directly. One visualization approach is to plot for a fixed (,) or (γ, δ), pairs of points on the hemisphere that represent pairs of vectors in the class. Figure 3 illustrates such plots for the and ψδ parameterizations. The plots are arranged in a panorama over the triangle to help illustrate how the classes change with the variables. A BRDF projection is necessarily constant on each of its equivalence classes, so the shapes of the classes provides a rough idea of what reflection phenomena the parameterization can and cannot capture. Of particular interest is the structure near grazing reflection, which is around the triangle s upper vertex. Notice that the classes narrow in θ in this region while the narrowing of the ψδ classes is in φ. This behavior has a very definite impact on the approximation ability of the parameterizations toward grazing.

6 6 ψ δ = sin η uv = b T ξ = b n u n b n h b v ξ η uv η uv Fig. 4. Lines of constant parameter value on a plane with near grazing reflection. At each point on the plane, the value of the variables are determined by the direction to the black dot and the direction to the eye. Lines of constant and (left) have almost identical shape that causes a round highlight. Similarly, ψ and δ lines (middle) produce a highly elongated highlight shape. Lines in the proposed parameterization (right) remain fundamentally different across the plane. B. Problems with the Parameterizations Some analytic limitations on the parameterizations can be developed. In the ψδ parameterization, γ = cosθ u cosθ v and δ = sin θ h both near zero imply near grazing reflection. However, γ does not depend on φ, and consequently a ψδprojected BRDF depends on φ only in δ. This means that a near-grazing azimuthal slice of a ψδ-projected BRDF will have essentially the same shape as that of a Blinn BRDF. The parameterization has a similar restriction. If θ u = θ v are fixed near grazing, it can be shown that to first order cos φ = +. (30) Similarly, if we fix φ = 80, then cosη r. (3) The specular falloff is therefore approximately the same in both the polar and azimuthal directions, and consequently an -projected BRDF retains a Phong-like shape even toward grazing reflection. Figure 4 illustrates the problems at grazing reflection more concretely, by displaying lines of constant parameter value. C. A New Parameterization In summary, both the and ψδ parameterizations have limited approximation ability near grazing reflection. Figure 4 suggests that choosing one variable from each of the and ψδ parameterizations would allow greater flexibility near grazing. Indeed, and δ produce a useful bivariate parameterization: = sin η uv measures the separation of u and v, while δ = sin θ h measures the deviation from mirror reflection. However, the bisector normalization instability is still present, and the parameterization is highly nonuniform, despite the fact that the domain is a square. Yet another drawback arises in measured BRDF data. For each θ u and θ v, measurements are typically taken at uniformly spaced φ values. In the and ψδ parameterizations these points conveniently lie on straight lines of constant γ = cosθ u cosθ v, but they lie along curves in an δ parameterization. To overcome these difficulties, we propose a barycentric variant of an δ parameterization comprised of and the Fig. 5. Geometric interpretations of the parameterization: and ξ are the squares of the components of the bisector vector b in the bn-plane, is the square of the distance from b to u or v. unnormalized bisector vector. Let (u,v) sin η uv (3) (u,v) ξ (33) ( ) cosθu + cosθ v ξ (u,v). (34) Here = sin η uv as usual; the variable ξ = (b n) is related to, but not equivalent to cos θ h, because the bisector vector b need not be a unit vector. Moreover, ξ depends only on θ u and θ v so that variation in φ occurs along straight lines of constant ξ, a property useful for measured BRDF interpolation. The variables and ξ have a geometric interpretation: as ξ is the square of the length of the bisector projected onto the surface normal, it can be shown that is that of the bisector projected onto the surface tangent plane (Figure 5). More precisely, if b n = (b n)n, and b T = b b n, then b T = u b = v b (35) = b T (36) ξ = b n. (37) That is, and ξ are the squares of the components of b (unnormalized) in the bn-plane, while gives some measure of how far u and v extend out of this plane. This interpretation is useful, because the bisector vector b provides much information about the reflection geometry. For example, u and v are mirror reflections if, and only if, b lies along the normal (i.e., = 0). Similarly, b n = ξ = implies normal reflectance, and grazing reflection occurs only when both and ξ are nearly zero ( = ). Thus (,,ξ ) have the same approximate geometric interpretations as (,, γ) and (ψ,δ,γ) illustrated in Figure. The new parameterization is, however, fundamentally different from the and ψδ parameterizations. In particular, the reflection angle η r cannot be determined from,, and ξ, although the halfangle θ h can be computed from, and ξ from cos θ h = ξ. (38) The parameterization can thus capture, but does not impose, the bisector normalization.

7 7 Krylon Blue Data 0 diam E 0 diam E 0 diam E ψ δ Garnet Red Data 0 diam E 0 diam E 0 diam E ψ δ Fig. 6. Equivalence class panorama for the parameterization. Figure 6 illustrates the equivalence classes of the parameterization. Note that the equivalence class branches are sometimes disconnected, in such a way that allows an -projected BRDF to better distinguish on and off specular behavior. As we shall see, the improved flexibility near grazing of the parameterization significantly enhances its approximation ability. Fig. 7. Plots of diam E of the measured data. The z-axis is linear, and the values are from the Y component. (The surfaces have been smoothed somewhat for clarity.) For projection, we use the sampled mean value functional ρ (x,y) = N N k= ρ(θ k,0,θ u (θ k,x,y), φ(θ k,x,y)) (39) with θ k uniformly spaced in [θ min,θ max ]. The values of ρ in the summation are interpolated as described above. Formulas for θ min, θ max, and θ u (θ k,x,y), φ(θ k,x,y) are given in Appendix I. Figure 7 illustrates diam E (ρ), plotted as a height field over the triangle. The parameterization clearly provides the best approximation for this data. D. Approximating Measured Data To test their approximation efficacy, we used our parameterizations to approximate isotropic measured BRDF data provided by Cornell University [7]. The measured data for each surface consists of spectral BRDF measurements taken at sample points in θ u, θ v, and φ, which we interpolate to obtain BRDF function values. We use the CIE XY Z tristimulus form of the data for simplicity, although the approach immediately generalizes to purely spectral data. Our interpolation method is trilinear in θ u, θ v, and φ with some extra derivative continuity adjustments in critical places. We interpolate /X, /Y, and /Z rather than X, Y, and Z directly because doing so reduces the interpolation error in undersampled regions. The measured data extend only to θ = 80 ; we extrapolate values beyond this by smoothly interpolating to a zero value at 90. The interpolation method is imperfect and causes obvious artifacts in some of the renderings. Smoothing the artifacts might improve the aesthetic appearance of the images, but it also introduces an extra approximation step which can only complicate our evaluation of the parameterizations ability to represent the data. Our working assumption is that a good approximation should be able to capture all BRDF behavior, including any artifacts it may have. In Section VI we consider the problem of fitting measured data in a twovariable coordinate system directly. E. Rendered Images In computer graphics, the effectiveness of a BRDF approximation ultimately lies in its visual appearance. Figures 8 0 contain ray-traced images rendered using our three bivariate approximations, with global illumination computed by path tracing. The projection images are rendered with the approximate BRDF of each parameterization, projected using the mean value functional of (39) with N = 6. The measured images are reference images rendered directly from the interpolated measured data. Our first test scene (Figure 8) consists of a single sphere on a textured Lambertian surface, after a figure of Ashikhmin and Shirley [7]. Of all our scenes, this is the most forgiving of poor BRDF approximation. In fact, the images are nearly identical. This is explained by the large light source and limited grazing reflection, although Fresnel behavior is evident around the edges of the sphere. The second scene (Figure 9) is a more demanding test of grazing reflection. Note the parameterization fails to capture the apparent elongation of the highlight, as explained above. Note that only the -projected approximation captures any of the glare-like artifacts. The reflections of the rightmost two sources rely on extrapolated values. Our final test scene (Figure 0) consists of a row of spheres illuminated by a single point source. This arrangement demonstrates reflection in off-specular directions. For example, the central highlights on the illuminated limbs of

8 8 measured projection ψδ projection projection Fig. 8. A test scene rendered using measured BRDF data and its projection onto our barycentric coordinate sets. The sphere surface substrate is the Krylon Blue (top) and Garnet Red (bottom). The scene is illuminated by a large spherical source. Some differences in the images can be discerned in the reflection of the white circle and near the edges of the sphere. The differences however, are quite subtle. measured projection ψδ projection projection Fig. 9. A test scene illustrating grazing point source reflection off of a halfplane of the Krylon Blue and Garnet Red substrates. Note how the parameterization fails to capture the elongation of the highlight. The ray-like effects emanating from the highlights might pass for glare, but they are actually caused by derivative discontinuities in linear interpolation. The extended highlight on the Garnet Red surface is artificially narrow also due to an interpolation problem. Note that the parameterization is able to capture some of the ray-like artifacts. spheres illustrate the behavior at near-tangent incidence and near-normal exitance, and vice versa. The parameterization cannot distinguish between this u/v configuration and others away from the highlight along the bright limb of the sphere. Consequently, the highlight is spread out in that direction. The ψδ parameterization has a similar problem, but manifested in the reflection remaining too bright toward the edges. Note that the greatest approximation inaccuracies of both the and ψδ parameterizations correspond to the region in the domain near the middle of the hypotenuse of the triangle. VI. APPLICATIONS The advantages of an exact BRDF parameter reduction, i.e., one free of approximation error, have already been noted. In this section we discuss applications of the approximate reductions developed in this paper. A. Visualization of Measured BRDF Data General BRDF functions are difficult to visualize. However, a two-variable function is readily displayed as a surface height field. Similarly, measured data can be displayed by mapping the u and v directions of each data point to

9 9 measured measured projection projection ψδ projection ψδ projection projection projection Fig. 0. Renderings of a row of spheres lit by a point source. Note how the projections spread out the specular highlight over the limbs, and the ψδ projections push brightness too close to the edges. The projection however remains faithful to the measured data. the bivariate parameterization and plotting the value as a point above the plane. Figure illustrates this for the Krylon Blue and Garnet Red paint data under the parameterization; Figure shows near-grazing closeups of the Krylon Blue data under all three parameterizations. These sample plots provide a direct illustration of the effect of the projection on the data: if the points lie on a twodimensional surface, the parameterization provides an exact representation; the approximation weakens as the samples diverge into a point cloud. B. Fitting Measured Data Practical interpolation of measured BRDF data is difficult as the artifacts in our rendered images attest. Multilinear interpolation generally introduce derivative discontinuities; higher-order interpolation can cause undulations that result in extraneous highlights; smoothing methods, such as B- spline fitting, can improperly alter the shape of the BRDF lobes. All of these are exacerbated by the extreme variation in the measured values, which spans several orders of magnitude even for a moderately specular surface. To make matters worse, the data points can be highly scattered and undersampled in critical regions due to physical limitations X Y Z Krylon Blue Data Garnet Red Data Fig.. Plots of the Krylon Blue and Garnet Red BRDF data samples. The angular positions of each sample is mapped to coordinates where each CIE XYZ component is plotted as a (logarithmic) height. Note the rapid increase of the data points toward grazing reflection ( = ). on the measurement apparatus. When the data can be reduced in dimensionality, the interpolation problem becomes much simpler. Isotropic gonioreflectometer data is typically given as a function of θ v, θ u, and φ. Interpolating directly in these variables is easiest with respect to the data, but has numerous boundary constraints. An additional advantage to fitting BRDF data in our barycentric parameterizations is that most of the boundary constraints are enforced automatically by

10 0 Y parameterization Y δ ψ ψδ parameterization Y parameterization Fig.. Closeups of the Krylon Blue samples in the region near grazing reflection under each parameterization. In these plots the height is the inverse of the CIE Y (luminance) component. Under the projection the sample points form a recognizable surface near = 0, under the ψδ projection the surface is distinct but more complicated, but under the projection the plotted points vary significantly near =. the projection. For example, because corresponds to the cosine of η r the specular lobe will have a zero derivative in η uv at η uv = 0, unless the surface has a singularity or a vertical tangent in at 0. Similar conditions hold for other variables; all are result of the fact that the variables are smoothly-varying functions of the direction cosines of u and v rather than their spherical coordinates. C. Empirical BRDF Models We leave the problem of fitting general measured BRDF data for future work. As a proof of concept, we present some two-variable BRDF models based on the shape of measured data in the parameterization. We emphasize that these models are purely empirical: they are constructed by approximating the shape of existing measured data without regard to any analytical model or physical interpretation beyond the basic thermodynamic constraints. The two-dimensional BRDF projections all have the same basic characteristics: the surfaces are flattest near the middle of the triangle, drop off toward the hypotenuse, and have a sharp specular upslope near = 0 that increases toward grazing reflection (as or ψ approaches ). It is our goal to create a model with minimal relative error, particularly near grazing reflection. Accordingly, we fit to /ρ, which approaches zero near = 0, rather than to ρ directly. Moreover, we use the parameterization because all the measured data becomes approximately linear near = 0 under this parameterization. That is, ρ (,) = + f (,) (40) m() + c() where f is a bounded function that remains small as 0. The and ψδ parameterizations do not exhibit the property of (40) for the Cornell BRDF measurements. D. A Phong-Like Model We propose first a simple model in the spirit of Phong s BRDF, suggested by (40): ρ (,) = D λ + SC C +, (4) where D is akin to a Lambertian component. The second term is similar to the Phong specular component: S is a specular coefficient and the term is maximal at = 0, the TABLE II IMPROVED MODEL PARAMETER VALUES Krylon Blue Garnet Red X Y Z X Y Z D D S S S S C C C C point of mirror reflection. The value of C is analogous to the Phong exponent in that it controls the specular falloff. However, the falloff in this model is fundamentally different from Phong s cosine falloff, particularly toward grazing reflection. This model is similar to the approach Schlick used to approximate the Phong cosine falloff with rational functions [8]. The simple BRDF model of (4) works well away from grazing angles (as do most BRDF models). To match the Krylon Blue data we use D = [0.006,0.0057,0.03], S = 0.05 and C = 0.0; for the Garnet Red, D = [0.005,0.00, ], S = 0.045, and C = 0.5. The Z component value of D is negative for the Garnet Red, because unlike the other components, its surface curves away from the plane and this behavior can only be matched with a negative D value. In this sense D is not exactly a Lambertian term. E. An Improved Model The simple model of (4) has some obvious limitations. Most notably, there is not enough specular sharpening near grazing. We propose an improved BRDF model of the following form: ρ (,) = D λ + S λ () +C λ (), (4) where S, and C are smooth, slowly changing functions of. Unlike the simple model, the C and S are spectrally dependent. We found that interpolating between S and C values fit near = 0, and near = produces acceptable results. If these fit values are S 0,λ, C 0,λ and S,λ, C,λ respectively, our S and C functions are S λ () = ( t 3 ())S 0,λ +t 3 ()S,λ (43) C λ () = ( t ())C 0,λ +t ()C,λ (44) where t and t 3 are the blending polynomials t () = ( ), and t 3 = (3 ), employed to provide better shape approximation. Figure 3 illustrates the fitting properties of the two BRDF models as surface plots on the parameterization. Figures 4 and 5 contain the test images rendered using the simple and the improved model along with reference images. Table II lists the parameter values we used to fit the improved model to the Krylon Blue and Garnet Red data. VII. CONCLUSION In this paper we have introduced a collection of variables, each a function of the incident and outgoing direction vec-

11 /ρ ρ ρ Fig. 3. Surface plots of the simple BRDF model ρ, and the improved model ρ with the Krylon Blue data points. measured simple model improved model measured measured measured simple model improved model Fig. 4. Test scene rendered using measured data, the simple model ρ model, and the improved model ρ. simple model simple model tors u and v, that when taken in pairs are useful in approximately parameterizing isotropic BRDFs. This approach allows us to conveniently express several isotropic BRDF models in terms of two-variables rather than three, and leads to a viable new method of approximately representing measured BRDF data. At the same time, the reduction in the number of variables places theoretical bounds on the attainable accuracy of the approximation. Moreover, we have shown that projecting measured BRDF data onto our proposed two-variable domain, which is based on the coordinates of the unnormalized bisector vector, results in little loss of the information contained in the original datasets. Finally we have demonstrated that a relatively simple two-variable BRDF model can capture nearly all the reflection effects exhibited by a collection of measured data. Avenues we wish to explore further include BRDF visualization based on twodimensional projections, better fitting methods in the twodimensional domains, and the construction of new physically plausible BRDFs. ACKNOWLEDGMENTS The measured BRDF data used in this work was provided courtesy of Cornell University. The authors wish to thank Michael Ashikhmin, Steve Marschner, Peter Shirley, Ken Torrance, and Steve Westin for their insights, encouragement, and many useful suggestions. This work was funded in part by an NSF CARGO grant (DMS ). improved model improved model Fig. 5. Test scene rendered using measured data, the simple model ρ model, and the improved model ρ. APPENDIX I ADDITIONAL FORMULAS ) Parameterization: Suppose and are fixed, and θ v is known. Then cosθ u = γ, cos φ =. cosθ v sinθ u sinθ v (A.) For a fixed and, θ v (and θ u ) lies in the interval [θ min,θ max ], where θ min = η uv η r, θ max = η uv + η r. (A.) θ v can take on any value in this interval, and thus parameterizes the equivalence class of (,) using the above expressions for θ u and φ. ) ψδ Parameterization: Given u and v, the value of δ = sin θ h can be computed from its definition in (9), or from cosθ h = cosθ u + cosθ v cos η uv = cosθ u + cosθ v. (A.3)

12 The expression ψ = cos φ ( cos D) + sin φ ( cos S) cos φ ( + cosd) + sin φ (A.4) ( + coss) where D = θ u θ v and S = θ u + θ v, implies the barycentric relationship of ψ, δ, and γ, as 0 ψ and may take on any value therein. For the inverse parameterization, suppose γ and δ are fixed, as is θ v. Then γ = ψ δ, and γ cosθ u = (A.5) cosθ v cos φ = (cosθ u + cosθ v ) ( + γ)( δ). (A.6) ( δ)sinθ u sinθ v θ u and θ u lie in [θ min,θ max ], where θ min = θ h arccos( ψ) (A.7) θ max = θ h + arccos( ψ). (A.8) 3) Parameterization: Given,, and θ v, ξ = and cosθ u = ξ cosθ v (A.9) cos φ = cosθ u cosθ v sinθ u sinθ v. (A.0) The equivalence classes are parameterized by θ in { θ θ min = h η uv if θ h + η uv π, arccos( ξ ) otherwise; (A.) θ max = min(θ h + η uv, π ) (A.) where cosθ h = ξ /( ), and cosη uv = as usual. 4) Other Relationships: Any three nonredundant variables of the three coordinate sets we have presented can parameterize any isotropic BRDF. The angles of u and v can be recovered from cosθ u v = ξ ± ξ γ (A.3) cos φ = 4 ( + γ) ξ with the collective equation ( )( δ) + + γ = ξ. APPENDIX II (A.4) RELATIONSHIP TO EXISTING PARAMETERIZATIONS Rusinkiewicz [0] proposed the use of four spherical coordinates (θ h,φ h,θ d,φ d ) for parameterizing BRDF functions. (θ h,φ h ) are the spherical coordinates of the (normalized) halfway vector h, (θ d,φ d ) are the spherical coordinates of u after is rotated about the z-axis by φ h then about the y-axis by θ h (this transformation brings h to the surface normal). In our notation, = sin θ d and δ = sin θ h, but there is no direct correspondence with and ξ, because Rusinkiewicz s parameters depend on the normalized halfway vector h rather than the unnormalized bisector vector b. Marschner [8] proposed the mapping (u, v) (x, y, z) = (sinθ u sinθ v cos φ,sinθ u sinθ v sin φ,cosθ u cosθ v ) to facilitate BRDF resampling. The parameterization is related to this mapping as = x z and γ = z, hence the equivalence classes correspond to line segments parallel to the y-axis under Marschner s mapping. REFERENCES [] F. E. Nicodemus, J. C. Richmond, J. J. Hisa, I. W. Ginsberg, and T. Limperis, Geometrical Considerations and Nomenclature for Reflectance, ser. Monograph number 60. Washington DC: National Bureau of Standards, 977. [] J. T. Kajiya, Radiometry and photometry for computer graphics, in Advanced Topics in Ray Tracing, SIGGRAPH 90 Course Notes, vol. 4, Aug [3] K. E. Torrance and E. M. Sparrow, Theory for off-specular reflection from roughened surfaces, Journal of the Optical Society of America, vol. 57, no. 9, pp. 05 4, Sept [4] R. L. Cook and K. E. Torrance, A reflectance model for computer graphics, ACM Transactions on Graphics, vol., no., pp. 7 4, Jan. 98. [5] C. Schlick, An inexpensive BRDF model for physically-based rendering, Computer Graphics Forum, vol. 3, no. 3, pp , 994. [6] G. J. Ward, Measuring and modeling anisotropic reflection, Computer Graphics, vol. 6, no., pp. 65 7, July 99. [7] M. Ashikhmin and P. Shirley, An anisotropic Phong BRDF model, J. Graphics Tools, vol. 5, no., pp. 5 3, 000. [8] S. Marschner, Inverse rendering for computer graphics, Ph.D. dissertation, Cornell University, Ithaca, NY, 998. [9] G. G. Lorentz, Approximation of Functions. New York: Chelsea Publishing Company, 986. [0] S. Rusinkiewicz, A new change of variables for efficient BRDF representation, in Proceedings of the Ninth Eurographics Workshop on Rendering, Vienna, Austria, June 998. [] R. Ramamoorthi and P. Hanrahan, Frequency space environment map rendering, ACM Transactions on Graphics, vol., no. 3, pp , 00. [] J. Kautz and M. D. McCool, Approximation of glossy reflection with prefiltered environment maps, in Graphics Interface, 000, pp [3] B. T. Phong, Illumination for computer generated images, Ph.D. dissertation, University of Utah, Salt Lake City, UT, 973. [4] E. P. F. Lafortune, S.-C. Foo, K. E. Torrance, and D. P. Greenberg, Non-linear approximation of reflectance functions, in Computer Graphics Proceedings, ser. Annual Conference Series, ACM SIG- GRAPH, Aug. 997, pp [5] J. Arvo, Analytic methods for simulated light transport, Ph.D. dissertation, Yale University, 995. [6] J. F. Blinn, Models of light reflection for computer synthesized pictures, in Computer Graphics (SIGGRAPH 77 Proceedings), J. George, Ed., vol., no., July 977, pp [7] S. H. Westin, Measurement data, cornell university program of computer graphics. [Online]. Available: [8] C. Schlick, A fast alternative to phong s specular model, in Graphics Gems IV, 994, pp [9] J. Arvo, K. Torrance, and B. Smits, A framework for the analysis of error in global illumination algorithms, in Computer Graphics Proceedings, ser. Annual Conference Series, ACM SIGGAPH, July 994, pp [0] J. Kautz and M. D. McCool, Interactive rendering with arbitrary BRDFs using separable approximations, in Rendering Techniques 99. Springer, 999. [] R. R. Lewis, Making shaders more physically plausible, Computer Graphics Forum, vol. 3, no., pp. 09 0, Jan. 994.

Reflection models and radiometry Advanced Graphics

Reflection models and radiometry Advanced Graphics Reflection models and radiometry Advanced Graphics Rafał Mantiuk Computer Laboratory, University of Cambridge Applications To render realistic looking materials Applications also in computer vision, optical

More information

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface. Lighting and Photometric Stereo CSE252A Lecture 7 Announcement Read Chapter 2 of Forsyth & Ponce Might find section 12.1.3 of Forsyth & Ponce useful. HW Problem Emitted radiance in direction f r for incident

More information

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012) Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry http://inst.eecs.berkeley.edu/~cs184 Overview Lighting and shading key in computer graphics HW 2 etc. ad-hoc shading models,

More information

Experimental Validation of Analytical BRDF Models

Experimental Validation of Analytical BRDF Models Experimental Validation of Analytical BRDF Models Addy Ngan, Frédo Durand, Wojciech Matusik Massachusetts Institute of Technology Goal Evaluate and analyze the performance of analytical reflectance models

More information

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008) Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2 http://www.cs.columbia.edu/~cs4160 Radiance Power per unit projected area perpendicular to the ray per unit solid angle in

More information

And if that 120MP Camera was cool

And if that 120MP Camera was cool Reflectance, Lights and on to photometric stereo CSE 252A Lecture 7 And if that 120MP Camera was cool Large Synoptic Survey Telescope 3.2Gigapixel camera 189 CCD s, each with 16 megapixels Pixels are 10µm

More information

Lecture 4: Reflection Models

Lecture 4: Reflection Models Lecture 4: Reflection Models CS 660, Spring 009 Kavita Bala Computer Science Cornell University Outline Light sources Light source characteristics Types of sources Light reflection Physics-based models

More information

Shading & Material Appearance

Shading & Material Appearance Shading & Material Appearance ACM. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/. MIT EECS 6.837 Matusik

More information

CS 5625 Lec 2: Shading Models

CS 5625 Lec 2: Shading Models CS 5625 Lec 2: Shading Models Kavita Bala Spring 2013 Shading Models Chapter 7 Next few weeks Textures Graphics Pipeline Light Emission To compute images What are the light sources? Light Propagation Fog/Clear?

More information

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker CMSC427 Shading Intro Credit: slides from Dr. Zwicker 2 Today Shading Introduction Radiometry & BRDFs Local shading models Light sources Shading strategies Shading Compute interaction of light with surfaces

More information

Image-based BRDF Representation

Image-based BRDF Representation JAMSI, 11 (2015), No. 2 47 Image-based BRDF Representation A. MIHÁLIK AND R. ĎURIKOVIČ Abstract: To acquire a certain level of photorealism in computer graphics, it is necessary to analyze, how the materials

More information

The Halfway Vector Disk for BRDF Modeling

The Halfway Vector Disk for BRDF Modeling The Halfway Vector Disk for BRDF Modeling DAVE EDWARDS, SOLOMON BOULOS, JARED JOHNSON and PETER SHIRLEY University of Utah MICHAEL ASHIKHMIN State University of New York, Stony Brook MICHAEL STARK University

More information

Family of Energy Conserving Glossy Reflection Models

Family of Energy Conserving Glossy Reflection Models Family of Energy Conserving Glossy Reflection Models Michal Radziszewski and Witold Alda AGH University of Science and Technology, al. Mickiewicza 3, 3-59 Krakow, Poland mradzisz@student.agh.edu.pl, alda@agh.edu.pl

More information

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Matthias Zwicker Universität Bern Herbst 2009 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation of physics Global

More information

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture #7: Color and Shading Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #3 due this Friday,

More information

Radiometry and reflectance

Radiometry and reflectance Radiometry and reflectance http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 16 Course announcements Homework 4 is still ongoing - Any questions?

More information

Chapter 1 Introduction

Chapter 1 Introduction Chapter 1 Introduction The central problem in computer graphics is creating, or rendering, realistic computergenerated images that are indistinguishable from real photographs, a goal referred to as photorealism.

More information

Illumination & Shading: Part 1

Illumination & Shading: Part 1 Illumination & Shading: Part 1 Light Sources Empirical Illumination Shading Local vs Global Illumination Lecture 10 Comp 236 Spring 2005 Computer Graphics Jargon: Illumination Models Illumination - the

More information

Understanding Variability

Understanding Variability Understanding Variability Why so different? Light and Optics Pinhole camera model Perspective projection Thin lens model Fundamental equation Distortion: spherical & chromatic aberration, radial distortion

More information

Chapter 7. Conclusions and Future Work

Chapter 7. Conclusions and Future Work Chapter 7 Conclusions and Future Work In this dissertation, we have presented a new way of analyzing a basic building block in computer graphics rendering algorithms the computational interaction between

More information

Improved Radiance Gradient Computation

Improved Radiance Gradient Computation Improved Radiance Gradient Computation Jaroslav Křivánek Pascal Gautron Kadi Bouatouch Sumanta Pattanaik Czech Technical University New gradients Gradients by [Křivánek et al. 2005] Figure 1: Right: The

More information

Fundamentals of Rendering - Reflectance Functions

Fundamentals of Rendering - Reflectance Functions Fundamentals of Rendering - Reflectance Functions Image Synthesis Torsten Möller Mike Phillips Reading Chapter 8 of Physically Based Rendering by Pharr&Humphreys Chapter 16 in Foley, van Dam et al. Chapter

More information

Shading. Brian Curless CSE 557 Autumn 2017

Shading. Brian Curless CSE 557 Autumn 2017 Shading Brian Curless CSE 557 Autumn 2017 1 Reading Optional: Angel and Shreiner: chapter 5. Marschner and Shirley: chapter 10, chapter 17. Further reading: OpenGL red book, chapter 5. 2 Basic 3D graphics

More information

Lights, Surfaces, and Cameras. Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons

Lights, Surfaces, and Cameras. Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons Reflectance 1 Lights, Surfaces, and Cameras Light sources emit photons Surfaces reflect & absorb photons Cameras measure photons 2 Light at Surfaces Many effects when light strikes a surface -- could be:

More information

Rendering Light Reflection Models

Rendering Light Reflection Models Rendering Light Reflection Models Visual Imaging in the Electronic Age Donald P. Greenberg October 3, 2017 Lecture #13 Program of Computer Graphics, Cornell University General Electric - 167 Cornell in

More information

x ~ Hemispheric Lighting

x ~ Hemispheric Lighting Irradiance and Incoming Radiance Imagine a sensor which is a small, flat plane centered at a point ~ x in space and oriented so that its normal points in the direction n. This sensor can compute the total

More information

Computer Graphics. Illumination and Shading

Computer Graphics. Illumination and Shading () Illumination and Shading Dr. Ayman Eldeib Lighting So given a 3-D triangle and a 3-D viewpoint, we can set the right pixels But what color should those pixels be? If we re attempting to create a realistic

More information

BRDF Computer Graphics (Spring 2008)

BRDF Computer Graphics (Spring 2008) BRDF Computer Graphics (Spring 2008) COMS 4160, Lecture 20: Illumination and Shading 2 http://www.cs.columbia.edu/~cs4160 Reflected Radiance proportional to Irradiance Constant proportionality: BRDF [CW

More information

Illumination and Shading - II

Illumination and Shading - II Illumination and Shading - II Computer Graphics COMP 770 (236) Spring 2007 Instructor: Brandon Lloyd 2/19/07 1 From last time Light Sources Empirical Illumination Shading Local vs Global Illumination 2/19/07

More information

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10 Reading Required: Shirley, Chapter 10 Shading Brian Curless CSE 557 Fall 2014 1 2 Basic 3D graphics With affine matrices, we can now transform virtual 3D objects in their local coordinate systems into

More information

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12

CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Tool 1: Standards for Mathematical ent: Interpreting Functions CCSSM Curriculum Analysis Project Tool 1 Interpreting Functions in Grades 9-12 Name of Reviewer School/District Date Name of Curriculum Materials:

More information

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ = Radiometry (From Intro to Optics, Pedrotti -4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Total energy radiating from the body over some time is Q total Radiant

More information

Complex Shading Algorithms

Complex Shading Algorithms Complex Shading Algorithms CPSC 414 Overview So far Rendering Pipeline including recent developments Today Shading algorithms based on the Rendering Pipeline Arbitrary reflection models (BRDFs) Bump mapping

More information

Photometric Stereo.

Photometric Stereo. Photometric Stereo Photometric Stereo v.s.. Structure from Shading [1] Photometric stereo is a technique in computer vision for estimating the surface normals of objects by observing that object under

More information

02 Shading and Frames. Steve Marschner CS5625 Spring 2016

02 Shading and Frames. Steve Marschner CS5625 Spring 2016 02 Shading and Frames Steve Marschner CS5625 Spring 2016 Light reflection physics Radiometry redux Power Intensity power per unit solid angle Irradiance power per unit area Radiance power per unit (solid

More information

Fundamentals of Rendering - Reflectance Functions

Fundamentals of Rendering - Reflectance Functions Fundamentals of Rendering - Reflectance Functions CMPT 461/761 Image Synthesis Torsten Möller Reading Chapter 8 of Physically Based Rendering by Pharr&Humphreys Chapter 16 in Foley, van Dam et al. Chapter

More information

13 Distribution Ray Tracing

13 Distribution Ray Tracing 13 In (hereafter abbreviated as DRT ), our goal is to render a scene as accurately as possible. Whereas Basic Ray Tracing computed a very crude approximation to radiance at a point, in DRT we will attempt

More information

Illumination in Computer Graphics

Illumination in Computer Graphics Illumination in Computer Graphics Ann McNamara Illumination in Computer Graphics Definition of light sources. Analysis of interaction between light and objects in a scene. Rendering images that are faithful

More information

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading CENG 477 Introduction to Computer Graphics Ray Tracing: Shading Last Week Until now we learned: How to create the primary rays from the given camera and image plane parameters How to intersect these rays

More information

Illumination and Shading

Illumination and Shading Illumination and Shading Computer Graphics COMP 770 (236) Spring 2007 Instructor: Brandon Lloyd 2/14/07 1 From last time Texture mapping overview notation wrapping Perspective-correct interpolation Texture

More information

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao

Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao Radiometry & BRDFs CS295, Spring 2017 Shuang Zhao Computer Science Department University of California, Irvine CS295, Spring 2017 Shuang Zhao 1 Today s Lecture Radiometry Physics of light BRDFs How materials

More information

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

CSE 167: Introduction to Computer Graphics Lecture #6: Colors. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013 CSE 167: Introduction to Computer Graphics Lecture #6: Colors Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013 Announcements Homework project #3 due this Friday, October 18

More information

Shading 1: basics Christian Miller CS Fall 2011

Shading 1: basics Christian Miller CS Fall 2011 Shading 1: basics Christian Miller CS 354 - Fall 2011 Picking colors Shading is finding the right color for a pixel This color depends on several factors: The material of the surface itself The color and

More information

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time Radiometry Reflectance & Lighting Computer Vision I CSE5A Lecture 6 Read Chapter 4 of Ponce & Forsyth Homework 1 Assigned Outline Solid Angle Irradiance Radiance BRDF Lambertian/Phong BRDF By analogy with

More information

Parallel Monte Carlo Sampling Scheme for Sphere and Hemisphere

Parallel Monte Carlo Sampling Scheme for Sphere and Hemisphere Parallel Monte Carlo Sampling Scheme for Sphere and Hemisphere I.T. Dimov 1,A.A.Penzov 2, and S.S. Stoilova 3 1 Institute for Parallel Processing, Bulgarian Academy of Sciences Acad. G. Bonchev Str., bl.

More information

Visual Appearance and Color. Gianpaolo Palma

Visual Appearance and Color. Gianpaolo Palma Visual Appearance and Color Gianpaolo Palma LIGHT MATERIAL Visual Appearance Color due to the interaction between the lighting environment (intensity, position, ) and the properties of the object surface

More information

Introduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading)

Introduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading) Lecture 9 Graphics pipeline (rasterization and shading) Graphics pipeline - part 1 (recap) Perspective projection by matrix multiplication: x pixel y pixel z canonical 1 x = M vpm per M cam y z 1 This

More information

Timothy Walsh. Reflection Models

Timothy Walsh. Reflection Models Timothy Walsh Reflection Models Outline Reflection Models Geometric Setting Fresnel Reflectance Specular Refletance & Transmission Microfacet Models Lafortune Model Fresnel Incidence Effects Diffuse Scatter

More information

Capturing light. Source: A. Efros

Capturing light. Source: A. Efros Capturing light Source: A. Efros Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How can we approximate orthographic projection? Lenses

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 20: Light, reflectance and photometric stereo Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Light by Ted Adelson Readings Szeliski, 2.2, 2.3.2 Properties

More information

Light Reflection Models

Light Reflection Models Light Reflection Models Visual Imaging in the Electronic Age Donald P. Greenberg October 21, 2014 Lecture #15 Goal of Realistic Imaging From Strobel, Photographic Materials and Processes Focal Press, 186.

More information

BRDFs. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

BRDFs. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017 BRDFs Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017 The Rendering Equation Radiance Radiance is a measure of the quantity of light radiation reflected (and/or emitted) from a surface within

More information

Philpot & Philipson: Remote Sensing Fundamentals Interactions 3.1 W.D. Philpot, Cornell University, Fall 12

Philpot & Philipson: Remote Sensing Fundamentals Interactions 3.1 W.D. Philpot, Cornell University, Fall 12 Philpot & Philipson: Remote Sensing Fundamentals Interactions 3.1 W.D. Philpot, Cornell University, Fall 1 3. EM INTERACTIONS WITH MATERIALS In order for an object to be sensed, the object must reflect,

More information

w Foley, Section16.1 Reading

w Foley, Section16.1 Reading Shading w Foley, Section16.1 Reading Introduction So far, we ve talked exclusively about geometry. w What is the shape of an object? w How do I place it in a virtual 3D space? w How do I know which pixels

More information

Analysis of Planar Light Fields from Homogeneous Convex Curved Surfaces Under Distant Illumination

Analysis of Planar Light Fields from Homogeneous Convex Curved Surfaces Under Distant Illumination Analysis of Planar Light Fields from Homogeneous Convex Curved Surfaces Under Distant Illumination Ravi Ramamoorthi and Pat Hanrahan {ravir,hanrahan}@graphics.stanford.edu http://graphics.stanford.edu/papers/planarlf/

More information

CS6670: Computer Vision

CS6670: Computer Vision CS6670: Computer Vision Noah Snavely Lecture 21: Light, reflectance and photometric stereo Announcements Final projects Midterm reports due November 24 (next Tuesday) by 11:59pm (upload to CMS) State the

More information

Recent Advances in Monte Carlo Offline Rendering

Recent Advances in Monte Carlo Offline Rendering CS294-13: Special Topics Lecture #6 Advanced Computer Graphics University of California, Berkeley Monday, 21 September 2009 Recent Advances in Monte Carlo Offline Rendering Lecture #6: Monday, 21 September

More information

Sung-Eui Yoon ( 윤성의 )

Sung-Eui Yoon ( 윤성의 ) CS380: Computer Graphics Illumination and Shading Sung-Eui Yoon ( 윤성의 ) Course URL: http://sglab.kaist.ac.kr/~sungeui/cg/ Course Objectives (Ch. 10) Know how to consider lights during rendering models

More information

Illumination. Illumination CMSC 435/634

Illumination. Illumination CMSC 435/634 Illumination CMSC 435/634 Illumination Interpolation Illumination Illumination Interpolation Illumination Illumination Effect of light on objects Mostly look just at intensity Apply to each color channel

More information

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering 20 Durgin ECE 3065 Notes Rough Surface Scattering Chapter 1 1.6 Rough Surface Scattering Applications 1.6.1 Computer Graphic Shading and Rendering At optical frequencies, nearly every object in our everyday

More information

Comp 410/510 Computer Graphics. Spring Shading

Comp 410/510 Computer Graphics. Spring Shading Comp 410/510 Computer Graphics Spring 2017 Shading Why we need shading Suppose we build a model of a sphere using many polygons and then color it using a fixed color. We get something like But we rather

More information

rendering equation computer graphics rendering equation 2009 fabio pellacini 1

rendering equation computer graphics rendering equation 2009 fabio pellacini 1 rendering equation computer graphics rendering equation 2009 fabio pellacini 1 physically-based rendering synthesis algorithms that compute images by simulation the physical behavior of light computer

More information

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome! INFOGR Computer Graphics J. Bikker - April-July 2016 - Lecture 10: Shading Models Welcome! Today s Agenda: Introduction Light Transport Materials Sensors Shading INFOGR Lecture 10 Shading Models 3 Introduction

More information

Shading. Why we need shading. Scattering. Shading. Objectives

Shading. Why we need shading. Scattering. Shading. Objectives Shading Why we need shading Objectives Learn to shade objects so their images appear three-dimensional Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something

More information

Surface Reflection Models

Surface Reflection Models Surface Reflection Models Frank Losasso (flosasso@nvidia.com) Introduction One of the fundamental topics in lighting is how the light interacts with the environment. The academic community has researched

More information

Graphics and Interaction Transformation geometry and homogeneous coordinates

Graphics and Interaction Transformation geometry and homogeneous coordinates 433-324 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017

Path Tracing part 2. Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017 Path Tracing part 2 Steve Rotenberg CSE168: Rendering Algorithms UCSD, Spring 2017 Monte Carlo Integration Monte Carlo Integration The rendering (& radiance) equation is an infinitely recursive integral

More information

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Why do we need Lighting

More information

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates Department of Computer Science and Software Engineering The Lecture outline Introduction Vectors and matrices Translation

More information

Global Illumination with Glossy Surfaces

Global Illumination with Glossy Surfaces Global Illumination with Glossy Surfaces Wolfgang Stürzlinger GUP, Johannes Kepler Universität, Altenbergerstr.69, A-4040 Linz, Austria/Europe wrzl@gup.uni-linz.ac.at Abstract Photorealistic rendering

More information

CS 4600 Fall Utah School of Computing

CS 4600 Fall Utah School of Computing Lighting CS 4600 Fall 2015 Utah School of Computing Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build a simple reflection

More information

Spectral Color and Radiometry

Spectral Color and Radiometry Spectral Color and Radiometry Louis Feng April 13, 2004 April 13, 2004 Realistic Image Synthesis (Spring 2004) 1 Topics Spectral Color Light and Color Spectrum Spectral Power Distribution Spectral Color

More information

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops. OpenGl Pipeline Individual Vertices Transformed Vertices Commands Processor Per-vertex ops Primitive assembly triangles, lines, points, images Primitives Fragments Rasterization Texturing Per-fragment

More information

Parameterization of triangular meshes

Parameterization of triangular meshes Parameterization of triangular meshes Michael S. Floater November 10, 2009 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to

More information

Efficient BRDF Importance Sampling Using A Factored Representation

Efficient BRDF Importance Sampling Using A Factored Representation Efficient BRDF Importance Sampling Using A Factored Representation Jason Lawrence Princeton University Szymon Rusinkiewicz Princeton University Ravi Ramamoorthi Columbia University Abstract High-quality

More information

Parameterization. Michael S. Floater. November 10, 2011

Parameterization. Michael S. Floater. November 10, 2011 Parameterization Michael S. Floater November 10, 2011 Triangular meshes are often used to represent surfaces, at least initially, one reason being that meshes are relatively easy to generate from point

More information

Motivation. Advanced Computer Graphics (Fall 2009) CS 283, Lecture 11: Monte Carlo Integration Ravi Ramamoorthi

Motivation. Advanced Computer Graphics (Fall 2009) CS 283, Lecture 11: Monte Carlo Integration Ravi Ramamoorthi Advanced Computer Graphics (Fall 2009) CS 283, Lecture 11: Monte Carlo Integration Ravi Ramamoorthi http://inst.eecs.berkeley.edu/~cs283 Acknowledgements and many slides courtesy: Thomas Funkhouser, Szymon

More information

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3 Image Formation: Light and Shading CSE 152 Lecture 3 Announcements Homework 1 is due Apr 11, 11:59 PM Homework 2 will be assigned on Apr 11 Reading: Chapter 2: Light and Shading Geometric image formation

More information

CPSC 314 LIGHTING AND SHADING

CPSC 314 LIGHTING AND SHADING CPSC 314 LIGHTING AND SHADING UGRAD.CS.UBC.CA/~CS314 slide credits: Mikhail Bessmeltsev et al 1 THE RENDERING PIPELINE Vertices and attributes Vertex Shader Modelview transform Per-vertex attributes Vertex

More information

Computer Graphics. Shading. Based on slides by Dianna Xu, Bryn Mawr College

Computer Graphics. Shading. Based on slides by Dianna Xu, Bryn Mawr College Computer Graphics Shading Based on slides by Dianna Xu, Bryn Mawr College Image Synthesis and Shading Perception of 3D Objects Displays almost always 2 dimensional. Depth cues needed to restore the third

More information

Rendering Light Reflection Models

Rendering Light Reflection Models Rendering Light Reflection Models Visual Imaging in the Electronic Age Donald P. Greenberg October 27, 2015 Lecture #18 Goal of Realistic Imaging The resulting images should be physically accurate and

More information

CSE 681 Illumination and Phong Shading

CSE 681 Illumination and Phong Shading CSE 681 Illumination and Phong Shading Physics tells us What is Light? We don t see objects, we see light reflected off of objects Light is a particle and a wave The frequency of light What is Color? Our

More information

Lighting and Reflectance COS 426

Lighting and Reflectance COS 426 ighting and Reflectance COS 426 Ray Casting R2mage *RayCast(R3Scene *scene, int width, int height) { R2mage *image = new R2mage(width, height); for (int i = 0; i < width; i++) { for (int j = 0; j < height;

More information

Illumination & Shading

Illumination & Shading Illumination & Shading Goals Introduce the types of light-material interactions Build a simple reflection model---the Phong model--- that can be used with real time graphics hardware Why we need Illumination

More information

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary Summary Ambien Occlusion Kadi Bouatouch IRISA Email: kadi@irisa.fr 1. Lighting 2. Definition 3. Computing the ambient occlusion 4. Ambient occlusion fields 5. Dynamic ambient occlusion 1 2 Lighting: Ambient

More information

Simple Lighting/Illumination Models

Simple Lighting/Illumination Models Simple Lighting/Illumination Models Scene rendered using direct lighting only Photograph Scene rendered using a physically-based global illumination model with manual tuning of colors (Frederic Drago and

More information

Spring 2012 Final. CS184 - Foundations of Computer Graphics. University of California at Berkeley

Spring 2012 Final. CS184 - Foundations of Computer Graphics. University of California at Berkeley Spring 2012 Final CS184 - Foundations of Computer Graphics University of California at Berkeley Write your name HERE: Write your login HERE: Closed book. You may not use any notes or printed/electronic

More information

Reflection and Shading

Reflection and Shading Reflection and Shading R. J. Renka Department of Computer Science & Engineering University of North Texas 10/19/2015 Light Sources Realistic rendering requires that we model the interaction between light

More information

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ = Radiometry (From Intro to Optics, Pedrotti -4) Radiometry is measurement of Emag radiation (light) Consider a small spherical source Total energy radiating from the body over some time is Q total Radiant

More information

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham

Shading / Light. Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham Shading / Light Thanks to Srinivas Narasimhan, Langer-Zucker, Henrik Wann Jensen, Ravi Ramamoorthi, Hanrahan, Preetham Phong Illumination Model See Shirley, Ch 10 and http://en.wikipedia.org/wiki/phong_shading

More information

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6 Polar Coordinates Any point in the plane can be described by the Cartesian coordinates (x, y), where x and y are measured along the corresponding axes. However, this is not the only way to represent points

More information

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz

2/1/10. Outline. The Radiance Equation. Light: Flux Equilibrium. Light: Radiant Power. Light: Equation. Radiance. Jan Kautz Outline Jan Kautz Basic terms in radiometry Radiance Reflectance The operator form of the radiance equation Meaning of the operator form Approximations to the radiance equation 2005 Mel Slater, 2006 Céline

More information

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Thomas Buchberger, Matthias Zwicker Universität Bern Herbst 2008 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation

More information

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller Global Illumination CMPT 361 Introduction to Computer Graphics Torsten Möller Reading Foley, van Dam (better): Chapter 16.7-13 Angel: Chapter 5.11, 11.1-11.5 2 Limitation of local illumination A concrete

More information

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3. Announcements Project status reports on Wednesday prepare 5 minute ppt presentation should contain: problem statement (1 slide) description of approach (1 slide) some images (1 slide) current status +

More information

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 CSE 167: Introduction to Computer Graphics Lecture #6: Lights Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 Announcements Thursday in class: midterm #1 Closed book Material

More information

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF Shading Introduction Affine transformations help us to place objects into a scene. Before creating images of these objects, we ll look at models for how light interacts with their surfaces. Such a model

More information

THE goal of rendering algorithms is to synthesize images of virtual scenes. Global illumination

THE goal of rendering algorithms is to synthesize images of virtual scenes. Global illumination 2 Fundamentals of Light Transport He who loves practice without theory is like the sailor who boards ship without a rudder and compass and never knows where he may cast. Leonardo Da Vinci, 1452 1519 THE

More information

Question 2: Linear algebra and transformations matrices rotation vectors linear transformation T=U*D*VT

Question 2: Linear algebra and transformations matrices rotation vectors linear transformation T=U*D*VT You must answer all questions. For full credit, an answer must be both correct and well-presented (clear and concise). If you feel a question is ambiguous, state any assumptions that you need to make.

More information

The Rendering Equation. Computer Graphics CMU /15-662

The Rendering Equation. Computer Graphics CMU /15-662 The Rendering Equation Computer Graphics CMU 15-462/15-662 Review: What is radiance? Radiance at point p in direction N is radiant energy ( #hits ) per unit time, per solid angle, per unit area perpendicular

More information