Skip to main content

Panda3D procedural geometric dungeon prototype

Project description

GPU / CUDA 設定

このプロジェクトは起動時に CUDA とマルチGPUの可視化を自動判定します(torch または cupy が入っている場合)。

  • SOULSYM_ENABLE_CUDA=1 で CUDA 判定を有効化(既定: 1
  • SOULSYM_ENABLE_MULTI_GPU=1 で複数GPUを可視化(既定: 1
  • SOULSYM_CUDA_DEVICES=0,1 のように指定すると使用GPUを固定

PowerShell 例:

$env:SOULSYM_ENABLE_CUDA="1"
$env:SOULSYM_ENABLE_MULTI_GPU="1"
$env:SOULSYM_CUDA_DEVICES="0,1"
python main.py

注意:

  • Panda3Dのレンダリング自体は通常1GPUで動作します。
  • この設定は CUDA の利用可否と可視GPUを制御するための実行時設定です。

Panda3D Procedural Geometric Dungeon

This prototype uses a BSP-first hybrid generator optimized for geometric rooms and architecture-heavy features:

  • Rectilinear rooms and hallways via BSP partitioning
  • Connectivity via MST + a few extra loops
  • Architectural modules: stairs, ramps, pillars, dome accents, wall decorations

Why this approach

For geometric dungeons, BSP provides clean, structured spaces and predictable corridors. It is easier to compose with modular architecture than cave-focused methods like cellular automata.

Setup

python -m pip install -r requirements.txt
python main.py

Controls

  • WASD: move
  • Mouse: look
  • Esc: toggle mouse lock

Notes

  • This is intentionally lightweight and code-first.
  • Meshes are built from Panda3D primitive models and transforms for fast iteration.

WebGL (Arch WSL2)

Web 向けビルドは Arch WSL2 前提の手順を用意しています。

  • ガイド: docs/webgl-arch-wsl2.md
  • セットアップ: bash scripts/setup_arch_webgl.sh
  • Panda3D WebGLビルド: bash scripts/build_panda_webgl.sh
  • プロジェクト用freezifyスターター: python scripts/freezify.py

注: 本プロジェクト固有の freezify.py は別途調整が必要です(ガイド参照)。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soul_symphony_2-0.1.1.tar.gz (105.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soul_symphony_2-0.1.1-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

Details for the file soul_symphony_2-0.1.1.tar.gz.

File metadata

  • Download URL: soul_symphony_2-0.1.1.tar.gz
  • Upload date:
  • Size: 105.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for soul_symphony_2-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ef933119665ed319f3b2a70e7750720a385c457c5e691fe10010b6db53441d8d
MD5 b1db3b4b0aac7d5d84c7d243624242e1
BLAKE2b-256 24299b5976d6de209dfe0a824dcfe09c0b6b714aa9319ec1b74bbbeddde69a9f

See more details on using hashes here.

File details

Details for the file soul_symphony_2-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for soul_symphony_2-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fcaf522b89c06869a75aaf0494b615eb5f6180d7a6e1360e35e5f6f53e55f1c
MD5 586066cd41ce0046ad77ce6e3232e2b7
BLAKE2b-256 c5da095b4cdfbafcb362359b2e955f04c6483ea8297ae0c273cc3231833941e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page