Skip to content

Implement a fast ray-octree collision to find selected cubes, cube faces and cube edges. #244

Closed
@IAmNotHanni

Description

We need to find a way to detect octree collisions with the camera ray in order to find selected cubes.
This will be important for the octree-editor. I'm sure glm will help us a lot here.
Maybe there is some library or an established algorithm to help us with this?

We need the following features:

  • Which cube is in collision?
  • Which of the 6 faces of the cube is in collision?
  • Which of the 4 edges (on every one of the 6 faces) of the cube is in collision?

The octree collision code could be a separate class like OctreeCollision or something?
Maybe we should include it into the interface directly though.


Related: #190

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    cat:enhancementenhancement/requested feature/update of existing featuresfeat:octreeoctree, cube computations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions