Large-volume 3D models are prone to low rendering frame rate,slow display and large resource consumption on the browser side.The reason is that such models usually contain hundreds of millions of triangular slices,which cannot be loaded and rendered quickly in a limited time.To address such problems,a scene view frustum culling algorithm based on an optimized octree is proposed.The algorithm adopts address code(Morton code),node view distance criterion and on-demand incremental division technique,which makes the octree adaptive with good compression efficiency;it adopts double bounding volume and base intersection test techniques to improve the accuracy of view frustum culling and achieves the overall goal of improving ren-dering frame rate and smooth display.The high-speed train example model study shows that the proposed algorithm improves the average rendering frame rate by about 14 frames and the spatial compression rate by about 37.8 percentage points compared with the traditional octree view frustum culling algorithm.
关键词
地址码/视距标准/按需增量划分/自适应性/双层包围体/基础相交测试
Key words
Morton code/view distance criteria/on-demand increments division/adaptivity/double bounding volume/base in-tersection test