# Code Examples

### Standalone Viewers

OpenSubdiv builds a number of standalone viewers that demonstrate various aspects of the software.

OpenGL examples
glViewer glPtexViewer glEvalLimit | glStencilViewer glPaintTest glShareTopology glFVarViewer

DirectX examples
dxViewer | dxPtexViewer

Plugin examples
Maya osdPolySmooth

### Common Keyboard Controls

>     Left mouse button drag   : orbit camera
>     Middle mouse button drag : pan camera
>     Right mouse button       : dolly camera
>     n, p                     : next/prev model
>     1, 2, 3, ..., 9, 0       : specify adaptive isolation or uniform refinement level
>     +, -                     : increase / decrease tessellation
>     Tab                      : toggle full-screen
>     Esc                      : turn on / off the HUD
>     w                        : switch display mode
>     q                        : quit

- User Docs
- API Docs
- Release Notes
- Forum