The Caves view drops its node graph. Each cave file is one form beside
the scene, with a section for the cave, its tunnel, its cavern and the
pillars. A section the file lacks says "(unset)" and typing a value
writes it. EditableSceneView.showsNodes() lets a view ask for this.
Scenes can now be built at a size the studio picks. SceneView.sizes()
lists them, and scene() and parts() take a SceneRequest with the key,
variant and size. Caves offer 64 to 512 blocks across. The preview sends
only the carved blocks on the outside of the space, so 512 stays light.
The 3D world gets a Caves toggle. It generates the chunks of a 128, 256
or 512 square around the middle of the view and draws every air block
under the terrain top, coloured by height band, with a legend.
A setting in the settings dialog, off by default and shown only on Linux
with an NVIDIA GPU and its Vulkan driver. On Wayland, Chromium hands the
desktop buffers from the GPU it draws with, so a desktop composited on
the integrated GPU shows an empty window. With the setting on, the studio
restarts through XWayland with Chromium on Vulkan and only NVIDIA's
Vulkan driver visible; that driver copies each frame across itself.
Switching to the NVIDIA GPU put the window's buffers on it, and a desktop that composites on the integrated GPU, as niri
does here, cannot show them: the window stayed empty. Through XWayland the frames did not arrive either, and with
compositing in software each frame's readback cost more than the faster GPU saved. Chromium already picks the desktop's
GPU by itself.
The server works out the sky's light in each cell of a chunk, full under the open sky and a level less through each
leaf, block of water or step aside, and for each visible face the light of the cell it faces and how many opaque cells
stand around each of its corners. The studio darkens the faces' corners by them, splitting each face along its brighter
corners, so terrace steps, cliff feet and the ground under trees and overhangs read in depth. Far runs carry the mean
light and corner shade of the block tops they stand for, so far ground darkens as the near ground does.
Far off, a block face is a pixel or less, and an antialiased pixel only partly on it was shaded from its centre off the
face, reading the picture beside it in the atlas. Trees and grass were speckled with other blocks' colours. Centroid
coordinates read the picture where the face is.
The studio drew on the integrated GPU of a hybrid laptop, where a view
of the near ground block by block ran at a few frames a second. On
Linux it now starts again, once, with NVIDIA's EGL driver and PRIME
offload, its window's buffers made on the NVIDIA render node, unless
the environment already names an EGL driver.
Tiles are built on worker threads and sent back packed small:
positions in sixteenths of a block, colours a byte a channel. A frame
hands the GPU at most 16 MB of new meshes, and a tile keeps its old
mesh until the finer ones filling its holes are drawn.
The ground is drawn block by block until a block is a quarter of a
pixel, with up to 256 tiles in sight. Runs now record the plants on
their tops, which tint them as the near ground's plants do, and faces
of neighbouring columns in one plane over the same heights merge.
Far tiles showed one height and one block per column, sampled from a
single column, so trees became pillars of leaves or vanished.
For each generated chunk the server now finds, in areas 2 to 16 blocks
across, the runs of heights that are solid in at least a quarter of
the area, split where the main block changes and ending at the ground,
as Distant Horizons draws far terrain. Coarser tiles carry these runs
when asked for the ground's shape, and the studio draws each as a box
with its top, its underside where it floats, and the sides its
neighbours leave open, in the average colours of its block's pictures,
which near textures fade to.
The near ground was drawn from the top of each column, with the blocks
raised above it, so overhangs, the wood under leaves and anything
beside a trunk were lost.
The server now finds, for each chunk it generates, every block the open
air reaches: from the top of the chunk and from beside it above the
terrain around, through leaves and water too, so caves closed to the
sky stay out. Each block comes with the sides that face that air.
Tiles a block a column carry these blocks when asked, and the studio
draws each from its model, leaving out a face its model lets a
neighbour hide unless that side faces the air. Blocks without a model
are cubes of their look or colour; water shows the sides that face the
air, and none against plants that grow in it.
Block tiles held the bridge's few request threads while their chunks
generated, and coarse tiles pushed their own chunks out of the cache
before reading them. Each tile now reads its columns as its chunks
generate and coarse tiles keep none; block tiles wait on threads of
their own; the studio gives quick and slow tiles separate request
slots.
The planner now keeps any stored tile with blocks in sight, not only
drawn ones, and draws columns no finer than a pixel again: at half a
pixel a forest view held twelve million triangles. The atlas gets
mipmaps down to a pixel a picture, so far textures fade to the flat
colour of coarser ground.
Blocks came only on tiles of one block a column, so most of the view
showed biome colours, and zooming out swapped the blocks already seen
for them.
Every tile now carries blocks. The server generates a tile's chunks on
a pool of their own, finer tiles first, keeps up to 512 MB of chunk
tops, and stops a tile the studio cancels. A tile's quick biome version
is drawn only where no tile with blocks of any level is known, so
ground once sampled stays in sight until its replacement has blocks
too. Wider columns take their highest raised block as their top. The
planner now splits columns down to half a pixel and draws up to 192
tiles.
Raised blocks shared the ground's opaque material, whose pictures have
their open pixels filled in, and every face between two raised blocks
was left out, as with fast leaves. The atlas now marks pictures with
open pixels; blocks showing one are drawn with the cut-out material
the grass uses, and hide no face of what they touch, as Minecraft draws
leaves with fancy graphics.
Each column carried only its highest solid block, so a tree's leaves
stood as a pillar down to the ground. The ground is now the terrain's
top, and the solid blocks above it go to the studio as a list per
column. The 3D world draws them as cubes and leaves out the faces that
touch the ground or each other. The 2D map still colours and shades a
column by its highest block.
Decorators get their own pattern view from the decorant module: each
biome's decorators from above, placed where their own noise allows.
The Palettes and Decorators views list the pack's snippet files in a
Snippets group, with the biomes that use each one, and mark entries
read from a snippet. PackResources gains snippetOf and snippets so a
module can tell where a settings value came from.
The 3D world draws what stands on the ground, such as grass and
flowers, as the block's own model. A plugin block that is solid on the
server but shown to players as a plant no longer counts as ground.
The 3D views looked for tiles across the world's whole build height. In a
pack with a tall sky most of a tile's box is air, so once the camera came
close to the ground the planner drew sixteen far tiles and none under the
camera. Tiles are now looked for between the lowest and highest ground
drawn so far, and ranked by how far they lie from the ground in the middle
of the view instead of by their centre point.
Saved tiles named blocks without their properties, which matched no model
variant, so grass and every plugin block drew as flat grey. Saved and
generated tiles now carry the state players see, which for a plugin block
is the vanilla state it borrows.
Colours went through three.js colour management as if they were linear
light and came out pale with flat shading. They are drawn as given now, as
v3e does. Gaps in cut-out textures such as leaves take the texture's own
colour instead of black.
Also in the studio:
- Right click or Ctrl+click on 3D terrain teleports there, as on the map.
- The land, sea and cave biome layer views are gone.
- New icons for the views and the map tools that shared one or said
something else.
- A saved world with nothing finished says so instead of reading forever.
Folders start closed, show how many entries they hold and nest by path,
so trees/oak sits under trees. The chosen entry's folders open on their
own, and a search opens every folder with a match.
Unknown fields used to log one warning per field per file, with a snippet,
every time a pack loaded. A pack without modules logged about 2200 of them at
startup. Now they are gathered per pack and stated as one list a few seconds
after the first, one line per field with its first file and how many others
hold it. Each file's field is stated once per server start. The header says
when the pack loads no modules, which is why layers, wall and decorators
were unread here.
The Bukkit warning path stripped colours. It now keeps section-sign codes
and still reads nothing else as markup.
The palette view drew CraftEngine blocks by their server-only state, such as
craftengine:custom_7, which has no assets. The pattern header now names a
plugin block as the pack does and adds the vanilla state players see, which
the studio draws. Asset reads check plugin resource packs before the client
jar for minecraft paths too, since those packs replace vanilla blockstates.
Map tiles can carry the block on top of each column, read from chunks generated in memory through the world's own stages. The 2D map colours by them with a toolbar toggle and the 3D world gets a Blocks colouring with textures, both at a block a pixel or finer. The Height map view goes, as the 3D world shows heights; the Shading toggle keeps its icon under its own name.
The detail was chosen with one threshold for the whole view, which flipped
as the camera moved and swapped large areas between coarse and fine at once,
and most of the tile budget went to the backdrop. The widest-looking tile is
now split first, so a small move changes a tile or two.
Ground moves on a drag and turns on a right drag, without inertia, and the
camera stays above it. The sampling note waits until sampling lasts.
A view's entries can now be created from a starter tree in a chosen folder and deleted from the browser. Deleting lists the pack files that still name the entry, then moves it to the desktop trash, or the pack's .iris/trash where there is none. An EditableSceneView opts in with SceneCreation; the host does the writing.
v3: d6e6fc3ef
Nested settings fold into sections and lists of objects into items. Curve
values show a sparkline and open a points or shape editor, and a number or
range can be made a curve. Blocks, resources and roles are suggested while
typing, and string lists are typed as a, b. The studio asks the bridge for
the platform and pack lists (suggestions endpoint).
No terrain, pin, golden or digest moved; the files written are the same JSON.
v3: db53f834a
The node editor only took Delete; Ctrl+D, F (also Home) and Esc now duplicate, show every node and clear the choice, and Backspace deletes. The keys are rebindable studio shortcuts, shown beside Duplicate and Delete in the node menu, and take precedence over the map's F while the editor is shown.
v3: 1c8af6484
The saved-world view only said "Reading" with no sense of how far along it was, and the first look at a region read its 1024 chunks one after another. The status bar now shows a bar measured against the most tiles pending since the last idle, and the region's start read uses all cores.
v3: 3b899b8d1
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
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
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
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
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
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
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
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
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
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
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
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