frustrum culling plane

[Blinn78] describes how clipping can be done in 4D homogeneous space (Figure 5.29). After the perspective divide, points inside the view frustum are in normalized device coordinates and bounded as follows:


That is, the points are bounded by the simple 4D planes: 

Left: w = −x

Right: w = x 

Bottom: w = −y 

Top: w = y 

Near: z = 0 Far:

 z = w Once we know the frustum plane equations in homogeneous space, we can apply a clipping algorithm (such as Sutherland-Hodgeman). Note that the mathematics of the segment/plane intersection test generalizes to , so we can do the test with 4D points and the 4D planes in homogeneous clip space.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值