IRREGULAR SPATIAL ENUMERATION Flashcards

1
Q

What is Spatial cohesion

A

the idea that things often clump together in the real world
Thus
This effect makes the octree more effective than the gridcell
The octree cannot however take into account that things are not spread evenly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Hierarchical Bounding Volumes

A

Start with objects and wrap them increasingly bigger spaces - like the opposite of octrees
idea is that we use a simple shape to encapsulate a more complex one
- if we miss the bounding shape we cannot have hit the object within
However we may get a false positive hitting the bounding shape but not the object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cons of hierarchical bounding volumes

A

The actual shape is not the same as the bounding shape
higher chance of false positive
lot of empty space inside the bounding shape

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Bounding boxes as a hierarchical tree

A

Given a scene
We can place each object in a bounding box
Then the close bounding boxes in larger bounding boxes until eventually the whole scene has a big bounding box
This means we can send a ray and know if it has not even hit the scene
If it has we have a hierarchical tree to test which object (box) it is hitting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is binary space partitioning

A

Splits space into 2
starts with a horizontal separation
we can build a binary tree along with the recursive separations
Each ‘split in 2’ does not necessarily result in equal halves, the line will split to try and separate objects (but not always)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Axis aligned binary partitioning

A

a simple type of Binary partitioning where the world axis is used to split the spaces in two (perpendicular lines)
The advantage of this approach is that it preserves the relative positions of objects in different regions (Eg left and right) so by traversing the tree we can find an objects relative position

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the space and time complexity for grid based enumeration

A

space: O(N)
time: O(1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the space and time complexity for quadtree enumeration

A

space: O(N)
time: O(N) or O(N+K)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the space and time complexity for octree enumeration

A

space: O(N)
time: O(N) for unbalanced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the space and time complexity for binary space partitioning (BSP) enumeration

A

space: O(N)
time: O(log N) or O(N) for unbalances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly