Nico Posted March 11, 2014 Share Posted March 11, 2014 Hi guys, I'm using scene.pick method to get clicked mesh (only the first intersecting the ray, so I'm sending fastCheck parameter to true), but after some test, on huge 3D file (> 6M of triangles) it is quite slow ... (I only have one submesh per mesh), it takes long time to execute SubMesh.intersects method (because my meshes have a lot of vertices). Does somebody have any tips to speed up my picking ? I can't easily edit my meshes (or adding more submesh). I've seen that BABYLON have a class called "babylon.octree.js", but I'm not really sure that it could help me, and I don't know how to use it :/ Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 11, 2014 Share Posted March 11, 2014 Hello, octrees are used for mesh selections and cannot be used to accelerate picking My advise for your problem should be to generate more submeshes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.