An outcode can have ____ bits for two-dimensional clipping and ____ bits for three-dimensional clipping.

Thành Đạt

New member
An outcode can have ____ bits for two-dimensional clipping and ____ bits for three-dimensional clipping.
A. 4,6
B. 6,8
C. 2,4
D. 1,3
 
Answer: a
Explanation: The outcode will have 4 bits for two-dimensional clipping, or 6 bits in the three-dimensional case. The first bit is set to 1 if the point is above the viewport. The bits in the 2D outcode represent: top, bottom, right, left.
 

Tìm kiếm

Back
Top