3

I was able to use Yuka_OBB implementation to generate oriented bounding box. I have some questions regarding the obtained results:

Bed (AABB)

bed_aabb

Bed (OBB)

bed_obb

Wall (AABB)

wall_aabb

Wall (OBB)

wall_obb

Question: What type of OBB is generated here from one of the following types:

  1. modal
  2. up/gravity aligned
  3. arbitrarily oriented in 3D space
  4. semantically oriented with front

Question:

While, Bed (OBB) seems properly aligned, I want to understand what's going on with Wall (OBB)? Can I do better to improve the orientation of box around wall?

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
Sam
  • 207
  • 1
  • 10

1 Answers1

1

It is arbitrarily oriented in 3D space.

If it is the best-fit box, you can't improve it without getting a larger OBB. Read gamma.cs.unc.edu/users/gottschalk/main.pdf to get a better understanding of OBBs

Sam
  • 207
  • 1
  • 10
Mugen87
  • 28,829
  • 4
  • 27
  • 50