Link Search Menu Expand Document

3D Meshes

A rotating icosahedron carries an animated, pointer-responsive pattern. No model or image file is needed.

The primitive supplies geometry to Model display, while the Oblivion shader supplies its texture. An LFO drives rotation independently: the image on the surface and the object carrying it can move at different speeds. This is direct native mesh rendering, not a Qt Quick 3D scene.

Try it

Start playback and slow the LFO to make the rotation easier to follow. Move the pointer in the output window to change the shader pattern. Then change the shader’s iZoom to rescale the texture, and the primitive’s Scale to resize the silhouette. Adjust iSteps to explore the pattern’s detail.

Try this on web

Download this example

Learn more