PROPHET/OS

NAME

cell: the engine engine drawing a scene in console cells (the same scene in the screen's real points is lux)

SYNOPSIS

cell [scene|file] [-seed n] [-t hh:mm] [-d day] [-x speed] [-y style] [-e seconds] [-S] [-M] [-G] [-R] [-D view] [-l]

DESCRIPTION

The engine engine drawing a scene in console cells (the same scene in the screen's real points is lux): what is there (land, water, town, creatures, the hour, the weather, the look), never how to draw it. The engine puts it in the order of the world and lets what burns of itself shine after the tint of the hour. The same file and the same seed draw the same world. Scenes lie in /engine/scenes; a path names a file of one's own.

-l, --list-scenes   list the scenes
-seed n      the world
-t hh:mm     the hour, -d 0..364 the day of the year
-x n         seconds of the world per second (60)
-y style     simple (as drawn), pixel, flat, outline, minimal, neon, 16bit,
             dark (dark fantasy: black violet shadows, crimson light)
-e n         end after n seconds, a measure: only Escape stops it, other keys are dropped;
             -S frame statistics at the end
-M           the buildings as meshes of their plans instead of the walk, to hold the two side by side
-G           as -M, the meshes rastered by ProphetGL's fastest provider as a visibility buffer; the default
-R           the reference: the meshes' coarse steps and the light's cells off, to measure against
-D view      a debug view over each frame, the frame's nodes as bars: nodes, depth, source
             (anew, a keep, the card), light (marched, a cell, the old frame), ids, lod, wire

n p          next and previous scene
r            a new seed
d            the speed of time: 60, 600, 3600, 1
s            the next season
w            the weather: clear, rain, snow, storm, mist (a ground bank of the morning)
a b f c      animals, bloom, fog, cel shading
v            a vignette, off at the start (scene: look vignette on)
D            the debug views one after the other, then the picture
g            the G-buffer in false colours: normals, material, moisture,
             sun and shadow, crevice, then the picture again
1 .. 9, 0    the scene's views, when it names them (views: [{at: [x, y, z],
             yaw: d, lens: shift}, ..]); the first is where it opens
y            the next style
space        stop and go on, q the end

A scene is a YAML file, /engine/scenes/<name>.yaml, places in percent of the picture; a layer is one item of layers, its kind the key:

scene: alm
time: "10:00"
day: 170
speed: 60
date: [7, 12]
horizon: 46
sky: {clouds: 16000}
style: pixel
look: {fog: on, vignette: off}
layers:
  - ridge:  {base: 56, height: 36, scale: 20, snow: true, haze: true, tone: rock}
  - ground: {kind: meadow, from: 62}
  - pond:   {at: [78, 70], size: [28, 14]}
  - trees:  {band: [56, 66], density: 12, pines: true}
  - animal: {kind: cow, count: 6, band: [66, 92], span: [0, 60]}

date: [month, day] sets the day on the calendar of thirteen months of 28 days from the spring equinox, by their Hebrew names: 1 Nisan, 2 Iyyar, 3 Sivan, 4 Tammuz, 5 Av, 6 Elul, 7 Tishri, 8 Cheshvan, 9 Kislev, 10 Tevet, 11 Shevat, 12 Adar, 13 Veadar, then the year day (14). The European names lie over them for those who know these: 1 March .. 7 September .. 10 December, 11 January, 12 February. Every month has 28 days, four weeks, every year; the year day (two in a leap year) belongs to no month and no week, so a date falls on the same weekday in every year.

Layers: ridge, hills, skyline, ground, sea, pond, river, houses, trees, flowers, animal (kind: cow ..), flock, field, path, farmhouse, barn, pen, ruin, abbey, deadtree, rubble, fire. Tones: meadow, rock, redrock, hedge, pine, sand, snow, towers, fartowers, houses, leaves.

A ruin carries a coat: finish: bare|lime|render, or built: <year> picks the coat of its time out of /engine/materials.yaml (before 1700 bare stone, lime to 1900, render after); age: <years> and the scene's moisture take it off in patches, most at the foot.

surfaces: [moss_ledges, lichen] names what grows on the surfaces, rows of /engine/surfaces.yaml; a scene that names none takes moss alone.

Settings: cell.conf (<home>/.cell.conf before /system/config/cell.conf) names the scene to start with when none is given, and switches animals, bloom, fog, cel, post and vignette over the scene's own look. model_parts caps the parts of a model, 0 (the default) takes any number; cell.conf wins over engine.conf, which holds it for both.

EXAMPLE

cell running on ProphetOS
cell running on ProphetOS

SEE ALSO

lux, rain, re_celltest