This C++ demo allows users to interactively explore a quadtree's behavior.

For this purpose the demo uses a quadtree data structure based on axis-aligned bounding boxes to speed up the search for triangles in a mesh. Depending on a search point all triangles of a quadtree's region are retrieved and relevant information about the search is shown.

Quadtree creation can be parametrized by three parameters:

- Maximum tree depth.
- Maximum number of triangles per region.
- Percentage of total number of triangles per region.

The OpenGL graphics library is used to render the results, regions as well as the underlying triangle mesh. Navigation (e.g. zooming, moving) is available by keyboard and mouse.

Example meshes are provided in wavefront *.obj format and can be opened from inside the program.

Features

  • Immediate feedback of changes made to quadtree properties.
  • Quadtree properties and camera position are remenbered and saved on disk.
  • Unicode support for files and folders.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Quadtree Demo

Quadtree Demo Web Site

Other Useful Business Software
Go from Data Warehouse to Data and AI platform with BigQuery Icon
Go from Data Warehouse to Data and AI platform with BigQuery

Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
Try BigQuery Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Quadtree Demo!

Additional Project Details

Operating Systems

Windows

Intended Audience

Developers, Education

User Interface

OpenGL, Win32 (MS Windows)

Programming Language

C++

Related Categories

C++ Algorithms, C++ Simulation Software, C++ CAD Software, C++ Computer-Aided Engineering (CAE) Software

Registered

2012-04-22