1 / 32

Reflection models

Explore detailed reflection models and synthesis techniques in computer graphics, including properties of BRDFs, microfacet models, and specular reflection. Learn about geometric and physical optics for realistic surface rendering.

taunyaj
Download Presentation

Reflection models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Reflection models Digital Image Synthesis Yung-Yu Chuang 11/01/2005 with slides by Pat Hanrahan and Matt Pharr

  2. Rendering equation

  3. Assume time doesn’t matter (no phosphorescence) Assume wavelengths are equal (no fluorescence) Scattering function = 9D Assume wavelength is discretized or integrated into RGB (This is a common assumption for computer graphics) Single-wavelength Scattering function = 8D Taxonomy 1 General function = 12D

  4. Ignore subsurface scattering (x,y) in = (x,y) out Ignore dependence on position Bidirectional Texture Function (BTF) Spatially-varying BRDF (SVBRDF) = 6D Bidirectional Subsurface Scattering Distribution Function (BSSRDF) = 6D Ignore direction of incident light Ignore dependence on position Ignore subsurface scattering Light Fields, Surface LFs = 4D BRDF = 4D Assume isotropy Assume Lambertian 3D Texture Maps = 2D Taxonomy 2 Single-wavelength Scattering function = 8D

  5. Properties of BRDFs

  6. Properties of BRDFs

  7. Isotropic and anisotropic

  8. Reflection models • BRDF/BTDF/BSDF • Scattering from realistic surfaces is best described as a mixture of multiple BRDFs and BSDFs. • Material = BSDF that combines multiple BRDFs and BSDFs. (chap. 10) • Textures = reflection and transmission properties that vary over the surface. (chap. 11)

  9. Surface reflection models • Measured data • Phenomenological models: models with intuitive parameters • Simulation • Physical optics: solve Maxwell’s equation • Geometric optics: microfacet models

  10. Reflection categories diffuse glossy specular perfect specular retro-reflective

  11. Geometric setting n s t

  12. BxDF • BSDF_REFLECTION, BSDF_TRANSMISSION • BSDF_DIFFUSE, BSDF_GLOSSY (retro-reflective), BSDF_SPECULAR • Spectrum f(Vector &wo, Vector &wi); • Spectrum Sample_f(Vector &wo, Vector *wi, float u1, float u2, float *pdf); • Spectrum rho(Vector &wo, int nSamples, float *samples); • Spectrum rho(int nSamples, float *samples);

  13. Specular reflection and transmission • Reflection: • Transmission: (Snell’s law) index of refraction dispersion n n

  14. Fresnel reflectance • Reflectivity and transmissiveness are view dependent • For dielectrics

  15. Fresnel reflectance • For conductors

  16. Perfect specular reflection

  17. Perfect specular transmission

  18. Fresnel modulation

  19. Lambertian reflection • It is not physically feasible, but provides a good approximation to many real-world surfaces. class COREDLL Lambertian : public BxDF { public: Lambertian(Spectrum &reflectance) : BxDF(BxDFType(BSDF_REFLECTION | BSDF_DIFFUSE)), R(reflectance), RoverPI(reflectance * INV_PI) {} Spectrum f(Vector &wo, Vector &wi) {return RoverPI} Spectrum rho(Vector &, int, float *) { return R; } Spectrum rho(int, float *) { return R; } private: Spectrum R, RoverPI; };

  20. Microfacet models • Rough surfaces can be modeled as a collection of small microfacets. • Two components: distribution of microfacets and how light scatters from individual microfacet → closed-form BRDF expression n

  21. Important effects in microfacet models

  22. Oren-Nayar model • Many real-world materials such as concrete, sand and cloth are not Lambertian. • A collection of symmetric V-shaped perfect Lambertian grooves with a Gaussian distribution • Don’t have a closed-form solution, instead use the approximation

  23. Lambertian

  24. Oren-Nayer model

  25. Torrance-Sparrow model • One of the first microfacet models, designed to model metallic surfaces • A collection of perfectly smooth mirrored microfacets with distribution

  26. Torrance-Sparrow model

  27. Blinn microfacet distribution • Distribution of microfacet normals is modeled by an exponential falloff

  28. Torrance-Sparrow with Blinn distribution

  29. Anisotropic microfacet model • Ashikmin and Shirley have developed a microfacet model for anisotropic surfaces

  30. Anisotropic microfacet model

  31. Lafortune model • An efficient BRDF model to fit measured data to a parameterized model with a relatively small number of parameters

  32. Lafortune model (for a measured clay)

More Related