quadtree Questions

2

Solved

I did a project a while back on path finding with quadtrees and I would like to improve on its performance. It seems that using tesseral arithmetic to determine node adjacency (as per this page, co...
Sylvie asked 18/2, 2012 at 7:12

1

In my 2D game, I have static and dynamic objects. There can be multiple cameras. My problem: Determine objects that intersect with the current camera's view rectangle. Currently, I simply iterate ...
Kendyl asked 8/8, 2011 at 9:11

2

Solved

What are some good data structures for keeping track of agents in a two-dimensional, spatial simulation? I've seen some references to quadtrees (which I understand) and kd-trees (which I don...
Chlores asked 18/10, 2011 at 16:57

2

Solved

Quadtrees are used as an optimisation in games and elsewhere for spatial organisation of entities http://en.wikipedia.org/wiki/Quadtree. Are there any examples of quadtrees being used for HT...
Roseannaroseanne asked 3/8, 2011 at 11:10

3

Solved

I have implemented a quadtree in Mathematica. I am new to coding in a functional programming language like Mathematica, and I was wondering if I could improve this or make it more compact by better...
Selfreliant asked 14/7, 2011 at 10:6

1

Solved

I have a set of 100 to 200 points (x,y). I have to check which ones fall within a particular distance of the others. The particular distance is fixed for the entire program, say 50. Say point 1 fal...
Argile asked 14/7, 2011 at 18:56

4

Solved

I've read so many articles, but none seem to answer this question. Or maybe I'm just not understanding. I'm attempting to build a quadtree so that it can represent an image. The leaf nodes are to h...
Evzone asked 16/3, 2011 at 1:42

2

2D spatial indexing question: What do you call a data structure that is essentially an infinite* quadtree whose nodes contain neither absolute coordinates nor absolute scales -- in which the coord...

1

Solved

Please explain quadtrees and provide simple code (preferably in C) for insertion and searching.
Knowhow asked 28/12, 2010 at 9:14

1

Solved

I'm currently working on a 2D shoot them up type of game, and I'm using a quad tree for my collision detections. I wrote a working quad tree that correctly pushes my actors into the nodes/leaves th...
Ute asked 13/12, 2010 at 22:59

6

Solved

I have been looking for a quadtree/quadtree node implementation on the net for ages. There is some basic stuff but nothing that I would be able to really use it a game. My purpose is to store obje...
Footlights asked 16/12, 2008 at 14:27

1

Solved

I've implemented a working QuadTree. It subdivides 2-d space in order to accomodate items, identified by their bounding box (x,y,width,height) on the smallest possible quad (up to a minimum area). ...
Tillotson asked 23/5, 2010 at 0:52

6

I'm trying to determine a fast way of storing a set of objects, each of which have an x and y coordinate value, such that I can quickly retrieve all objects within a certain rectangle or circle. Fo...
Athematic asked 25/9, 2008 at 9:31

2

Solved

I want to create a large database of GPS coordinates that can be queried by saying "Return all coordinates that are within 'n' metres of [this coordinate]". I would like to know how to implement Q...
Complexity asked 26/8, 2009 at 13:11

© 2022 - 2024 — McMap. All rights reserved.