1
CS 4 7 3 1 : Com put e r Gr a phics Le ct u r e 1 4 : 3 D Clippin g a n d Vie w por t Tr a n sf or m a t ion Em m anuel Agu
3 D Clipping
Clipping occur s a ft e r pr oj e ct ion t r a nsfor m a t ion Clipping is a ga inst ca nonica l vie w volum e
3 D Clipping
- 3D clipping against canonical view volum e (CVV)
- Autom atically clipping after projection m atrix
- Liang- Barsky algorithm (em bellished by Blinn)
- CVV = = 6 infinite planes (x= - 1,1; y= - 1,1; z= - 1,1)
- Clip edge- by- edge of the an object against CVV
- Chopping m ay change num ber of sides of an object. E.g.
chopping tip of triangle m ay create quadrilateral
3 D Clipping
- Problem:
in hom ogeneous coordinates
I f segm ent int ersect s wit h CVV, need t o com put eintersection point I -= (I x, Iy, I z, I w )