# Cube-Demo {#v4d_cube} @prev_tutorial{v4d} @next_tutorial{v4d_video} | | | | -: | :- | | Original author | Amir Hassan (kallaballa) | | Compatibility | OpenCV >= 4.7 | Renders a rainbow cube on blueish background using OpenGL, applies a glow effect using OpenCV (optionally using OpenCL with native builds) and encodes the video (optionally using VAAPI and CL-VA interop with native builds). \htmlinclude "../samples/example_v4d_cube-demo.html" @include samples/cube-demo.cpp