Efficient Construction of Perpendicular Vectors without Branching
暂无分享,去创建一个
This paper presents a novel formula for computing an arbitrary vector perpendicular to a given 3D vector. The formula, as well as the provided C language implementation, are unusual in that they require no conditional branching. The formula involves little arithmetic and is amenable to hardware implementation.
[1] Peter Shirley,et al. Realistic ray tracing , 2000 .