Jump to content

How to use Octree..


Recommended Posts

Hello friends~

i have a new questions which is ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

...Can babylon do the same thing like http://pawlowski.it/octtree/(a small box inside a big box,and can use Octrees to get the the small box's block);;;;;

i'm tring to create a Octree like ↓,but i didn't make it...


is there some more detailed information about how to create Octree(use this :var octree = new BABYLON.Octree(...)) and get the blocks(contain mesh)?

thank u!

Code begin from line 57

Link to comment
Share on other sites

@BangTao you're right, woops, i took a look at the octree code, and "new BABYLON.Octree" takes a function in the first parameter, not a mesh;


I have no idea what it's for or how it works, but good luck, hopefully someone with a bit more knowledge on the area comes around soon enough :) 

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...