DIZZY(6) User Contributed Perl Documentation DIZZY(6)NAME
dizzy - a graphics demo that makes you dizzy using rotating textures
SYNOPSIS
dizzy [-f|-w width -h height] [-t switch_module] [-T options]
DESCRIPTION
dizzy is a graphics demo that rotates planes of patterns on a colored background to make you dizzy. Textures can be cross-faded and there
is a mode that automatically changes textures, allowing Dizzy to be run as a screensaver.
OPTIONS -w width
--width width
-h height
--height height
Sets the window width and height.
-f
--fullscreen
Attempts to switch into a true fullscreen mode, if possible. The window size parameters are ignored.
-a
--automode time
Automatically switches textures after a specified number of seconds has passed. time can be fractional and the decimal separator is
always the period.
-t module
--texswitcher module
Selects the texture switching module to use. Default is Simple.
See below for available texture switchers and their descriptions.
-T option=value
--texswitcher-options option=value
Passes an option option with the value value to the selected texture switcher. The available options depend on the texture switcher
used.
This option can be given multiple times to set multiple options.
-d module
--rotswitcher module
Selects the rotator switching module to use. Default is Simple.
See below for available texture switchers and their descriptions.
-D option=value
--rotswitcher-options option=value
Passes an option option with the value value to the selected rotator switcher. The available options depend on the rotator switcher
used.
This option can be given multiple times to set multiple options.
-r resolution
--texture-resolution resolution
Changes the texture resolution. resolution must be a power of two. The default value is 256.
-R resolution
--shader-resolution resolution
Changes the resolution used when rendering using shaders. resolution must be a power of two. The default is 1024.
-z zoom
--zoom zoom
Zooms the textures. The default value is 100.
-c path
--cache-paths path
Use a different path for cached textures. This option can be specified multiple times.
-C
--disable-cache
Don't use any texture cache at all.
--debug-show-planes
Zooms out of the normal view so you can see how Dizzy creates the animation. A white border will also be drawn around the area that
would have been shown had this option not been used.
TEXTURE SWITCHERS
Simple
A simple texture switcher. It just sets the new texture when it is told to do so. It takes no options.
Blend
A texture switcher that crossfades between textures to generate a smooth transition. It takes one option:
duration=duration
Sets the duration of a blend to duration seconds. The value can be fractional (the decimal separator is always a period). The default
value is 2.
Note that you have to add the time you specify here to the automode time, so if you want the transition to take two seconds and every
image to stay for five seconds, you set the duration to 2 and automode to 7 (not 5).
ROTATOR SWITCHERS
Simple
A simple switcher that just activates the new rotator without any transition.
KEYBOARD COMMANDS
Cursor left
Select previous available texture.
Cursor right
Select next available texture.
Cursor down
Select previous available rotator function.
Cursor up
Select next available rotator function.
Escape
q Exit Dizzy.
perl v5.14.2 2011-11-02 DIZZY(6)
Check Out this Related Man Page
GLPRIORITIZETEXTURES(3G)GLPRIORITIZETEXTURES(3G)NAME
glPrioritizeTextures - set texture residence priority
C SPECIFICATION
void glPrioritizeTextures( GLsizei n,
const GLuint *textures,
const GLclampf *priorities )
PARAMETERS
n Specifies the number of textures to be prioritized.
textures Specifies an array containing the names of the textures to be prioritized.
priorities Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture
named by the corresponding element of textures.
DESCRIPTION
glPrioritizeTextures assigns the n texture priorities given in priorities to the n textures named in textures.
The GL establishes a ``working set'' of textures that are resident in texture memory. These textures may be bound to a texture target much
more efficiently than textures that are not resident. By specifying a priority for each texture, glPrioritizeTextures allows applications
to guide the GL implementation in determining which textures should be resident.
The priorities given in priorities are clamped to the range [0,1] before they are assigned. 0 indicates the lowest priority; textures with
priority 0 are least likely to be resident. 1 indicates the highest priority; textures with priority 1 are most likely to be resident.
However, textures are not guaranteed to be resident until they are used.
glPrioritizeTextures silently ignores attempts to prioritize texture 0, or any texture name that does not correspond to an existing tex-
ture.
glPrioritizeTextures does not require that any of the textures named by textures be bound to a texture target. glTexParameter may also be
used to set a texture's priority, but only if the texture is currently bound. This is the only way to set the priority of a default tex-
ture.
NOTES
glPrioritizeTextures is available only if the GL version is 1.1 or greater.
ERRORS
GL_INVALID_VALUE is generated if n is negative.
GL_INVALID_OPERATION is generated if glPrioritizeTextures is executed between the execution of glBegin and the corresponding execution of
glEnd.
ASSOCIATED GETS
glGetTexParameter with parameter name GL_TEXTURE_PRIORITY retrieves the priority of a currently bound texture.
SEE ALSO
glAreTexturesResident, glBindTexture, glCopyTexImage1D, glCopyTexImage2D, glTexImage1D, glTexImage2D, glTexImage3D, glTexParameter
GLPRIORITIZETEXTURES(3G)