Open topic with navigation
This sample demonstrates using the NV_path_rendering OpenGL extension to draw text arranged like spokes in a wheel, with a slight 3D projection applied to the rendering.
The OpenGL samples all share a common app framework and certain user interface elements, centered around the "Tweakbar" panel on the left side of the screen, which lets you interactively control certain variables in each sample.
To show and hide the Tweakbar, simply click or touch the triangular button positioned in the top-left of the view.
Other controls are listed below.
This sample demonstrates NV_path_rendering drawing
spinning text with a slight projection applied to the
text arranged in a spinning wheel. The shading of the
text uses a smooth color gradient generated with
The glyphs for the text on the spinning wheel are
created with the
The text spacing with kerning is determined with
The instanced path APIs are used to efficiently draw the filled and stroked text:
NVIDIA® GameWorks™ Documentation Rev. 1.0.200601 ©2014-2020. NVIDIA Corporation. All Rights Reserved.