Skip to content

Releases

v0.29.0-alpha — Faster Arrival in a Region: Textures Stream, Avatars Show Their Skin Sooner

Choose a tag to compare

@github-actions github-actions released this 03 Nov 09:26
16324dd

Since v0.28.69-alpha this release is about one thing: how fast a region looks right after you arrive in it, especially a crowded one. Four changes carry the measured gain. Textures now stream (a coarse picture first, then only the bytes the screen needs) and this is on by default. Other people's skin and clothes are ranked for download like scenery instead of waiting behind it. Avatars over the "Max fully rendered avatars" limit now show their bakes instead of one flat colour. And a texture that has arrived is bound at once, instead of waiting behind unrelated work. The arrival was measured run by run, and the numbers below come from those runs.

Arriving in a region

All figures were measured in one test region on one machine, as medians of three cold and three warm arrivals. "Cold" means the region and its textures are not in the disk cache yet; "warm" means they are. "Settled" means nothing is still waiting for a texture, apart from a tail of at most 50 faces.

Baseline (v0.28.78) v0.29.0
Cold arrival settles after 134 s 60 s
Warm arrival settles after 72 s about 12 s
Texture data downloaded on a cold arrival about 1.7 GB about 0.8 GB

Read these with three caveats:

  • The cold figure is from one calm morning. A busier network, another region or another machine will give other numbers.
  • The 134 s baseline, and the 106 s that streaming reached, were measured with a diagnostic probe that only runs under --diag and costs main-thread time. A normal session never runs it, and the 60 s was measured without it. Counted with the probe in both, cold went from 134 s to 106 s.
  • The warm figure and the download size do not depend on the probe: warm went from 72 s to 11 s with the probe in both, and 11.5 s without it.

What changed:

  • Textures stream, on by default (FEAT-PERF-29). The first request for a texture asks only for its first 18,840 bytes (an HTTP Range request) and shows that coarse picture. The viewer then fetches exactly as far as the pixel area on screen needs, as the reference viewer does. Partial downloads are kept in the disk cache and completed later. Bakes, sculpt maps and your own avatar's textures are still fetched whole. Streaming cut the cold download by about 58 % in our A/B test. --no-tex-stream turns it off for one start (every texture is fetched whole again); --tex-stream is still accepted and does nothing.
  • Other avatars' textures rank by size like scenery (BUG-PERF-24). They used to ask with priority 0 and got a download slot only when no scenery texture was waiting, which on a crowded arrival meant the end of the backlog. They now ask by apparent size (radius over distance), with the same function as scenery. The avatar under your camera and your own avatar keep their boosts.
  • Texture binds have their own main-thread lane (FEAT-PERF-31). A downloaded texture is bound to its faces on the main thread, which takes 1–5 ms, but it waited in the one shared queue behind unrelated work: 23–52 s in our measuring runs (part of that was the diagnostic probe mentioned above). It now has a lane of its own with a 4 ms per-frame budget, and the measured wait fell to 0.1–1.6 s. This is what brought the warm arrival from about 72 s to about 12 s.
  • Meshes come over our own HTTP client (FEAT-NET-07). LibreMetaverse's mesh queue let about 10 meshes per second through; on a cold visit to a crowded region they took over 11 minutes to arrive. Our own client with a 16-slot, priority-ordered gate delivers about 100 per second, and the meshes of that region were there in about a minute. Texture download slots are priority-ordered too (they were first come, first served). LibreMetaverse's own mesh cache is no longer consulted; SLNG's mesh disk cache is, so a mesh that was only in the old cache is fetched once more.
  • The avatar under your camera loads first (FEAT-PERF-27). Double-click a person in the radar, Alt+Click them, or simply zoom or walk up to them: their rig, clothes, bakes and textures are served ahead of the rest of the queue (at most three items in a row, so everything else still progresses). That avatar is also exempt from the "Max fully rendered avatars" limit while you look at it.

Avatars

  • Avatars over the limit show their bakes (BUG-AVATAR-19). A reduced avatar (one beyond "Max fully rendered avatars") was drawn in one flat jelly colour and its skin and clothes bakes were never fetched, so in a crowd most of them stayed grey for good. They now request their head, upper body, lower body, eyes and hair bakes while on screen and show each part as its bake arrives; the flat colour only stays until then. Where a bake hides a body part with alpha, the jelly colour fills in, so there are no holes or black patches; hair and eyelashes keep their cut-out. The bakes are prepared at the avatar's real size on screen, so the memory shrink pass can cut them under pressure. In the test region the number of reduced avatars still without a bake after 60 s dropped from nearly all of them to 0–1.
  • Worn rigged clothes bind their normal and specular maps (BUG-AVATAR-16). Clothes with a legacy material (normal map plus specular map) looked like flat, glossy plastic next to Firestorm, because those maps were never applied on avatars. They are now, together with the viewer's own highlight shape, so creases and a soft satin sheen replace hard, mirror-like spots. No extra draw calls. --diag prints a [WornMaps] line per face.

Accounts

  • Away and auto-response belong to one login (BUG-UI-43). The away, busy and auto-response texts, their switches and the idle timeout (Preferences › Chat & IM › Away & auto-response) were one shared setting, so a text saved as one avatar showed up and answered instant messages as another. They are now stored per grid and avatar. The first time an avatar logs in with no setup of its own, the old shared values are copied in once; they are never overwritten afterwards, and switching avatars without a restart loads the right set.

Network

  • No false "region stopped delivering events" warning for a region you already left (BUG-NET-37). LibreMetaverse keeps polling the event queue of a region it has disconnected from, and the answer "cap not found" (1,705 times in one session) was shown as a stalled region although it affects nothing you can see. The warning is skipped for any address that is not a connected region.

For testers and developers

  • A time base for arrival (FEAT-PERF-28). Every --diag line carries t=<seconds>; one [Arrival] line per region entry gives the moments when every full avatar has all its bakes, when no face waits for a texture and when the texture queue is empty, each with the megabytes until then; [TexWait.<class>] splits the waiting time into own avatar, focus avatar, other bakes, other worn items and scenery; [VramTerms] shows why the texture budget moved.
  • Per-stage texture timing (FEAT-PERF-30). [TexStage.<stage>] times each texture through Pool, Copy, Disk, DecodeWait, DecodedRead, Decode, Net, PrepWait, Prepare, QueueWait and Upload. tools/arrival_summary.py also prints "settled"; tools/ab_compare.py prints one line per run for A/B comparisons.
  • Fetch path counters (FEAT-NET-07): [MeshPipe], [MatPipe], [TexHttp], [TexWait], [LegacyMatPipe], [NamePipe], [WearablePipe] and [TexStream]. --tex-slots=N and --mesh-slots=N change the slot counts for A/B runs (only with --diag).
  • Queue wait per label (FEAT-PERF-32): [WorkCost] reports how long each kind of main-thread item waited. --no-bom-probe leaves out the Bakes-on-Mesh probes, which read textures back from the graphics card on the main thread and made up 98 % of the avatar material work in --diag runs; tools/baseline-run.ps1 leaves them out by default.
  • [FocusAvatar] under --diag reports how long the focus avatar took to complete.
  • A flaky unit test fixed (BUG-CACHE-02): the disk cache's start-up scan raced a test and failed CI at random. Test only, no change in behaviour.

Not yet confirmed in-world

  • The final build with streaming as the default was not walked through by eye. The A/B ran the same code with the switch on, and the maintainer's visual check with it on found nothing wrong.
  • Real answers of the asset server to Range requests (206 with Content-Range) are tested against a stand-in server in the unit tests and exercised by the in-world runs, but nothing asserts them.
  • The look of reduced avatars with their bakes (holes, black patches, sharpness once an avatar is promoted to full) has not been judged by eye, and no screenshot was taken.
  • Legacy normal and specular maps on worn clothes are confirmed by the self-test and by reading the viewer source; whether satin and creased fabric now look like Firestorm's is not yet confirmed in-world.
  • The focus-avatar priority was measured only through the work queue, not as "how long until the avatar I zoomed on is complete" in a crowd.
  • Away and auto-response per login is covered by unit tests and the self-test; the check with two real avatars logging in one after the other is still open.
  • BUG-NET-37 has no in-world confirmation yet.
  • Bakes are slower in some runs than in others (14.8–28.6 s and 14.2–46.6 s in two test sets); the spread is not explained.

Still missing

  • Bakes still take about 21–24 s from arrival until every full avatar has all of them, against a target of 15 s. Warm arrivals take as long as cold ones here, although nearly everything else is done in 12 s.
  • The graphics memory budget falls to about 4 GB during an arrival, and outfits can be unloaded under that pressure in crowded places. Nothing was unloaded in the test region; a more crowded place has not been measured.
  • A texture's transparency type is decided on the coarse picture and not again after it sharpens. In an offline check of 33 text...
Read more

v0.28.69-alpha — Avatar Shapes and Animation Fixed, Smoother Camera, Shared Materials, Cache Limit

Choose a tag to compare

@github-actions github-actions released this 30 Oct 19:09
ea24313

Since v0.28.46-alpha this release has two halves. Avatars now look right: other people's breast and hip shape, animation changes without a jolt, and deformer animations that stay in place. The rest is about frame rate and about a machine you have not tuned yet: shared prim materials, a graphics preset chosen from the hardware, a disk cache limit, a render thread that recovers by itself and mirrors that stop costing a second scene when you cannot see them.

Avatars

  • Body shape sliders now resize the body parts clothes are fitted to (BUG-AVATAR-15). Breast size, gravity, cleavage, butt size, belly and similar sliders move and scale the collision volumes (LEFT_PEC, RIGHT_PEC, BUTT, BELLY …), exactly as the reference viewer does (llpolymorph.cpp). Before, every fitted body part and garment was drawn at the default breast and hip size, so on avatars with a large shape a dress hung as a see-through shell off the chest while Firestorm showed one clean layer.
  • Animation changes no longer jolt (BUG-ANIM-08). Motions fade in and out and cross-fade per joint; the ease-in and ease-out times were decoded but never used, so one loop snapped to the next at full weight. It applies to your avatar and to everybody else's.
  • A joint an animation stops driving keeps its last pose (BUG-ANIM-09), as in the reference viewer. Body shape "deformers" (a short script-started animation that nudges the breast joints once every few seconds) used to snap back to rest a second later, so the breasts jumped into place and back. The nine joints the viewer's own default motions drive are exempt, so faces and hands do not stick.
  • Faces a script makes invisible with a fully transparent black colour are invisible (BUG-AVATAR-18). One body add-on shows digits by giving each character its own face and an alpha-0 colour; SLNG drew those faces white, so rows of white digits stood on the skin.

Camera

  • Alt+drag zoom is proportional and smooth (FEAT-UI-55). It scales the distance by 1 % per pixel and eases to the target like the mouse wheel; before it added a fixed 0.15 m per pixel at once, so it moved in steps and as fast near as far.
  • Double-clicking a person in the radar aims at their head, not about a metre above it.

Graphics defaults (FEAT-PERF-26)

  • A new install picks its preset from the machine. On the first start the viewer reads the dedicated video memory (and treats an integrated GPU as Low), the number of CPU cores and the RAM, and starts on Low, Medium, High or Ultra accordingly. A weak CPU or little RAM caps the preset even with a strong card. An existing installation keeps what it has.
  • Four shadow cascades are Ultra only. Low, Medium and High now use two. In a crowded region four cascades drew about three times the shadow geometry of two, and cost roughly 5 fps on a render-thread-bound scene. Ultra still uses four, and Graphics › Shadows › Advanced lets you set it by hand.

Disk cache limit (FEAT-CACHE-01)

  • Preferences › Network & cache › Cache has a size limit (default 20 GB, 1–64 GB), as the reference viewers have. When the cache reaches the limit, the least recently used files are removed down to 90 % of it; assets in use during the session are kept. Before this the raw asset cache grew without bound (55 GB on one test machine).

Render thread (BUG-PERF-22, FEAT-UI-81)

  • A frozen separate render thread now falls back by itself. If the optional separate render thread (Graphics › Performance › Advanced) stops responding, the viewer switches the saved choice back to the main thread and says so on the next start.
  • The notice stays. Graphics › Performance › Advanced keeps telling you that the render thread was switched off after a freeze, with a Switch on again button, instead of a toast that disappears after twenty seconds.
  • Why this matters for frame rate: in a crowded region the separate thread roughly doubled the frame rate (14 vs 27 fps in our test), so a silent fallback looks like "the viewer got slow overnight". It no longer is silent.

Mirrors (BUG-PERF-23)

  • A real-time mirror renders its second scene only while you can see it. It used to render whenever it was inside the camera cone, even when seen edge-on or from far away, where it covers a sliver of the screen. A mirror now has to take up a visible share of the screen first.

Textures and materials

  • Anisotropic filtering is 16× again as intended (BUG-RENDER-52): the project setting stored 16 where the engine expects an index, which asked for far more than 16×. It is now index 4 (16×), with a self-test that guards the value.
  • The D3D12 renderer is still opt-in. We measured it: about 10 % slower and about twice the video memory of Vulkan on the same scene. Its descriptor-heap limit was raised so it no longer fails on large scenes, but Vulkan stays the default.
  • Faces with the same material now share it (FEAT-PERF-20, BUG-RENDER-53). Identical prim faces use one material, so the renderer can merge their draw calls. In a crowded region (56 avatars, same spot, same view) that cut draw calls by about 17 %, the render-thread time by about 4 ms, and raised the frame rate from about 26 to about 30. It was an experimental flag before. While making it safe we fixed a bug where foliage stayed white: a surface that left its shared material before its texture arrived got a copy without the texture. Late textures now reach those copies too. --no-share-materials turns it off for a comparison.

For testers and developers

  • --diag adds [Zoom] (every wheel notch and eased frame), the wearer's agent id and the full object UUID in the [Attachment] line, and the isolation switches -HideAttachment / -OnlyAttachment in run-client.ps1 that hide or show only chosen worn meshes. It also adds xform= counters to the performance line (what moves Node3D transforms per frame) and a [MatAudit] report that lists textured prim faces wearing no texture.
  • An opt-in --selftest --prim-bench compares scene nodes against RenderingServer RIDs for prims; its result closed the RID backend (FEAT-PERF-24) as "no gain for frame rate".

Not yet confirmed in-world

  • The hardware-based first-start preset, with a clean user folder, has been exercised by the self-test only.
  • The Switch on again button and the notice in Graphics preferences are covered by the self-test and unit tests, not by a real freeze.
  • The new Alt+drag zoom has not been tried by the maintainer yet. The wheel and the radar jump were.
  • Shape morphs were confirmed on one avatar with a large shape; a second avatar with the same body was not in sight for the check. The digit fix for that add-on is merged but not yet seen on the avatars that showed the digits.
  • The held joint pose is checked for breast deformers; other avatars could expose a joint that should return to rest. Tell us if a hand, face or body part stays bent after an animation ends.
  • The planar mirror change was confirmed for "no second scene out of view"; the in-view case and the edge-on case were measured but are worth another look with a real mirror.
  • With shared materials, 3 opaque faces out of about 20,000 still stay without their texture (loaded, but never applied); that case is not understood yet.

Still missing

  • Worn rigged clothes ignore a legacy material's normal and specular maps, so satin and creased fabric looks like smooth plastic next to Firestorm (a fix is in progress).
  • Avatar loading in a crowded region waits behind tens of thousands of object jobs; loading the person you zoom on first is in progress.
  • The experimental separate render thread can still freeze the viewer on NVIDIA cards (seen twice). The fallback recovers on the next start; the cause is not found. Keep Render thread on "Main thread" if you want to avoid it.
  • About 4 ms of every frame in a crowded region (the part of the scene update that is not avatar animation) is not accounted for yet.
  • A landmark list with online status and an "offline" filter (FEAT-UI-78).
  • Hundreds of Leaked unsafe reference lines for shader materials can appear when the viewer quits after a long session; the cause is not found yet.

Verification

  • Both projects build in Debug and Release.
  • 4,100 unit tests green (335 assets, 2,429 core, 1,336 net; up from 4,004 in v0.28.46).
  • Self-test green, including new checks for the anisotropy index, the first-start preset, the render-thread notice, the mirror visibility rule, shape morphs, held joint poses and invisible black faces.
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.28.69-alpha.exe below and run it. It updates an existing installation in place.

v0.28.46-alpha — Preferences Reworked: Seven Categories and a Search

Choose a tag to compare

@github-actions github-actions released this 28 Oct 18:16

Since v0.28.40-alpha the Preferences window is rebuilt: seven categories instead of twelve tabs, one layout for every setting, expert options folded away per section, and a search field that filters the window as you type, the way Firestorm's does. Three settings that could change by themselves are fixed along the way.

Preferences, reorganised (FEAT-UI-79)

  • Seven categories instead of twelve tabs: General, Graphics, Camera & movement, Chat & IM, Keyboard, Network & cache, Help & info. Each is one scrolling column of sections; settings that used to sit on a catch-all "Display" page are now where you would look for them (names above avatars under General, friends' logon notices under Chat & IM).
  • Graphics has no sub-tabs any more. A header with the quality slider and a Profiles menu (click a saved profile to load it, "Save current as…", a Delete submenu), then View & detail, Shadows, Light & effects, Depth of field and Performance.
  • "Advanced" per section. Options a newcomer rarely needs (shadow cascades, SSIL and SSR, the render thread, texture compression, the chat-log file names, the camera pad speeds …) sit in a collapsed Advanced fold-out at the end of their section. Whether you opened it is remembered, as is the category you had open.
  • Greyed out, not hidden. A setting that only works while another one is on (the shadow sliders, the depth-of-field controls, the real-time mirror probe, the manual UI scale) is dimmed while its switch is off, so you see what the switch unlocks and nothing jumps around.
  • One mirror switch. "Mirrors" is the main switch; the real-time mirror probe that needs it is under Light & effects › Advanced.
  • A badge says when a change applies if it is not at once: Restart (render thread), Next login (chat-log folder), Reopen windows (language).
  • The top menu's Graphics entry opens Preferences on Graphics. The window opens at 760 × 520 and fits down to 640 × 420.

Search in Preferences (FEAT-UI-80)

  • A search field above the categories filters on every keystroke: categories and sections without a hit disappear, hits are highlighted and the first one is scrolled into view. Esc clears the field; clearing brings everything back.
  • It looks inside Advanced. A hit in a folded Advanced opens it while you search and folds it back afterwards. A hit on a greyed-out setting highlights the switch that unlocks it too.
  • German, English and Second Life names. Every setting is found by its text in your language and in English, and by the reference viewer's setting name where one exists, so RenderFarClip, MaxFPS or "bandwidth" work in the German UI. Accents do not matter, and several words must all occur.
  • Keyboard shortcuts take part. A term that matches a key action keeps the Keyboard category in the list and fills its own filter.

Fixed

  • Opening Preferences could change settings. Redrawing the Graphics page wrote values back: it could switch depth-of-field auto-focus off and round shadow and depth-of-field sliders to their step. Nothing is written any more when the window opens, redraws or closes.
  • Texture memory "Automatic" overwrote your manual size. Switching to Automatic stored the automatic budget as the manual value, so switching back lost what you had set. The manual size now stays.
  • The mouse wheel over a slider changed the setting instead of scrolling the page, easy to do by accident in the longer columns. It now scrolls.
  • Typing indicators no longer fill the console. Each time someone typed in an IM, three lines went to the console and godot.log. They now appear only with --diag or in the debug log.

Not yet confirmed in-world

  • The window and the search had a first look in-world. The Profiles menu round trip (save, load, delete) and the window in the English UI are covered by the self-test only.

Still missing

  • More informational lines (cache, region, appearance and memory reports) still print without --diag; moving them to the debug log is under way (BUG-UI-42).
  • The experimental separate render thread can freeze the viewer on NVIDIA cards (seen twice). Keep Graphics › Performance › Advanced › Render thread on "Main thread".
  • A landmark list with online status and an "offline" filter (FEAT-UI-78).
  • Hundreds of Leaked unsafe reference lines for shader materials can appear when the viewer quits after a long session; the cause is not found yet.

Verification

  • Both projects build in Debug and Release.
  • 4,004 tests green (up from 3,986 in v0.28.40).
  • Self-test green (180 checks), including new checks that every setting appears exactly once, that greyed-out rows follow their switch, that opening Preferences writes nothing, and the search cases above.
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.28.46-alpha.exe below and run it. It updates an existing installation in place.

v0.28.40-alpha — Favorites Bar from the Inventory, Offline Regions Shown, Quieter Console

Choose a tag to compare

@github-actions github-actions released this 28 Oct 13:28

Since v0.28.24-alpha the favorites bar shows the Favorites folder of your inventory, the login screen's "Start at" list follows it, a favorite whose region is down is marked before you teleport, and refused teleports say why in plain words. The console is far quieter.

Favorites

  • The favorites bar is your inventory's Favorites folder (FEAT-UI-72). The same places Firestorm shows. The old list that only this viewer kept is gone and was not migrated.
    • Click a place to teleport. Right-click: teleport, copy SLurl, remove from favorites (the copy goes to the Trash, the original landmark stays).
    • Add: drag a landmark from the inventory or the landmarks window onto the bar, or use + > add current location. The landmark is copied into the folder. While you drag, a card at the pointer says what dropping does.
    • Favorites added or removed in another viewer appear after a moment. The order is kept by this viewer; a new favorite goes first.
  • The login list follows the bar. A favorite added or removed during a session reaches the login screen's "Start at" list for the next login, also when it was added shortly before logging out (the logout waits up to 8 seconds to look it up). Landmarks are fetched over the ViewerAsset capability first; the older transfer is the fallback.
  • A favorite whose region is down is marked (FEAT-UI-77). In the bar it shows a warning sign, dimmed, with a tooltip; it stays clickable because the region may be back. On the login screen it is a greyed "(region offline)" line, because nothing says which region it points at. What the last session found is shown at once; it is checked again at login.
  • Optional: check the regions regularly. Preferences > Network has a checkbox, off by default. On, every 5 minutes the viewer asks the grid once per favorite region, so a region that goes down or comes back shows in the bar. Switching it on checks at once.

Teleports and login

  • Refused teleports say why. A refusal came as the grid's internal code (no_host, noaccess_tport). It now reads as the reference viewer's sentence in your language: destination not found, no access to the destination, teleport limit reached, and so on (15 cases).
  • A login that landed elsewhere says so, twice. The notice now says the place could not be reached (its region may be offline, or you have no access). If the one teleport the viewer then tries is refused, that message adds that you were redirected and why you stay where you are.
  • A silent region is named (BUG-NET-36). When the region never answers over UDP, the viewer says so at once and points at the firewall, instead of leaving you with sky and water.

Camera

  • Zoom into a person (FEAT-UI-73). A new Camera preference, "Disable camera constraints" (off by default), lets the wheel zoom go all the way into an avatar like Firestorm. The Alt+Click focus point now sits on the skin instead of a hand's width in front of it.

Console and logs

  • The console and godot.log are quiet while the debug log is on. The detailed per-object diagnostics the debug log switches on go to its file alone; only --diag also prints them. The same holds for the library's warnings (errors still print), refused-texture notes, the region-load summary and the list of attachments the viewer puts back on at login.
  • Not changed: the p_image error at start-up is a Godot engine bug with the font cache on the separate render thread. It is harmless and cannot be silenced from here.

Not yet confirmed in-world

  • The region-silent message (BUG-NET-36) needs a blocked UDP connection to see.
  • Group notices setting after a restart.

Still missing

  • A landmark list with online status and an "offline" filter (FEAT-UI-78).
  • Hundreds of Leaked unsafe reference lines for shader materials can appear when the viewer quits after a long session; the cause is not found yet.
  • Preferences tabs do not all follow one rule yet for when a change takes effect (planned: FEAT-UI-79, FEAT-UI-80).

Verification

  • Both projects build in Debug and Release.
  • 3,986 tests green (up from 3,940 in v0.28.24).
  • Self-test green (174 checks).
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.28.40-alpha.exe below and run it. It updates an existing installation in place.

v0.28.24-alpha — Away & Auto-response, Debug Log, Image Viewer, Better Menus

Choose a tag to compare

@github-actions github-actions released this 28 Oct 07:59

Since v0.28.3-alpha you can go Away or switch on Do Not Disturb and let the viewer answer instant messages for you, open textures and profile pictures in an image viewer, reach your own profile from a right-click on your avatar, and switch on a debug log that is safe to send in. Offline instant messages now arrive at login with their real send time.

Chat and status

  • Away, Do Not Disturb and automatic answers (FEAT-UI-75). Modelled on Firestorm. The Avatar menu has four switches: Away, Do Not Disturb, Autorespond and Autorespond to non-friends. While you are Away or busy the top bar says so; clicking it makes you available again.
    • Away: sets the away flag and animation on the grid, so other viewers show "(Away)". The viewer goes Away by itself after a quiet spell (default 5 minutes, from 2 minutes to 2 hours, or never) and comes back with the next key press or click, at the earliest ten seconds after going Away. Going Away when the viewer window loses focus is a separate switch, off by default: looking at another window is not being away.
    • Answers: only the first live message of a conversation is answered, once, and never a blocked avatar, a conversation you started or a message the grid stored while you were offline. Do Not Disturb wins over Autorespond to non-friends, which wins over Autorespond; Away answers only if you tick "Answer instant messages while Away".
    • Texts: four response texts, a timeout and the switches live in Preferences > Away & Auto-response. Switches act at once; Apply and Revert are only enabled while a text has been edited. An emptied text falls back to the default.
    • The answer you sent appears in the conversation tab, and another viewer's automatic answer is now shown to you instead of being dropped.
  • Offline instant messages (BUG-NET-35). Messages the grid kept while you were away are fetched at login, and they carry the time they were sent instead of the time you logged in.

Debug log

  • A debug log for bug reports (FEAT-UI-76). Preferences > Debug log has one checkbox. While it is on, everything the viewer prints, including the detailed diagnostics that are normally off, is written to its own file. Every line is cleaned first:
    • IDs, avatar names and region names become short tags. The same tag means the same thing inside one file, but it cannot be turned back into the value and does not match the next session's.
    • Passwords, tokens, session ids, IP addresses, e-mail addresses, the path part of web addresses and your Windows user name are removed.
    • Chat and instant message text is never logged.
    • Text typed into the world, such as object or parcel names, cannot be recognised, so read the file before you share it.
  • Finding the file: the tab shows the folder and has buttons to open it, to show the current file in the file manager and to copy the path. The last ten sessions are kept; one file stops at 64 MB. Logging slows the viewer down a little.

Interface

  • Image viewer. Double-click a texture in the inventory, or click a picture in a profile, to open it. The window opens at the picture's own size (smaller only if it would not fit the screen). "Free transform" stretches the picture to the window's shape; off, it keeps its proportions. A second click on the same picture raises the open window.
  • Profile pictures are sharp. They are loaded at full resolution instead of the blocky copy kept for the world, and are larger.
  • Right-click your avatar for your profile. Most of an avatar's body is worn mesh, so a right-click gave the object menu (Edit, Touch, Inspect, Detach) and no way to your profile. A worn item's menu now offers its wearer's Profile above its own entries.
  • Nametags. Right-click a nametag for the same menu as the body, double-click it to open the profile.
  • Script dialog buttons have one width. A menu from a piece of furniture showed every button at the width of its own text. They now share the width of the longest label, a long label is shortened with "…" and shows its full text as a tooltip, and the window grows to fit.
  • Window title bar. The minimise and close symbols are drawn instead of typed, and the bar is slimmer.
  • Compact Camera Controls (FEAT-UI-74). The window is smaller and no longer chunky: an icon row on top, smaller pads, and it scales to 2x.
  • Group notices setting is sent reliably. A lost network packet could drop the change, and the next refresh showed the old value.

Not yet confirmed in-world

  • Autoresponse: the answer to a first message with Do Not Disturb, Autorespond and Autorespond to non-friends, and its text appearing in the conversation.
  • Going Away by itself after the timeout, and coming back on input.
  • The debug log with a real session: the file's contents and the three buttons.
  • Right-click on a worn item showing the Profile entry on another person's avatar (only the menu on your own is confirmed).

Still missing

  • Do Not Disturb only answers; it does not silence notifications or decline offers as the reference viewer does.
  • The settings of Away and the answers are global, not per account, and Away and Do Not Disturb do not survive a restart.
  • No "(Away)" tag on your own nametag.
  • An inventory item attached to an answer, and per-friend answers.
  • Preferences tabs do not all follow one rule yet for when a change takes effect.

Verification

  • Both projects build in Debug and Release.
  • 3,940 tests green (up from 3,875 in v0.28.3).
  • Self-test green (169 checks).
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.28.24-alpha.exe below and run it. It updates an existing installation in place.

v0.28.3-alpha — Rez from Inventory, Login Start Location, New Camera Controls, Closer Zoom & Faster Crowds

Choose a tag to compare

@github-actions github-actions released this 26 Oct 18:32

Since v0.27.96-alpha you can rez objects from your inventory by dragging them into the world, choose where you start at login, and work the camera with a rebuilt Camera Controls window. The camera now also zooms as close as the reference viewer allows, and crowded regions run about a quarter faster.

This release replaces v0.28.0-alpha, which has been withdrawn: it is the same feature set plus the two performance changes and one fix below.

Building

  • Rez objects from the inventory (FEAT-INV-15). Drag an object from the inventory onto the ground or onto another object, and it is rezzed there.
    • The request is built the way the reference viewer builds it:
      • your active group;
      • a ray from the camera to the point you dropped on;
      • the target object when you drop on one.
    • A card at the pointer tells you what will happen:
      • "Place here";
      • "Probably no build rights here" (only a hint, the grid decides);
      • "No terrain or object";
      • "You are wearing this";
      • "Only in this region".
    • No-copy objects leave your inventory when rezzed, as they do on the grid. Copyable ones stay.
    • Worn items are refused (take them off first), and drops outside your current region are refused.
    • When the grid declines, for example for lack of build rights, its own message is shown.

Camera

  • Camera Controls rebuilt (FEAT-UI-74). The window now follows the reference viewer's layout:

    • Front, Side, Rear and Reset buttons;
    • a round orbit trackball;
    • a zoom column with + and − around a slider;
    • a square pan pad.

    How it works:

    • Trackball and pan pad: press anywhere on them. The side you press sets the direction, and dragging while held turns or reverses it. A tap nudges, holding moves. The centre dot resets the orbit or the pan.
    • Speeds: the reference viewer's, 90°/s orbit and 5 m/s pan, now per second instead of per frame. They no longer change with the frame rate.
    • Zoom slider: always shows the current distance, including zoom from the mouse wheel. It is logarithmic, so everyday distances use the whole track.
    • Size: the window opens at full size. It used to open at half scale with tiny arrow buttons.
    • Toolbar button: now an eye, like the reference viewer's View button.
  • Zoom closer (FEAT-UI-73).

    • Field of view: goes from 5° to 175°, depending on the window's shape, like the reference viewer. Ctrl+0 / Ctrl+8 change it in the viewer's steps and Ctrl+9 resets it; your choice is remembered.
    • Minimum camera distance by focus: 2 cm on an object, 15 cm on the ground, 50 cm on an avatar or anything it wears.
    • Near plane: follows the camera in, so a close focus point is no longer clipped away.

Login

  • Choose your start location (FEAT-UI-72). A new "Start at" row under the profile list offers:

    • My last location;
    • My home;
    • your Second Life Favorites;
    • a region you type (Region, Region/x/y/z or a SLURL).

    Details:

    • The choice is remembered per saved login profile.
    • The viewer cannot see your inventory before login, so it learns where each Favorite points while you are logged in. Favorites appear in the list after one session with "Save Login" ticked.
    • If the grid cannot start you at the chosen place, the viewer tells you where you landed instead. For a Favorite or a typed region it makes one teleport attempt.
    • The Login button no longer stays disabled after a disconnect.

Performance

  • Other avatars' worn meshes are merged by default (FEAT-PERF-23). The viewer draws each worn object of another avatar (body, head, clothing, hair) as a few merged meshes on one skin instead of dozens of separate ones.
    • Measured in a crowded region with about 50 avatars, same view, switched at runtime: 22-26 fps without, 28-33 fps with the merge. Draw calls fell from about 22,000 to 19,000, and skinned meshes drawn from 2,149 to 550. No visible difference.
    • The setting is under Preferences > Graphics > Hardware and now also applies to installations that had saved the old default "off". Your own avatar is not merged yet.
  • No more disposed-texture errors when arriving in a crowd (BUG-PERF-21). An avatar that was not fully rendered gave its bake texture back before it had been applied. Behind a long queue of work on arrival, the texture could be freed first, the step failed, and that body part kept its placeholder. The bake now keeps its texture until it is applied.
    • Before: 33 errors on one arrival. After: none in 15 minutes in the same region, with up to 59 avatars.
    • A failing step in the main-thread queue now names itself in the log.

Fixes

  • Alpha-masked and blended faces could be classified as opaque (BUG-RENDER-51). The prim shaders were first loaded on the main thread only at login. A material built on a worker thread before that could load a shader while the main thread asked for it too, and one shader ended up with two handles. Every check of "is this the alpha-mask shader?" then answered no. It showed in the automated self-test, where four alpha checks failed reliably. The shaders now load first thing at startup.

  • New avatars no longer log an engine error (BUG-AVATAR-14). The distance estimate for avatar texture detail read the avatar's position before the avatar was in the scene.

  • The recurring texture error in the log is labelled. The error is _texture_2d_update: p_image->is_empty(). It is a Godot 4.7 bug: the font glyph cache races the separate render thread.

    • We reproduced it in an empty Godot project: about 30 errors in 900 frames with the separate render thread, none with "safe".
    • It is harmless, and the log summary now says so.

Not yet confirmed in-world

  • The new Camera Controls window.
  • Rezzing: a no-copy object leaving the inventory, a worn item being refused, and rezzing on group land. Rezzing onto a prim is confirmed.

Still missing

  • The favorites bar taken from the inventory Favorites folder (FEAT-UI-72, second phase).
  • Object view and Mouselook in the Camera Controls window. There is no mouselook camera yet.
  • A rare Vertex amount (145) engine error with one particular worn eye mesh.

Verification

  • Both projects build in Debug and Release.
  • 3,875 tests green (up from 3,592 in v0.27.96).
  • Self-test green (164 checks).
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.28.3-alpha.exe below and run it. It updates an existing installation in place.

v0.27.96-alpha — PBR Materials on Second Life, Outfit Merge (+25 % fps, opt-in), Worn Alpha Order & Add-on Shapes

Choose a tag to compare

@github-actions github-actions released this 25 Oct 23:38

Since v0.27.71-alpha this release renders Second Life's PBR materials, fixes how worn alpha layers and add-ons are drawn, and adds an outfit merge that makes crowded regions about a quarter faster. It also stops the texture cache from forgetting the last region you visited.

Rendering

  • PBR materials on Second Life (BUG-RENDER-49). SLNG never read the per-face material ids that Second Life sends with each object, so every PBR face fell back to its old texture: a worn pet rendered plain white, PBR clothing and hair looked wrong.
    • The ids are now read, survive a relog with the object cache, and the material assets are fetched the way the reference viewer fetches them.
    • Worn meshes, animesh and HUDs get base colour, normal, metallic-roughness and emissive maps; world objects take colour and texture placement from the material.
    • glTF colour factors are no longer converted to linear twice (PBR tints were too dark), and PBR surfaces get the 4 % dielectric highlight of the reference viewer.
    • Hidden style variants of PBR hair stay hidden while a material is still loading.
  • Worn alpha in the reference viewer's order (BUG-RENDER-50). Semi-transparent worn items are now sorted by attachment point and write depth, as in the reference viewer. A rear add-on no longer paints over the clothing in front of it. A worn face's legacy material alpha mode (none, mask, blend) is honoured.
  • Pose animations move every joint (BUG-ANIM-07). Position keys in an animation were applied to the pelvis only. Add-on HUDs shape their meshes with such keys on the Bento groin and hind-limb bones, so add-ons showed the wrong shape or hung away from the body. Every joint now follows its position keys, and a running animation overrides a mesh's joint positions, as in the reference viewer.

Performance

  • Outfit merge (FEAT-PERF-23), opt-in. Other avatars' worn rigged meshes are merged per worn object onto one skin per avatar, on a worker thread.
    • Measured in a crowded region: about 2,900 → 700 drawn avatar meshes, render-thread time −30 %, 31–40 → 44–46 fps.
    • Switchable at runtime: Preferences → Graphics → Hardware → Outfit merge, or start with -OutfitMerge.
    • Off by default for now.
  • Texture cache keeps more regions (BUG-PERF-20). The decoded-texture cache was full at 4 GB, so returning to a region decoded almost every texture again and the scene stayed white for a long time. The default is now 16 GB.
  • Avatars that lose their full-render slot while loading no longer draw their outfit over the stand-in.

Avatars

  • Stand-ins are neutral grey (BUG-AVATAR-13). Avatars beyond the full-render cap are drawn in the reference viewer's grey instead of a per-avatar colour.

Diagnostics (-Diag)

  • [PbrFace] shows each PBR face's material, override and resulting alpha mode.
  • [WornFaces] and [BomAlpha] list a worn item's faces and how much of a Bakes-on-Mesh face its bake cuts away. Numbers only; nothing is written to disk.
  • A texture the server refuses logs the server's reason once.

Still missing

  • Outfit merge on by default and for your own avatar.
  • Login start location (last location, home, a favourite) is specified (FEAT-UI-72) but not built yet.
  • A rare Vertex amount (145) engine error with one particular worn eye mesh.

Verification

  • Both projects build in Debug and Release.
  • 3,592 tests green (up from 3,481 in v0.27.71).
  • Self-test green.
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.27.96-alpha.exe below and run it. It updates an existing installation in place.

v0.27.71-alpha — Shared Avatar Skins (+25 % fps in Crowded Regions), Opt-in Shared Materials, llTargetOmega & Seated-Avatar Fix

Choose a tag to compare

@github-actions github-actions released this 16 Oct 14:45

Since v0.27.61-alpha this release removes most of the main thread's per-frame avatar cost, adds shared prim materials as an opt-in, makes llTargetOmega objects turn, and fixes avatars that sat far below tilted seats.

Performance

  • Avatars share identical skins (FEAT-PERF-24). Every rigged mesh had its own skin, so Godot sent one render command per joint binding on every skeleton update. In a crowded region that was about 158,000 commands per frame for 17 animated avatars.
    • Identical skins of an avatar now share one skin object. Measured in-world in a crowded region: 21 → 26.5 fps. Rendering is unchanged, because the bind matrices are bit-identical.
    • -NoShareSkins turns it off for comparison.
  • Shared prim materials (FEAT-PERF-20 A1), opt-in. Faces with identical material values now share one material, so the engine can merge their draws.
    • A face that needs its own copy gets one for as long as it needs it: texture animation, a mirror, selection, or media. It returns to the shared material only when the last of those reasons ends.
    • Measured in a crowded region: 24,000 → 21,000 draws.
    • Off by default for now; start with -ShareMaterials to try it.
  • Frame-time breakdown. The [Perf] line now splits the main thread's wait after the scripts into its own flush work and the wait for the render thread. A diagnostic run also splits the render thread's frame. slng-perf.log from the previous session is kept instead of overwritten.

Objects

  • llTargetOmega objects turn (FEAT-RENDER-27). Spinning signs, rotating decorations and rocking hammocks now move client-side, as in the reference viewer. Avatars sitting on a turning object move with it.

Avatars

  • Seated avatars stay on tilted seats (BUG-AVATAR-12). Two avatars lying in a hammock were drawn several metres below it, sunk into the sand. A seated avatar's rotation was composed in the wrong order. LibreMetaverse's quaternion product is the reverse of the reference viewer's, so formulas ported literally applied the seat's rotation first. Only tilted seats showed it.

Not yet confirmed in-world

  • Shared materials over a longer session (selection, mirrors and media faces while sharing is on).
  • glTF overrides on objects restored from SLNG's object cache (carried over from v0.27.61).

Still missing

  • Shared materials on by default, after a longer test.
  • The render thread's per-draw cost: about 1.6 µs per draw in a crowded region; fewer draws remain the lever.
  • The HUD overlay renders every frame even without a HUD (BUG-PERF-17).
  • Your own avatar's meshes are not loaded first at login (BUG-PERF-14).

Verification

  • Both projects build in Debug and Release.
  • 3,481 tests green (up from 3,441 in v0.27.61).
  • 147/147 self-test checks.
  • dotnet format clean.

Install

Download PurisViewer_Setup_v0.27.71-alpha.exe below and run it. It updates an existing installation in place.

v0.27.61-alpha — Compressed Textures, GPU Texture Animation, glTF Material Overrides & Clean Teleports

Choose a tag to compare

@github-actions github-actions released this 15 Oct 18:43

Since v0.27.44-alpha this release cuts the cost of crowded regions: textures are held block-compressed on the graphics card, texture animation runs on the GPU, and mirrors are off by default. It also renders glTF material overrides, fogs objects below the water surface, and clears the old region at once after a teleport.

Performance

  • Compressed textures in video memory (FEAT-PERF-17 Part B). World textures are kept BC1/BC3-compressed on the card, using our own encoder, because Godot's export templates cannot compress.
    • A compressed copy is also stored in the disk cache, so a warm start uploads it directly. That upload is about ten times cheaper.
    • Normal maps, avatar bakes, HUDs and UI stay uncompressed.
    • Measured on 500 real textures: 2,283 MB went down to 344 MB. In a crowded region the video memory used fell from 7–8 GB to about 2.5 GB.
  • Texture animation on the GPU (FEAT-PERF-16). llSetTextureAnim is now evaluated in the prim shaders from a global clock.
    • Before, the viewer rewrote every animated face's placement on every frame. That cost about 4.6 ms per frame in a crowded region and now costs almost nothing.
    • Every mode is covered by a parity test (64 mode combinations) against the previous implementation.
  • Mirrors are a setting, off on every preset (FEAT-PERF-15), as in the reference viewer.
    • A mirror renders the scene a second time. In a crowded region that was about 6,000 draw calls and 8 ms of CPU time per frame.
    • With mirrors on, the material-based guess no longer turns floors, beaches or water-like planes into mirrors. Creator-flagged mirrors still work in any orientation.
  • Tiny objects are culled by size (FEAT-PERF-14). A distance limit now comes from each object's bounding radius and Object Detail, using engine visibility ranges. It also applies to the sun's shadow cascades.
  • Object Detail goes up to 8.
  • Draw-call measurement (FEAT-PERF-20 Phase 0). A new [BatchPotential] line (run-client -BatchPotential) predicts how many draws shared materials or per-area merging would save. In a crowded region, sharing identical materials would remove about 27 % of the prim draws, in the scene and in the shadows alike. Merging per area would add only 1–2 % on top. Shared materials are therefore the next step.

Rendering

  • glTF material overrides (FEAT-RENDER-26). Recoloured, re-glossed or re-textured PBR faces now render with the creator's overrides: base colour, emissive, metallic, roughness, alpha mode, double-sided, textures and the base-colour texture transform.
    • SLNG parses the override messages itself. LibreMetaverse's own parser rejects some of them (an empty [] or {}), and its warnings are now printed once per session instead of a stack trace each time.
  • Objects below the water surface get the water's fog (BUG-RENDER-48). Alpha-blended faces under the surface were drawn after the water, so they missed its fog and Fresnel veil.
  • Wet sand and similar materials no longer read as mirrors. A legacy material's environment reflection is now masked per texel by its specular map's alpha, as in the reference viewer.

Teleports

  • The old region disappears at once (BUG-NET-34). After a teleport, the region you left could stay on screen for up to a minute, floating at its old height inside the new region, while its objects were freed a few per frame.
    • Its objects, animesh and terrain are now hidden and stop colliding in the frame they are removed. Freeing them keeps its frame budget.
    • On a quick return, the terrain shows again at once.

Not yet confirmed in-world

  • glTF overrides on objects that are restored from SLNG's object cache. The simulator may not resend overrides for cached objects; the reference viewer stores them in its own cache. If a recoloured PBR object looks right only with -NoObjectCache, that is the cause.
  • Small-object culling: the A/B in a crowded region.

Still missing

  • Shared materials (FEAT-PERF-20 A1), the measured next lever for crowded regions.
  • The HUD overlay renders every frame even without a HUD (BUG-PERF-17).
  • Your own avatar's meshes are not loaded first at login (BUG-PERF-14).
  • The separate render thread is still opt-in.

Verification

  • Both projects build in Debug and Release.
  • 3,441 tests green (up from 3,189 in v0.27.44).
  • 141/141 self-test checks.
  • dotnet format clean, shader globals 36/36.

Install

Download PurisViewer_Setup_v0.27.61-alpha.exe below and run it. It updates an existing installation in place.

v0.27.44-alpha — Video Memory That Survives Teleports, Preset Switches and Shared Graphics Cards; Inventory Fix

Choose a tag to compare

@github-actions github-actions released this 11 Oct 16:01

Since v0.27.40-alpha this release hardens the video-memory work against what real desktops do: teleporting away and back, switching quality presets, and sharing the graphics card with other programs. It also fixes an inventory that could show as empty.

Video memory

  • Textures load after a teleport back (BUG-PERF-18). After leaving a region and returning, many world textures never loaded and faces were drawn untextured. There were two causes:

    • The process keeps memory that Godot has already freed. The budget counted that memory as in use and fell to its floor.
    • At that floor, each freshly uploaded texture was evicted by its own upload before anything referenced it.

    The fix:

    • The budget now takes Godot's own count of live video memory and counts the kept memory only partly.
    • The floor is a fifth of the OS budget.
    • A fresh texture is protected for 10 s.
    • Reduce levels are clamped to what the codestream holds.
  • The whole card counts (BUG-PERF-19). Windows' per-process budget did not stop the card from filling up. In one case, streaming software and a slicer held 3.4 GB beside the viewer: the card paged and the frame rate fell to 7 fps.

    • The viewer now also reads the adapter's total usage and keeps its texture budget below 92 % of the card minus what other programs hold.
    • A program that starts using the card lowers the budget at once. One that leaves raises it only after 30 s.
  • Preset switches hand memory back (BUG-PERF-19). Changing the quality preset recreated the render buffers while the old ones were still allocated, and the process grew with every switch. A switch now passes through a short buffer-free state first, so its footprint stays flat across repeated switches (measured).

  • Known limit. Godot's video-memory allocator keeps freed memory until a whole block is empty. After a teleport or a quality drop, the process therefore stays at its high-water mark. The budget accounts for it.

Inventory

  • A refused folder request no longer shows as an empty folder (BUG-INV-14). LibreMetaverse reads a refused folder request as an empty list, with no error. My Inventory could then show "(empty)" for the whole session.
    • Such a folder is now asked for again.
    • It keeps its "needs update" state, and collapsing and expanding it asks again.
    • A cache restore that leaves My Inventory without any folder is discarded and logged.
  • Note for this update: since v0.27.40 the inventory cache is stored per grid and avatar, so the first login after updating fetches the inventory once.

Still missing

  • The HUD overlay renders every frame even without a HUD (BUG-PERF-17).
  • Your own avatar's meshes are not loaded first at login (BUG-PERF-14).
  • The separate render thread is still opt-in. A long-session stability check is pending.

Verification

  • Both projects build in Debug and Release.
  • 3,189 tests green (up from 3,138 in v0.27.40).
  • 130/130 self-test checks.
  • dotnet format clean, shader globals 30/30, CI green.

Install: download PurisViewer_Setup_v0.27.44-alpha.exe below.

This is an alpha. It connects to OpenSimulator grids and to Second Life, and it is not finished software.

Full changelog: v0.27.40-alpha...v0.27.44-alpha