Boxes

Combines advanced OpenGL rendering with the Graphics View framework

Combines advanced OpenGL rendering with 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.

glbuffers.cpp Example File

glbuffers.h Example File

glextensions.cpp Example File

glextensions.h Example File

gltrianglemesh.h Example File

qtbox.cpp Example File

qtbox.h Example File

roundedbox.cpp Example File

roundedbox.h Example File

scene.cpp Example File

scene.h Example File

trackball.cpp Example File

trackball.h Example File

fbm.h Example File

main.cpp Example File

boxes.pro Example File

boxes.qrc Example File

cubemap_negx.jpg Image File

cubemap_negy.jpg Image File

cubemap_negz.jpg Image File

cubemap_posx.jpg Image File

cubemap_posy.jpg Image File

cubemap_posz.jpg Image File

qt-logo.jpg Image File

qt-logo.png Image File

smiley.png Image File

square.jpg Image File