jbikker wrote:It's just a matter of adding the full queue not only to the list of full queues, but also to a list for the node, as you proposed. Perhaps it's even worthwhile to process the partial list for the node as well when the full lists are processed.
More or less, but with a small subtlety : When you get a full queue from the "list", you need to go and get the first of queues from that node, which may, or may not be the one you've popped ...
One remark, regarding 3.3, is that in algorithm 1 is quite unclear about what neighbor ← link.getneighbor() . From the description, getneighbor should use the ray as parameter to recurse and find the actual leaf that goes to neighbor.
Which leads to an additional question :
- would also queuing in non-leaf octree nodes be too memory intensive or create too much work ?