質問

Does anyone have an example of using BSP trees in ThreeJS that they could share or know about? I am looking at creating a terrain splatting example and would like to use a BSP (or perhaps octree...?) to help speed up the rendering.

Many thanks

役に立ちましたか?

解決

Have a look at this octree source: https://github.com/collinhover/threeoctree

EDIT: There are now several three.js examples:

http://threejs.org/examples/webgl_octree.html

http://threejs.org/examples/webgl_octree_raycasting.html

three.js r.60

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top