Commit Graph
10 Commits
Author SHA1 Message Date
piexel 922fe5e4cf Add the node editor to the procedural scene view
Under the 3D scene the entry's file shows as a tree of nodes, laid out
left to right. Clicking a node shows its settings on the right, a field
per schema option with defaults, ranges and enums; right click adds,
duplicates and deletes; dragging a node onto another regrows it there.
Undo and redo write earlier texts back. Edits are queued so quick ones
never refuse each other, and a file changed elsewhere is read again.

Context menus blur what is behind them, and submenus are portalled so
the menu no longer clips them.
2026-11-06 05:06:28 +01:00
piexel 1aba430153 Add the Palettes view
Pattern views from the server get a view each: entries by biome with a
search over names, a depth stepper, the entry's facts, and the blocks on
screen. Tiles are a pixel per column from afar and each block's tinted
top texture up close; spots a layer leaves empty read as nothing at this
depth.

The pan and zoom tile canvas the noise view had is now TiledView and
TiledCanvas, shared by noise and palettes, and the entry list is shared
with the scene views.
2026-11-06 02:39:48 +01:00
piexel 8ace4ccc99 Noise view: the pack's noise and the noise styles in 2D and 3D
v3e's noise explorer: sources by category, seed with a random pick, five
palettes, pan and zoom down to sixteenth-block tiles, a hover readout, and
the noise as terrain with a relief slider. TileStore now takes a tile
source, so the map and the noise view share fetching, caching and the
coarser fallback drawing.
2026-11-06 02:15:27 +01:00
piexel 3fde8c420f Add the saved world view
A world the server saved, read from its region files, in 3D: the
1,024 blocks square around the region nearest its origin, coloured by
biome, block (each block's top texture, tinted) or height, with lakes
and rivers at their own levels. The saved worlds are listed by
namespace, the studio's own world first, and can be read again.

The terrain mesh now takes any surface with ground, water and colour per
vertex, holes where nothing is known; the 3D world is one such surface.
Framing uses the surface's own bounds, so vertices left out of the mesh
do not move the camera.
2026-11-06 01:58:23 +01:00
piexel 874cb4fe16 Add the 3D world view
The terrain around where the map last looked, 1,024 blocks square, in
3D: one vertex per map pixel from the biome tiles with heights, coloured
by biome, region or height, lit by slope. Walls round the rim and a
see-through sea at fluid height make the square read as a solid block.

The viewport now takes content with its own bounds and frames again when
told to, so the scene views and the 3D world share it. The near clip
follows the orbit distance, so surfaces a block apart no longer flicker
when the camera is far away.
2026-11-06 01:36:59 +01:00
piexel 0732f5a9b8 Scene views: step through an entry's variants 2026-11-06 01:28:44 +01:00
piexel e0812cca66 Objects view: the pack's block scenes in 3D
Scene views the pack's modules show join the view list under Blocks.
Choosing one lists its entries under their folders, with a search, and
draws the chosen one with three.js: block states resolve to the client's
models (variants, multipart, parents, element and variant turns), their
textures go into one atlas, faces against solid blocks are left out, and
each side gets Minecraft's flat light and its block's tint. The blocks it
is made of are listed with their counts. Models the client draws without
elements stand in as cubes of their break texture.
2026-11-06 01:26:06 +01:00
piexel 674f9756e3 Map: pick inspector, noise display and region preview
A right-hand panel shows how the noise picks the regions or biomes in
view: a histogram per noise over its pick bands, and each option's weight
against its share of the view. The map can draw the picks, the settling
noise, or both, and any prepared region can be previewed across the map.
2026-11-06 01:10:21 +01:00
piexel e20bf1dd57 Hover card: show how the spot was picked
One row per pick under the card's title: region, biome list and each
child level, with the options' shares of the noise as a segmented bar,
the picked one in its colour and a marker at the noise value. A child
names the parent it replaced on its own line. The card is a little
wider so long biome names keep their region beside them.
2026-11-06 00:40:36 +01:00
piexel f1171307cd Studio map app: Electron studio for the Iris bridge
A standalone Electron + React + Tailwind + shadcn/ui app that connects to
the localhost bridge `/iris studio map` opens and draws the world map with
the v3e studio's views, shortcuts, hover card, legend and styling.

- Finds running bridges from ~/.iris/studio/bridges and iris-studio:// links
- Biome, region, height and biome layer views from 128-pixel tiles
- Coarser previews first, so the screen fills sooner, then sharpens
- Hover card with Shift details, legend census with click to highlight
- Ctrl+click teleport, Alt+click open file, right-click menu
- Light, dark and system themes from the v3e studio palette
2026-11-06 00:19:18 +01:00