This paper proposes a new line clipping algorithm for 3D space against a cuboid which is not generated based on Cohen- Sutherland or Liang-Barsky line clipping algorithms. The proposed algorithm is based on a newly proposed simple theory developed using basic mathematical concepts. All most all the 3D line clipping algorithms involve three steps to check whether a line segment lies completely inside the clipping volume or lies completely outside the clipping volume or intersection calculations when it is not completely inside or outside. The proposed algorithm does not follow these steps. The algorithm was tested for a large number of random line segments and the results showed that the new 3D space line clipping algorithm performs better than the Cohen- Sutherland 3D line clipping algorithm in terms of time and space.
[1]
Wenjun Huang.
The Line Clipping Algorithm Basing on Affine Transformation
,
2010,
Intell. Inf. Manag..
[2]
Václav Skala,et al.
O(lg N) line clipping algorithm in E2
,
1994,
Comput. Graph..
[4]
Mel Slater,et al.
Some Improvements to a Parametric Line Clipping Algorithm
,
1992
.
[5]
Jay Beck,et al.
Generalized two- and three-dimensional clipping
,
1978,
Comput. Graph..
[6]
James D. Foley,et al.
Fundamentals of interactive computer graphics
,
1982
.
[7]
Vaclav Skala.
AN EFFICIENT ALGORITHM FOR LINE CLIPPING
,
1993
.
[8]
D. T. Lee,et al.
An efficient new algorithm for 2-D line clipping: Its development and analysis
,
1987,
SIGGRAPH.