glBatchViewer

glBatchViewer


SYNOPSIS

glBatchViewer [-d isolation level] [-c animation loops] [-f] objfile(s)

DESCRIPTION

glBatchViewer is a stand-alone application that showcases the primitive batching capabilities of the OpenSubdiv API. Batching is an optimization that enables the merging together of the data tables of many primitives in order to reduce the number of GPU calls.

Multiple controls are available to experiment with the algorithms.

images/glbatchviewer.jpg

OPTIONS

-d isolation level
Select the desired isolation level of adaptive feature isolation. This can be useful when trying to load large pieces of geometry.
-c animation frequency
Number of repetitions of the animtion loop (default=0 is infinite)
-f
Launches the application in full-screen mode (if is supported by GLFW on the OS)

Keyboard Controls

. ,      : increase / decrease the number of animated primitives
i, o     : add / remove primitives