|  | Home · All Classes · All Functions · Overviews

# Boxes

Files:

- demos/boxes/glbuffers.cpp
- demos/boxes/glbuffers.h
- demos/boxes/glextensions.cpp
- demos/boxes/glextensions.h
- demos/boxes/gltrianglemesh.h
- demos/boxes/qtbox.cpp
- demos/boxes/qtbox.h
- demos/boxes/roundedbox.cpp
- demos/boxes/roundedbox.h
- demos/boxes/scene.cpp
- demos/boxes/scene.h
- demos/boxes/trackball.cpp
- demos/boxes/trackball.h
- demos/boxes/3rdparty/fbm.h
- demos/boxes/main.cpp
- demos/boxes/boxes.pro
- demos/boxes/boxes.qrc

This demo shows Qt's ability to combine advanced OpenGL rendering with the the Graphics View framework.

Elements in the demo can be controlled using the mouse in the following ways:

- Dragging the mouse while pressing the left mouse button rotates the box in the center.
- Dragging the mouse while pressing the right mouse button rotates the satellite boxes.
- Scrolling the mouse wheel zooms in and out of the scene.

The options pane can be used to fine-tune various parameters in the demo, including colors and pixel shaders.