Coder Social home page Coder Social logo

Implement a top-level BVH. about c-ray HOT 6 CLOSED

vkoskiv avatar vkoskiv commented on May 27, 2024
Implement a top-level BVH.

from c-ray.

Comments (6)

madmann91 avatar madmann91 commented on May 27, 2024

Note that your "kd-tree" implementation is in fact a BVH already, not a kd-tree. Are you looking for pull requests?

from c-ray.

vkoskiv avatar vkoskiv commented on May 27, 2024

Thanks for the comment @madmann91!

I guess I was a bit confused about the terminology when I made it a few years ago. My thinking with this issue was that, say I have 10,000 instances of an object, each object has their own kd-tree, but the overall set of objects still needs to be iterated with an exponential time complexity.

And yes, I'm more than happy to accept issues and pull requests, just let me know what you'd be interested in working on!
Thanks again for taking a look.

from c-ray.

madmann91 avatar madmann91 commented on May 27, 2024

I'd be interested to provide a simple BVH drop-in replacement for the kd-tree impl. I'll create a pull request when it's in a good state.

from c-ray.

vkoskiv avatar vkoskiv commented on May 27, 2024

@madmann91 Sounds awesome, let's do it!

from c-ray.

vkoskiv avatar vkoskiv commented on May 27, 2024

@madmann91 Oh, and be sure to check out the contributing section on the Wiki, just so we're on the same page. Thanks!

from c-ray.

vkoskiv avatar vkoskiv commented on May 27, 2024

Resolved by 76b3843

from c-ray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.