Skip to content

About

Source-available Qt 6 Engine Studio shell for CaverEngine (Active Development)

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

RubyStudio

Status: ACTIVE DEVELOPMENT
RubyStudio (also referred to internally as RubyShell, RubyNeo, and in.aevora.neo) is the source-available Qt 6 Engine Studio for CaverEngine.


Source-Available Shell vs. Closed-Source Core

This repository contains only the RubyStudio editor shell under the AevoraOpenSource License (AOSL-1.0).

  • RubyStudio (This Repo): Source-available Qt 6 desktop shell (AevoraOpenSource — GPLv3-aligned copyleft for third parties, with Aevora Labs reserved/ARR-flexible rights).
  • CaverEngine (External Dependency): Closed-source native C++ runtime, renderer, scene system, and physics engine guarded by its own custom license. CaverEngine is not bundled, mirrored, or forked here.

Architecture: Upstream as Single Source of Truth

RubyStudio never forks CaverEngine. All engine-side editor hooks live upstream behind pure #if defined(RUBY_CAVER) && RUBY_CAVER guards:

  1. Direct Upstream Compilation (cmake/ReCaverEditor.cmake):

    • At configure time, CMake resolves an external upstream CaverEngine checkout via -DCAVER_ENGINE_PATH=/path/to/CaverEngine (defaulting to ../CaverEngine).
    • Compiles two static object targets directly from upstream sources with GNU libstdc++ to match Qt 6's C++ ABI:
      • recaver_editor (C++14): engine/caver, engine/platform, engine/desktop, Lua, Protobuf, PVRTools, plus vendored ImGui, ImGuizmo, and ImPlot (include/).
      • jolt_editor (C++17): thirdparty/jolt/Jolt and engine/caver/physics/World3DSession.cpp.
    • Defines RUBY_CAVER=1, CAVER_DESKTOP=1, CAVER_DESKTOP_EXPERIMENTAL=1, CAVER_EXPT=1, and CAVER_MOD_SUPPORT=1, linking both targets directly into ruby_studio (AEVORA_HAS_RECAVER=1).
  2. Viewport & Context Sharing:

    • src/studio/recaver_viewport.* hosts Caver::Editor::EditorSession and Caver::Editor::EditorViewport inside a Qt 6 QOpenGLWidget, sharing the active OpenGL/EGL context so live 2D/3D simulation, selection passes, gizmos, and WorldMesh editing execute on the real engine runtime.
    • src/ruby/editor/ provides the Qt 6 workspace shell (outliner, inspector, template/world registries, FileRift/Lua tooling, and WorldMesh authoring panels).
  3. No-Engine Compatibility Mode (legacy preset):

    • When building the shell without an upstream CaverEngine checkout, the legacy preset compiles against src/caver_bridge/ReCaverMock.cpp into ruby_legacy_studio.

Build and Run

Requirements (Linux)

  • clang++ with GNU libstdc++
  • CMake >= 3.20, Ninja, pkg-config
  • Development headers/libraries: Qt 6 (Widgets, OpenGLWidgets, Network, Concurrent), OpenGL / EGL, zlib, SDL2, SDL3, OpenAL, libgit2, mpg123, vorbis

Native Editor Build (with CaverEngine)

cmake --preset editor -DCAVER_ENGINE_PATH=/path/to/CaverEngine
cmake --build --preset editor --parallel
./build/bin/ruby_studio

Legacy Shell Build (without CaverEngine)

cmake --preset legacy
cmake --build --preset legacy --parallel
./build/legacy/bin/ruby_legacy_studio

Repository Layout

  • src/main.cpp — Application entry point
  • src/ruby/editor/ — Qt 6 workspace, inspector, outliner, and WorldMesh panels
  • src/studio/ — RecaverViewport (QOpenGLWidget) and 3D viewport editing tools
  • src/tools/, src/scmap/, src/gamedata/ — Asset, glTF, and format helpers
  • cmake/ReCaverEditor.cmake — Upstream CaverEngine (RUBY_CAVER=1) + jolt_editor build integration
  • docs/architecture.md — Detailed build and runtime architecture notes

Copyright © Aevora Labs (TheAevoraLabs) / Quantum Creeper.

About

Source-available Qt 6 Engine Studio shell for CaverEngine (Active Development)

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages