Lecture 13 - Radiosity I

visible from each hemicube pixel this could be done

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , ymax } = . .05 . .05 0. .05 0. .05 and ! and and {{xmin , ymin , xmax , ymax }= {{ 0045, , 0005, , 0055, , 005}} xmin , ymin , xmax , ymax } = . .45 . .05 . .55 0. .05 .. 26 / / 29 26 29 Solution Solution " For the top face cos face) Thus i = cos cos i j cos ⇡r2 Case 1: r = 1 so form factor is Case 2, r = p = 1 r j |A| 0.01 ⇡ 1.25, form factor is Graphics Lecture 13: Slide 31! (because z = 1 on the top |A| =4 ⇡r = 0.00318 0.01 1.56⇡ = 0.002 Projection of patches onto the hemicube Projection of patches onto the hemicube " •  We now need to know which patch is to know which patch is We now needvisible from each hemicube pixel. ! visible from each hemicube pixel. •  This could be done by ray tracing (casting), or projection. ! This could be done by ray tracing (casting), or projection. •  Ray tracing neatly solves the occlusion problem. ! Ray tracing neatly solves the occlusion problem. •  Projection would require z-buffering.! Projection would require z-bu↵ering. Graphics Lecture 13: Slide 32! . 26 / 29 Projection of patches onto the hemicube Sum the pixels per patch" •  Notice that all we need to determine is to know which patch at We now needthe nearest visiblepatch is each hemicube pixel. ! visible from each hemicube pixel. •  Once this is found we calculate the This could fbe done by ray tracing by orm factor for each patch...
View Full Document

Ask a homework question - tutors are online