Skip to content

Replace KD-Tree with Octree #18

@OmidGhotbi

Description

@OmidGhotbi

Hi bro, i heard that you wanted to replace KD-Tree with Octree.
Long story short, i managed to write the Octree version last night to test it:
image

the results are more or less the same, it can crash on breaking point (sometimes works fine no issue) that i need to investigate what is wrong with it but i in the matter of performance I did not gain so much speed from it.

Octree
image
I think the actual bottleneck is Blender and the connection between Python itself. every time we have this connection all processes should respect the GIL lock and we depend on particles and collision in the blender so I imagine with every update how much performance we could lose.
One thing that I noticed with Octree we need almost 3 times more memory. i hope that helps.
i think i do not know how to use the debugging symbols in Blender it gives me nothing, absolutely nothing. can you help me with that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions