In this video we will learn about non zero winding rule in computer graphics.
In non-zero winding number method we need to know the direction of each edge in the polygon, i.e. whether the edge is clockwise or counter-clockwise.
The winding number is number of times the polygon edges wind around a particular point in the counterclockwise direction.
HOW to apply??
1. To apply non zero winding number rule, first we keep the initial value of winding number=0.
2. Then we imagine drawing a line from point P to outside the polygon which does not pass through any vertex.
3. Now We add 1 to the winding number every time we intersect a polygon edge that crosses the line from right to left, and we subtract 1 every time we intersect an edge that crosses from left to right.
NON ZERO WINDING NUMBER
The interior points are that have a non-zero value for the winding number.
Exterior points are those whose value of the winding number is zero.
THANK YOU VERY MUCH GUYS FOR WATCHING THIS VIDEO.
PLEASE SUBSCRIBE TO THIS CHANNEL AND HIT THE LIKE BUTTON. ASK ANY DOUBTS IN COMMENTS SECTION BELOW.
THANK YOU!!!!!!!
Download
0 formats
No download links available.
non zero winding rule in computer graphics | Inside Outside Test For Area Filling Algorithm | NatokHD