Computer Graphics 15: More Surface Detection Methods: Course Website
Computer Graphics 15: More Surface Detection Methods: Course Website
2 of 11
Contents
Today we will continue to look at visible surface detection methods:
Depth-sorting method Other methods
We will also compare the different techniques we have studied and suggest when different techniques should be employed
3 of 11
Depth-Sorting Method
A visible surface detection method that uses both image-space and object-space operations Basically, the following two operations are performed
Surfaces are sorted in order of decreasing depth Surfaces are scan-converted in order, starting with the surface of greatest depth
4 of 11
5 of 11
Depth Overlapping
z z zmax S zmax S
zmax
zmin
x
zmin
x
No Depth Overlap
Depth Overlap
6 of 11
7 of 11
8 of 11
Other Techniques
There are a number of other techniques all based around are division
BSP-Tree Method Area-Subdivision Method Octree Methods
9 of 11
Ray-Casting
10 of 11
11 of 11
Summary
We need to make sure that we only draw visible surfaces when rendering scenes