Scan line method for visible surface detection | Computer Graphics
Scan line method is another method for detecting the visible surface on the screen. This method is similar to the method discussed in the polygon fill post. The only difference is that there are going to be more surfaces than earlier. It is an Image-space method for visible surface detection. In scan line algorithm we create two tables, first one is known as polygon table which is different for each and every polygon and the other one is known as edge table. The content of the polygon table consists of:
- Coefficients of the particular polygon’s equation.
- Color information of the particular polygon.
- A flag that is initialized to false.
Did you enjoy reading or think it can be improved? Don’t forget to leave your thoughts in the comments section below! If you liked this article, please share it with your friends, and read a few more!