search
Login | Signup | Support
  • 0
  • ×

    Windowing And Clipping

    by:

    Current Rating : Rate It :

    1403

    Views

    Download
     
    1 : Windowing and Clipping Polygon clipping:- For Polytechnic Diploma in Computer Enggineering /Computer Technology/PGDCA/BCA Students. Created By: Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    2 : Sutherland-Hodgeman Polygon Clipping: We can clip polygon by considering whole polygon against each boundary edge of the window. We know that represent a polygon we need set of vertices. We will pass this set of vertices or a polygon to a procedure which will clip the polygon against left edge. This left procedure generates new set of vertices which indicates left clipped polygon. Again we will get new set of vertices is passed to the right boundary clipper procedure. Then we will pass this new set of vertices to bottom boundary clipper and lastly to top boundary clipper procedure. Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    3 : Sutherland-Hodgeman Polygon Clipping: At the end of every clipping stage a new set of vertices is generated and this new set of vertices(Modified polygon) is passed to the next clipping stage. Following fig. shows four diff. stages which are require to clip a polygon. Polygon Left Clip Window Right Clip Bottom Clip Top Clip Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    :
    5 : Sutherland-Hodgeman Polygon Clipping: Case2: If Both, First and second vertex of a polygon are lying inside the window, then we have to store the second vertex only output vertex list. Store only C in Output Vertex list. Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    6 : Sutherland-Hodgeman Polygon Clipping: Case3: If the first vertex is inside the window and second vertex is outside the window(opposite to Case 1), then we have to store only intersection point of that edge of polygon with window in output vertex list. Store only P2 in Output Vertex list. P2 Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    7 : Sutherland-Hodgeman Polygon Clipping: Case4: If both first and second vertex of polygon are lying outside the window then no vertex is stored in output window. Nothing stored in output vertex list. Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    8 : Sutherland-Hodgeman Polygon Clipping: Once all vertices have been considered for one clip window boundary, the output list of vertices is clipped against the next window boundary. So the Block diagram for this algorithm. Clipped Polygon Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)
    9 : Chapter 5 Curves and fractals:- Curve generation method:- Under Construction……. Krishna Jadhav RLPC Buldana(kparth.jadhav@gmail.com)

    Presentation Tags

    Copyright © 2019 www.slideworld.com. All rights reserved.