Commit Graph
13 Commits
Author SHA1 Message Date
piexel 8136fa857f Pick procedural parts by clicking blocks in the studio scene view
Authors could not tell which part of a procedural object placed a block. A click on a block in the Procedural view now finds its part and chooses the node that draws it; choosing a node lights up its blocks and draws everything else faintly. SceneView gains hasParts and parts (BlockParts), served as scene-parts, aligned with the scene's blocks. No pins moved: the trace bakes with its own builder and generation is untouched, ProceduralObjectsGoldenTest digests are unchanged.

v3: ff0190384
2026-11-10 12:44:27 +01:00
piexel a8aaa3c3cf Rebind the studio's keys from a settings dialog
The studio's keys were a fixed table, so the views, map toggles, zoom and node editor undo and redo could not be changed. The keys now come from a store the user rebinds in a settings dialog, saved to studio.json in the app's user data folder; tooltips, the view list, the hover card and the help dialog read the live keys, and a new key that another shortcut already uses is warned about.

v3: 8930afbb3
2026-11-10 12:32:42 +01:00
piexel 4950cf1969 Show far leaves in the studio scene view
The engine makes leaves with no wood in reach persistent, but the studio
gave no sign of which ones they are. The block list of a scene now counts
the leaves too far from wood and can draw only them. The rule is kept in
step with IrisProceduralBlocks.isLeafTooFarFromWood by a comment on both.

v3: eb3bae72d
2026-11-10 12:15:21 +01:00
piexel 7042538b89 Draw block textures on saved-world columns in the studio 3D view
The Blocks colouring of the saved-world view showed one flat average colour per block. Columns a block wide now show their top block's real textures: the top, the side of the top block, and the side of the blocks under it (dirt under grass), tinted as the client tints them. Coarser tiles keep the flat colours.
Textures go in one growing atlas; textured faces are one quad per block, and sides deeper than 16 blocks under a column's top stay a single flat quad.

v3: 950aca969
2026-11-10 12:12:19 +01:00
piexel df80f2a99d Sink studio 3D ground under water toward a deep colour by depth
The 3D terrain only laid one flat blue sheet over the sea floor, so depth and every water line were hard to read. Ground under water now sinks toward a deep colour the further down it lies, with a lighter sheet over it.

Studio only: no pack, seed or Java pin moved. Not run in the app.

v3: 23182951f
2026-11-10 12:04:13 +01:00
piexel 69b0303148 Show noise pick charts and a height legend beside the studio 3D world
The 3D world view had no side panel. Biomes and Regions colourings now show how the noise picks what the camera sees, measured over the box around the ground in view; Height shows how much of that ground lies in each height band, highest first.

v3: e5c4b0958 a223dd603
2026-11-10 12:00:58 +01:00
piexel 6d4d14606c Stream endless level-of-detail terrain into the studio 3D views
The world, noise and saved-world 3D views drew one fixed square. They now draw tiles of block columns around whatever the camera looks at, coarse backdrop first and then finer down to about a column per pixel, fetched through a byte-budgeted cache with cancellation. Coarser tiles stand in with holes where finer ones are ready, and ground drawn before a layer changes stays until its tiles are sampled anew. Pack, server and seed output are untouched; no pin or golden moved.

v3: 9ee539ee0 4bd06dbcc c3913e8f4 cc2caf8fa 0b9cb6156 23b98e5ff 2006e6ba8 de1e06f88
2026-11-10 11:55:34 +01:00
piexel 30c063853d Draw studio 3D terrain as one-block columns
The studio's 3D views drew a smooth mesh; they now draw block columns sampled one block per
pixel, 512 blocks a side, with neighbouring faces of one height and colour merged, sides only
where a column stands above its neighbour, and flat Minecraft-style face shading. Pack and
server are untouched.

v3: 1e8c47918 030ee0604 4eb7da0ce
2026-11-10 11:39:47 +01:00
piexel 6f772a2808 Orbit studio 3D views around the surface in the middle
Turning the camera now pivots on the ground or object at the centre of the view instead of a point in the air. Right-drag and middle-drag pan, and scrolling zooms toward the cursor. Terrain finds its pivot by marching the height grid, so a pick does not test every triangle.

v3: e53ca3b72
2026-11-10 11:34:22 +01:00
piexel 723764a782 Show server CPU and heap use in the studio status bar
The bridge sends a usage event every second and when a studio connects: CPU with 100 per busy thread, like top, and the Java heap in use. The status bar shows both beside the cursor and turns each warning-coloured at 80%.

v3: e1e158364 11e4ba0b1 268e72b9c 275b5965b
2026-11-10 11:31:27 +01:00
piexel d28b9d13cc Draw players as facing arrows on the map
The studio map showed players as plain dots. A blue arrow with a white edge and dark outline now points where the player looks, with the name in a pill above, readable on any terrain. Markers carry a yaw (rounded to 5 degrees so head turns do not flood the players event); entities keep their dot.

v3: 3914c4667
2026-11-10 11:26:49 +01:00
piexel 76dcab175b Time procedural bakes in the studio with a median-of-five meter
Authors could not see what a procedural object costs generation. The Procedural view now bakes the chosen entry five times in the background, keeps the median run, and rates it Light, Moderate or Heavy against a server tick, with each stage's time in the tooltip. SceneView gains isBaked and timeBake (one run, a BakeRun); the studio asks five times so a newer choice stops the rest. No pins moved: generation bakes with BakeProfile.NONE and nothing in packs changed.

v3: 9e30508e3 7d240ddf8
2026-11-10 11:22:51 +01:00
piexel 4e226b93f4 Merge IrisStudio into studio/ with its history
git-subtree-dir: studio
git-subtree-mainline: 68ae3c8d3a
git-subtree-split: 1c50eaf776
2026-11-06 16:52:58 +01:00