Repository navigation
v0.28.3-alpha — Rez from Inventory, Login Start Location, New Camera Controls, Closer Zoom & Faster Crowds
Pre-releaseSince 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.
- The request is built the way the reference viewer builds it:
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/zor 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 formatclean.
Install
Download PurisViewer_Setup_v0.28.3-alpha.exe below and run it. It updates an existing installation in place.