Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

LightWorld

LightWorld is a 3D tool for designing and exploring real-world scenes.

Usage

  1. Download LightWorld, unzip it, and open LightWorld.app on an Apple Silicon Mac with macOS 13 or later. The app includes its runtime dependencies.
  2. In Model Settings, enter your API Key, Base URL, and Model ID for an HTTPS provider that supports the Responses API.
  3. Submit a prompt to create or change the scene.
  4. Use Open World and Save World to work with .blend files.

You can skip model setup and still explore, open, and save worlds.

Controls

Action Keyboard Mouse or trackpad
Walk forward / backward W / S —
Sidestep left / right A / D —
Fly up / descend Hold Shift+W / Shift+S —
Move quickly forward / backward — Scroll up / down over the scene (about 2.5 meters per wheel notch)
Turn and look up or down — Hold the left mouse button and drag, or click and drag on a trackpad
Switch between first and third person V Click the view button in the toolbar
Edit the prompt — Click the prompt field
Add a line break in the prompt Shift+Return —
Send the prompt Return while editing Click Send
Resume navigation and keep the prompt draft Esc while editing Click the scene

Linux

On x86_64 Linux, LightWorld runs as a page in your browser. UPBGE draws the world on the machine that runs LightWorld, as it does on macOS, and the page shows it as a live picture. That machine needs a GPU with working Vulkan drivers. It does not need a display, so a remote server works.

  1. Run ./scripts/setup-linux.sh. It downloads UPBGE and Blender Lab MCP into the checkout (about 1.7 GB). It also needs the system packages xvfb, ffmpeg and libxtst6; as root it installs the missing ones with apt-get, otherwise it prints the command to run.
  2. Run ./scripts/run-linux.sh and open http://127.0.0.1:8770. For a remote machine, forward the port first, for example with ssh -L 8770:127.0.0.1:8770 <host>.
  3. Enter your model settings and submit a prompt. The controls are the same as on macOS.

Open and Save use the folder data/worlds inside the project checkout, regardless of the working directory you launch from, and can also upload a .blend file from your computer or download one to it. Use --worlds /path/to/worlds to choose another folder. The saved worlds open in the macOS app too.

./scripts/run-linux.sh --help lists the options, such as the port, the worlds folder, and the size of the picture (--size, 1280x800 by default). ./scripts/smoke-linux.sh checks the installation. The page is for one person at a time and is served to localhost only.

Build

Run ./scripts/package-macos.sh on an Apple Silicon Mac with Xcode to build the download ZIP in dist/. GitHub Actions builds, checks, and publishes each push to main.

The workflow publishes an ad-hoc-signed preview by default. To publish a notarized release, set the repository Actions secrets APPLE_CERTIFICATE_BASE64, APPLE_CERTIFICATE_PASSWORD, APPLE_ID, APPLE_APP_SPECIFIC_PASSWORD, and APPLE_TEAM_ID. Use a Developer ID Application certificate and its private key exported as a password-protected PKCS#12 file for the first two secrets.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages