Questions tagged [space-partitioning]
4 questions
6
votes
1 answer
Determining level connectivity
Imagine you have a 3D level format consisting of an arbitrary number of convex polytope brushes (or we can simplify and consider just oriented-bounding boxes) and several point entities.
I want to find an algorithm to determine
If the level is…
yuriks
- 1,120
- 10
- 16
6
votes
2 answers
In a shader, how to store fragment coordinates in a spatial partitioning from one pass to the next?
I have a post-effect camera-shader in which I want to implement a simple spatial partitioning of the screen between two passes of the fragment shader.
The first pass should divide the screen into cells of size = 30x30 pixels, and then for each green…
blipblop
- 83
- 4
2
votes
2 answers
How to build a triangle-voxel list from a triangle mesh?
I have been playing with voxelization for a little time, I'm still very new to this technique.
I am trying to use it for ray tracing but I've been stuck with one problem. There are some codes out there in the web that already perform voxelization…
BRabbit27
- 969
- 1
- 10
- 20
0
votes
1 answer
Translate vtkCellLocator
I would need to translate a vtkCellLocator, without rebuilding it entirely. I suppose that it should be possible to apply an offset to all the buckets in the octree. Do you know if is it possible to do this (or to apply a translation to any other…
Federico
- 103
- 2