User Guide · More

Viewport Settings

How the view draws on this Mac.

Worldra ▸ Settings ▸ Viewport sets how the view draws: Anti-aliasing, Shadows, Render scale, Textures, Snow depth, Clouds, Fog and Frame rate. Reset to defaults puts every setting back as it started. Everything starts at its best, so a scene looks as it will in a game at full settings. Turn something down when a large scene needs it on a slower Mac or on battery, or to see the scene as a game would show it at lower settings. What is saved in the scene is the same either way.

  • Textures — Full, Half or Quarter: each side of every texture halved once or twice as it is loaded. Half takes a quarter of the memory; props are read again when you change it.
  • Shadows — Full, Near only, or Off.
  • Render scale — the scene drawn at Full, 75% or 50% of the window's size, then scaled up.
  • Snow depth — off, lying snow is only a white layer: it builds up on nothing, even where a scene gives it depth on the ground.
  • Clouds — Volumetric, with depth the sun lights through; Volumetric, lighter, the same at a quarter of the pixels; or Flat, a layer with no depth.
  • Fog — Volumetric: ground fog, the sun's shafts and lights glowing in it; Volumetric, lighter, the same worked out in coarser cells; or Distance only, far things fading into the horizon and nothing more.

Seeing what a setting saves

View ▸ Show Statistics (⌥⌘F) puts three numbers at the top left of the view, above the position when that is shown: frames a second, what a frame costs in milliseconds, and Worldra's memory. Click them for the breakdown, which stays up to date while it is open:

  • Frame — the cost is the larger of the CPU's time (preparing the frame) and the GPU's (drawing it): what a frame needs, however fast the display shows them. Shown every is the time between frames on screen, and Slowest the longest of the last half second — a stutter an average hides.
  • Memory — Worldra is all the app holds, the same as Activity Monitor's Memory column. Graphics is the part of it Metal holds: Textures (how many, and their memory), Meshes (how many props are loaded, and their meshes at every level of detail, with the ground's) and Other (shadow maps, effects, the frame itself — and every other open window, since Graphics is the whole app's). GPU budget is how much of what this Mac should keep on its graphics chip that takes.
  • Drawn — draw calls and triangles into the view, and into the sun's shadows.

A number turns orange when it needs a look, and red when it is a problem — in the three at the top left and in the breakdown alike. Frames a second: orange below 55, red below 30. Every time — the cost, CPU, GPU, shown every and slowest — by the frame rate it allows: orange over 18.2 ms (55 a second), red over 33.3 ms (30 a second), so a red time is why a red frame rate is red. Memory and the GPU budget: orange past 80% of the budget, red past all of it.

Change a setting with the breakdown open and watch it move: Textures at Half takes Textures down, Shadows Off takes GPU time, shadow draws and Other down, Render scale takes GPU time down. The numbers come from the Mac itself, as you work, not from an estimate.

View ▸ Time a Flythrough (F2) flies the view along a route through the scene and reports how fast it drew; Time a Flythrough, Attributing Costs (⇧F2) flies it again with one part left out at a time — shadows, effects, ground cover — to show what costs the most.

Compressed textures

Worldra draws textures compressed for the graphics chip (ASTC): a quarter of the memory, as sharp. Each texture is compressed the first time it is drawn — so a large pack's first open takes a little longer — and kept in Worldra's caches, so every later open skips that and is quicker. A pack of large textures can take around a gigabyte there. The cache is safe to delete at any time; Worldra makes it again as needed.

In the background, and pausing a scene

While another app is in front, the view stands still on its last frame and leaves the CPU and graphics chip to that app. It keeps drawing while props are loading, so the scene still fills in, and during a flythrough. To keep it all moving — a scene watched on a second display, say — turn on Keep drawing in the background under Worldra ▸ Settings ▸ Viewport.

Pause a scene to give its memory back while you work on something else: the Pause button at the right end of the toolbar, or View ▸ Pause Scene; while the scene is paused the button stays highlighted. The view is replaced by a still picture of it, and everything the view held — props, textures, shadows — is let go, so a large scene drops from more than a gigabyte to a couple of hundred megabytes. The scene itself stays open with its undo history, and you can still use the sidebar. Click the picture, Resume, the highlighted Pause button, or View ▸ Resume Scene to carry on where you were looking; its props load again from Worldra's caches, which takes a few seconds for a large scene.

Pause scenes in the same settings pauses every open scene by itself after Worldra has been in the background for 5, 15, 30 (the default) or 60 minutes, or Never.

Far trees and plants

A scattered tree, bush, rock pile or clump of flowers far enough away that it is a few dozen pixels across is drawn as a picture of itself: Worldra photographs each such prop from 64 directions when the scene first needs it, and a far copy shows the four nearest, lit by the scene's sun and sky and shadowed as the prop would be. A wide view of a forest then draws a fraction of the triangles. Props you place by hand are always drawn whole, at every distance. Each prop's pictures take 3 MB of graphics memory, or 12 MB for a large tree.