PV3D加入新特點Frustum Clipping,讓3D場景快速運轉時不會導致破圖
程式寫法很簡單的,只要加入一行
renderer.clipping = new FrustumClipping(FrustumClipping.ALL);
- FrustumClipping.NEAR
- FrustumClipping.RIGHT
- FrustumClipping.LEFT
- FrustumClipping.TOP
- FrustumClipping.BOTTOM
- FrustumClipping.ALL
FrustumClippingTest.swf
這是參照zupko.info | Papervision3D - Now Featuring Frustum Clipping的原始碼所改成的範例
沒有留言:
張貼留言