mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
Frame Studio - Gaussian splats (PLY, SPZ v2-v4), PLY vertex colours, panorama skies - Copy, cut, paste and duplicate for objects, splats and world items - Walkable-area rebake moved off the UI thread; viewport one frame sooner; refresh-locked pacing (FS_PACE=timer for the old one) - Fixed: bundle thumbnail use-after-free crash, auto-save deleting environments, saves into scratch copies, edits lost on non-ASCII paths, unopenable manifests with inf/nan, bundle save data loss, opening a home marking it changed, gizmo NaN, long paths, many malformed-file crashes - Updater verifies sha256, journals the swap and never leaves the exe missing Frame Home - Seats turn you to face their way - Draw batching (Hand Tutorials up to ~20% less GPU time), cut-out EQUAL pass, late head-pose read before submit - Proper queue-family hand-over to the compositor layer; layer descriptor generations and seqlocked slots; structural SPIR-V check - Fixed: hangs/crashes on damaged .fenv files and shaders, render-pass validation error, sync hazard in the foveation smoothing pass, unverified update downloads, half-done installs Tests: tests_loco/env_share/spv_check wired into CMake (FRAME_TESTS) and CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VsaXGU27gsrXjDoFtyFJP9
18 lines
1.2 KiB
C
18 lines
1.2 KiB
C
// stb_image implementation TU — provides JPEG decoding for glTF skybox panoramas
|
|
// (e.g. hogwarts custom homes ship a 20 MB pano.jpg; the cooked envs use ASTC/KTX, but these
|
|
// raw glTF .ovrscene homes reference image/jpeg, which our hand-rolled PNG/KTX path can't decode).
|
|
// JPEG-only keeps the build lean; PNG keeps its existing custom decoder in gltf_loader.h.
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#define STBI_ONLY_JPEG
|
|
#define STBI_ONLY_PNG // Blender round-trip import: re-load the exported PNG textures (gltf_import.h, stbi_load_from_memory)
|
|
#define STBI_ONLY_TGA // Unity / Blender model imports (model_import.cpp)
|
|
#define STBI_ONLY_BMP
|
|
#define STBI_ONLY_GIF // an environment's picture, model textures: the first frame
|
|
#define STBI_ONLY_PSD // Photoshop files as pictures and textures: the flattened image
|
|
#define STBI_ONLY_HDR // Radiance .hdr panoramas as an environment's sky (model_import.cpp)
|
|
#define STBI_NO_STDIO
|
|
// A tiny damaged file claiming a picture of millions of pixels a side made stb allocate gigabytes, or spend minutes
|
|
// filling one: nothing Frame reads is wider or taller than this (a 16K panorama is 16384 x 8192).
|
|
#define STBI_MAX_DIMENSIONS 16384
|
|
#include "stb_image.h"
|