mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
Frame Studio now builds for Windows (x64, x86, ARM64), Linux (x64, x86, ARM64)
and macOS (Apple Silicon, Intel):
- studio/platform.h with Win32 and POSIX implementations (dialogs through
tinyfiledialogs on Linux/macOS), a GLFW window beside the Win32 one, and a
platform-neutral frame pacer
- MoltenVK support in the renderer (portability enumeration) and bundled in
the macOS app
- 32-bit builds: large-address-aware, LZMA packing within a 32-bit address space
- unaligned file reads in the loaders go through loadUnaligned (no UB)
- scripts/build-studio.sh, studio/build_windows.bat [x64|x86|arm64],
cmake/llvm-mingw.cmake, and a GitHub Actions workflow building every target
Frame Home installs without Studio: frame/install-frame-home.{sh,ps1} and
"Install Frame Home.bat" (packaged as FrameHome-installer.zip).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
701 B
C
12 lines
701 B
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_NO_STDIO
|
|
#include "stb_image.h"
|