Worlds
A world is what a scene stands in: ground, grass, leaves, water and the sky over them. Pixor builds all of it from a handful of settings, so a small environment or a whole map renders the same way a character does — through the same palette, lines and light — and loops exactly.
What there is
| Part | What it makes |
|---|---|
| Terrain | terraced ground from a seeded height field. Every cell is flat and every step is a whole number of terraces, so cliffs read cleanly at sprite sizes. Tops and walls get a colour and a ramp each |
| Sprigs | grass tufts, flowers or pebbles scattered over the ground, never on a wall and kept clear of whatever already stands there — everywhere, or with a Reach, a patch round where it stands |
| Foliage | leaf clusters over every crown: a part whose name holds crown, leaves, leaf, foliage or canopy, or the word you give — every one, or with a Reach, those standing near it |
| Water | a sheet of water with waves that travel and loop, foam along the shore, and a reflection of the scene dithered in |
| Clouds | cloud shadows drifting over everything, fixed in the world |
| Sky | a sky behind everything: bands from a top colour to a bottom one in whole steps, or a painted picture |
| Wind | one wave over the scene that moves the grass, the leaves and any part you name — flags, banners, washing lines |
| Light shafts | the light standing in the air where the sun pours through, marched through the shadows |
| Times of day | one sheet per hour — dawn, noon, dusk, night — each with its own sun and its own palette |
| Chunks | a big map written as several files whose seams match exactly |

Anything that moves — wind, clouds, waves — moves in whole steps over a loop, so the last frame leads back into the first with nothing to blend.
In the app
In the Scene step, the Outliner’s + menu adds any of them, under The world. They are listed in the Outliner’s World group, and clicking one shows its settings in the Inspector: that is the whole job, and the graph never has to be opened.
Each one is a node of the Scene graph — the row and the node are one thing, as for a shape, a lamp or a volume (D49) — in the order it was added: the import, then a terrain, then grass on it, and so on. The graph is where a world can do more — a Row after a Water node makes three ponds, a Move shifts a terrain — because a world node’s copy is placed like any other copy. Grass and leaves grow everywhere they can until they are given a Reach: then a Sprigs node grows a patch that far round its At, and a Foliage node covers only the crowns standing that near it — each copy round its own place, sized with it, so a Row of three flower nodes is three patches. Clouds, the sky, wind, shafts, times of day and chunks belong to the whole scene: if there are two of one, the one nearer the Output node is used.
A world is built after the copies, so a ring of eight knights stands on one terrain, in one wind.
Times of day are also in the Asset step’s Inspector, beside the sheets they make, and exporting writes one sheet per hour.
On the command line
The same parts are flags of pxr project new and pxr project set; each adds
or changes the node, and --no-... takes it out:
pxr project new map.pixor --model chest.glb
pxr project set map.pixor --terrain 12:32:2:0.25 --terrain-seed 4
pxr project set map.pixor --scatter tuft:400:0.2 --scatter flower:40@2,1,0.8 # a patch
pxr project set map.pixor --water 4:1,0.3,-2 --reflect 0.6 --waves 0.5
pxr project set map.pixor --clouds 0.4 --wind 0.08:2 --times-of-day dawn,dusk
pxr project set map.pixor --sky '#2c3e6b,#9dbcd9,4' # or --sky dusk.png:2
pxr project set map.pixor --chunks 4x4 # 16 files an hour: 32, map_dawn_r0c0.png ... map_dusk_r3c3.png
pxr project scene map.pixor --list # the world as nodes
Each part’s flags, with its defaults; colours are #rrggbb, sizes and
places in metres:
| Part | Flags |
|---|---|
| Terrain | --terrain SIZE[:CELLS[:HEIGHT[:TERRACE]]]: SIZE one number or X,Z (8), CELLS along the longest side, each flat (24), HEIGHT the tallest point (1.5), TERRACE one step (0.25). --terrain-seed N, --roughness 0-1 from one smooth swell to rocky (0.5), --flat 0-1 how much of it lies at the lowest step (0.35), --ground-colour the tops (#4a853a), --cliff the walls (#7a6a52), --no-terrain |
| Sprigs | --scatter KIND[:COUNT[:SIZE[:APART]]][@X,Z,REACH]: KIND tuft, flower or pebble, COUNT at most so many (200), SIZE a tuft’s height or a pebble’s width (0.22), APART how close two may come (0.18), and with @ a patch within REACH of X,Z; repeatable. --scatter-seed N, --keep-clear M how far they keep from anything already standing (0.3), --sprig-colour (the ground’s by default, so a field reads as one surface), --no-scatter |
| Foliage | --foliage [ON][:COUNT[:SIZE[:APART]]][@X,Z,REACH]: ON a word of the crown’s name (with none, every part named crown, leaves, leaf, foliage or canopy), COUNT clusters tried (90), SIZE one cluster (0.45), APART (0.22), and with @ only the crowns within REACH of X,Z. --foliage-seed N, --leaf-size M (SIZE again), --leaf-colour (the crown’s own by default, so a crown reads as one mass), --bare-crown to drop the crown once its leaves are on (it fills the gaps between them, so it is kept by default), --no-foliage |
| Water | --water SIZE[:X,Y,Z]: SIZE one number or X,Z (6), X,Y,Z its middle, its height the water line; repeatable. For every sheet: --water-colour (#336b8c), --waves SPACING[,WIDTH[,DEGREES[,STEPS]]] metres between wave lines (0.6), the share that is line (0.25), the way they travel (0) and the ramp steps a line lifts (1), --water-travel N whole spacings the waves travel over the loop (1), --foam PIXELS[,STEPS] the shore foam’s width and lift (1, 1; 0 for none), --reflect 0-1 (0), --water-cycle to turn its shades on a colour cycle, --water-frames N the frames of a loop of its own when nothing else moves (0: it rides what plays), --no-water |
| Light shafts | --shafts STEPS[:THRESHOLD]: ramp steps the lit air lifts a pixel (1), how much of the air must be lit before it shows (0.5). --shaft-reach M how far in front of a surface the air is looked at (2.5), --shaft-samples N places along it (6; more is smoother and slower), --no-shafts |
| Clouds | --clouds COVER[:SIZE[:CELLS[:DEPTH]]]: the share of the ground in shadow (0.45), one cell’s width (2.5), cells before the field repeats (8), ramp steps a shadow is deep (1). --cloud-drift X,Z whole turns of the field over the loop (1,0), --cloud-seed N, --cloud-height M how high the clouds are, which matters only when the sun is low (6), --cloud-frames N as for water (0), --no-clouds |
| Wind | --wind STRENGTH[:WAVES[:DEGREES]]: how far a swaying tip travels (0.12), whole waves over the loop (1), where it blows, 0 towards +X. --wind-length M crest to crest, 0 for everything swaying together (3), --gust 0-1 a slower swell over the loop (0.35; 0 an even breeze), --wind-frames N as for water (0), --wind-on NAME a part that sways too (repeatable: a flag, a banner), --no-wind |
| Sky, Times of day, Chunks | --sky TOP,BOTTOM[,BANDS] or --sky PICTURE[:PIXELS] (sprite pixels to a picture pixel), --no-sky (A sky); --times-of-day dawn,noon,dusk,night, --no-times-of-day; --chunks COLSxROWS, --chunk-margin N (8), --no-chunks |
Every setting is reachable by name, from a blueprint or a job file too:
pxr project blueprint map.pixor -o map.pixorblueprint
pxr run map.pixorblueprint --in model=chest.glb --set terrain.seed=9 --set clouds.cover=0.7
A blueprint lifts the model out of the project, so --in model= names the
one to build the map round.
--chunks COLSxROWS on pxr render cuts one build differently from what
the project says, without changing the project.
Big maps
A map cut into chunks is drawn a chunk at a time, each with a margin of its
neighbours’ pixels around it that is cut off afterwards. The margin is wider
than any pass looks, so every kept pixel is the one the whole map would have
had, and the seams match exactly. The app writes the same files as
pxr render, byte for byte.
What this page describes is in the full version; the free browser demo keeps to the default look and the PNG sheet.
Try in browser Get Pixor