is there a sensible (read fast-ish) way to calculate approximate volume of intersection between two oriented boxes (A, mtxA, B, mtxB) ? the result should be in relation to box A, ie:
- A is not intersecting B, res = 0.0
- A is partially intersecting B, res = 0.5
- A is inside B, res = 1.0
I kinda need to calculate influence of objects B on object A. I could replace boxes with spheres to possibly ease the calculations. Again, I just need an approximation, not the precise values.