Comments (4)
Hi!
Could you provide details on what makes octrees essential to your application? What operation would you like an octree implementation to provide for you?
An octree data structure will be added in the future, but it will not be in Rapier. It will be in the ncollide crate Rapier uses.
from rapier.
I need efficient detection of collisions between two entities with a lot of shapes in them.
from rapier.
In that case octrees are not necessarily the best choice. A bounding-volume hierarchy is also a great choice for this because they give the guarantee that each shape will be on their own tree node (whereas octrees may require shapes to be added to multiple octree nodes they intersect).
Octrees will be particularly good if you have a point cloud or a voxel grid. But for general shapes they don't have a clear advantage over bounding-volume hierarchies (which already exist in ncollide as BVT
).
from rapier.
I do have a voxel grid. Would it be possible for me to implement a separate octree shape? If bounding volume hierachies work for most cases then it probably won't be implemented just for this case, but I would like it to be feasible.
from rapier.
Related Issues (20)
- Benchmarks webpage is not working HOT 1
- Need predict_position_using_velocity() without forces
- panic_bounds_check when solving spring joint HOT 2
- How do you simulate refraction? HOT 5
- Objects retain all velocity while moving through a Sensor HOT 4
- `KinematicCharacterController` climbing and sliding along along vertical walls are broken
- `KinematicCharacterController` doesn't respect `offest` HOT 1
- `dyn PhysicsHooks` cannot be shared between threads safely --> WASM compile fails HOT 1
- Perfectly Elastic Ball Loses Velocity After Bounces in Zero Gravity Environment HOT 2
- 2D Rigidbody type changing from Kinematic->Dynamic at runtime doesn't work HOT 2
- Bug: Incrementally-updated `QueryPipeline` memory usage linearly grows over time.
- How do I properly enable parallel in rapier3d? HOT 2
- Add support for custom friction and bounce CombineRules
- Built app WASM issue after upgrading to 0.13.1 HOT 4
- EPA convergence failure on capsules
- Very large 2d cuboid "ground" destabilizes simulation
- Perfectly elastic objects gain energy with TGS soft in Newton's cradle example HOT 1
- parry2d v0.15.0 yanked HOT 4
- rapier3d doesn't compile with simd-nightly HOT 2
- Getting Started webpage: instantiates BroadPhase trait HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rapier.