Download presentation
Presentation is loading. Please wait.
1
Radiosity Part II Form Factors
COMP238 Anselmo Lastra, October 2000
2
Goal Learn ways of computing form factors.
Anselmo Lastra, October 2000
3
Recall The Fij are the form factors
Form factors independent of radiosities Anselmo Lastra, October 2000
4
Form Factor Expanding, we get where Vij is the visibility
Anselmo Lastra, October 2000
5
Alternative Area/Hemisphere integral Anselmo Lastra, October 2000
6
Computing the Form Factor
Anselmo Lastra, October 2000
7
Computing the Form Factor
Anselmo Lastra, October 2000
8
Closed form Only feasible for simple cases Visibility is hard
Polygon-to-polygon solution by Schroeder and Hanrahan Anselmo Lastra, October 2000
9
Numerical approximation
Anselmo Lastra, October 2000
10
Nusselt Analog Anselmo Lastra, October 2000
11
Why? Imagine a unit hemisphere centered around patch (or node) i.
Projection onto sphere mechanically computes the term Projection of solid angle due to patch j. next… Anselmo Lastra, October 2000
12
Solid Angle Anselmo Lastra, October 2000
13
Area on Base Also, is area of unit circle, so division is appropriate, resulting in Anselmo Lastra, October 2000
14
Hemicube Approximation of Nusselt’s analog
Anselmo Lastra, October 2000
15
Hemicube For convenience, a cube 1 unit high with a top face 2 x 2 is used. Side faces are 2 wide by 1 high. Decide on a resolution for the cube. Say 512 by 512 for the top. Anselmo Lastra, October 2000
16
Compute Delta Form Factors
Store in table. Note the symmetry Anselmo Lastra, October 2000
17
Specifically Scan convert all primitives onto 5 faces
Z buffer as usual Keep an item buffer Anselmo Lastra, October 2000
18
Aliasing Anselmo Lastra, October 2000
19
Other Problems Sampling is not even Must render complete dataset
Should cull Could you use levels of detail? Anselmo Lastra, October 2000
20
Monte Carlo Sample by casting rays to estimate Nusselt’s analog.
Distribute the rays to get a good sampling of the sphere Anselmo Lastra, October 2000
21
Area Anselmo Lastra, October 2000
22
Area Sampling Subdivide the primitive j into small pieces and cast a ray to the center of each area to determine visibility Anselmo Lastra, October 2000
23
Summary Many ways to find form factors Hemicube most common
Hardware acceleration Monte Carlo methods also used Anselmo Lastra, October 2000
24
Next How do we solve the matrix? Meshing Shooting
Progressive Radiosity Meshing Anselmo Lastra, October 2000
25
References Cohen and Wallace, Radiosity and Realistic Image Synthesis, Chapter 4. Anselmo Lastra, October 2000
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.