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.0.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.0-py3-none-any.whl (106.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: soul_symphony_2-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7843a9d07dbfdc06ccb897564d0870cce9ac6b0b7e95cc7a37dae8d15c261c8c
MD5 33ca27b17be53b7af93773b64c5e34aa
BLAKE2b-256 73ea65e29bebcac611ac3f91fcb2ba3797fa90aad9a7b2b45e10a2fcd8d2d61d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for soul_symphony_2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ec47454abcf3f101c5624054b5444f0505977ce32fa44d84cdd448f51c42b0d
MD5 ec45ed78175b34c5c2ab364a5138882a
BLAKE2b-256 9c045e1602e4b31f5224df3dfc2da14179e3a0b8a5d015c6ae4a3a44807ee5e3

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