lavalite(6x)

lavalite6x

3d opengl simulation of a lavalite.

Usage

lavalite [--display host:display.screen] [--window] [--root] [--window-id number] [--visual visual] [--delay microseconds] [--fps] [--style style] [--spin xyz] [--no-spin] [--speed float] [--resolution integer] [--count integer] [--no-smooth] [--wireframe] [--impatient] [--lava-color color] [--fluid-color color] [--base-color color] [--table-color color] [--fluid-texture filename] [--base-texture filename] [--table-texture filename]

Overview

The lavalite program displays a 3D simulation of the famous lamp of the same name. It requires a fast computer with fast OpenGL support.

Options

lavalite accepts the following options:

--window

Draw on a newly-created window. This is the default.

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--visual visual

Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.

--style style

Specify which model of lamp to draw. Available models are: Classic, Giant, Cone, and Rocket. Default: random.

--spin xyz

Around which axes the model should auto-spin. Defaults to "Z", meaning it rotates horizontally, but otherwise pitch or roll.

--no-spin

Same as --spin ''.

--speed float

A number controlling the frequency at which new blobs launch: you can think of this as being related to the the heat of the lightbulb in the base. Default: 0.003.

--delay usecs

The delay between steps of the animation; default is 30000 (0.03 second.)

--resolution integer

The size of the grid from which the mesh is created that is used to polygonize the blobs. higher values will give very smooth looking blobs, at the expense of speed. Default: 40.

The options "-resolution 10 -no-smooth" look kind of interesting.

--fps

Display the current frame rate, CPU load, and polygon count.

--count integer

The maximum number of blobs that can be in motion at once. Default: 3.

--no-smooth

Turn off smoothing: the objects in the scene will be facetted.

--wireframe

Render all objects in wireframe instead of as solids.

--impatient

Provide this option if you are. This will pre-warm the lamp, so when it starts up, the first frame will show a blob already halfway up the lamp.

--lava-color color

Specifies the color of the blobbies. Default: red.

--fluid-color color

Specifies the color of the fluid that the blobbies float in. Default: light blue.

--base-color color

Specifies the color of the lamp base, and the cap on top of the bottle. Default: very dark gray.

--table-color color

Specifies the color of the table that the lamp is sitting on. Default: black (meaning it is invisible.)

--fluid-texture filename

An image file to wrap around the glass.

Note that on most systems, GL textures must have dimensions that are a power of two.

Note also that colors and textures are both applied: so, if you apply a texture and it isn't showing up, try specifying the corresponding color as "white". Otherwise, the combination of the two might be too dark to see.

--base-texture filename

An image file to wrap around the base of the lamp, and the cap on top of the bottle.

--table-texture texture

An image file to spread across the table that the lamp is sitting on.

Environment

DISPLAY

to get the default host and display number.

XENVIRONMENT

to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

XSCREENSAVER_WINDOW

The window ID to use with --root.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

--base-color since Debian 12 (Bookworm); --base-texture since Debian 12 (Bookworm); --count since Debian 12 (Bookworm); --delay since Debian 12 (Bookworm); --fluid-color since Debian 12 (Bookworm); --fluid-texture since Debian 12 (Bookworm); --fps since Debian 12 (Bookworm); --impatient since Debian 12 (Bookworm); --lava-color since Debian 12 (Bookworm); --no-smooth since Debian 12 (Bookworm); --no-spin since Debian 12 (Bookworm); --resolution since Debian 12 (Bookworm); --root since Debian 12 (Bookworm); --speed since Debian 12 (Bookworm); --spin since Debian 12 (Bookworm); --style since Debian 12 (Bookworm); --table-color since Debian 12 (Bookworm); --table-texture since Debian 12 (Bookworm); --visual since Debian 12 (Bookworm); --window since Debian 12 (Bookworm); --window-id since Debian 12 (Bookworm); --wireframe since Debian 12 (Bookworm).

-base-color until Debian 11 (Bullseye); -base-texture until Debian 11 (Bullseye); -count until Debian 11 (Bullseye); -delay until Debian 11 (Bullseye); -fluid-color until Debian 11 (Bullseye); -fluid-texture until Debian 11 (Bullseye); -fps until Debian 11 (Bullseye); -impatient until Debian 11 (Bullseye); -lava-color until Debian 11 (Bullseye); -no-smooth until Debian 11 (Bullseye); -no-spin until Debian 11 (Bullseye); -resolution until Debian 11 (Bullseye); -root until Debian 11 (Bullseye); -speed until Debian 11 (Bullseye); -spin until Debian 11 (Bullseye); -style until Debian 11 (Bullseye); -table-color until Debian 11 (Bullseye); -table-texture until Debian 11 (Bullseye); -visual until Debian 11 (Bullseye); -window until Debian 11 (Bullseye); -wireframe until Debian 11 (Bullseye).

Author

Jamie Zawinski <[email protected]>

From xscreensaver-gl 6.09+dfsg1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.