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.2.tar.gz (107.3 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.2-py3-none-any.whl (108.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: soul_symphony_2-0.1.2.tar.gz
  • Upload date:
  • Size: 107.3 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.2.tar.gz
Algorithm Hash digest
SHA256 bf6ba54afe508fa59fca251dd22656e9a1ef528b8ff9e0ca7ccf6fa6cf9fa7a1
MD5 70b76aa5cffb80bb0c4a8276277df768
BLAKE2b-256 f24a4ad432e2086f4ce59f49e061286bb24256537a6d58281ba235ef5992cd8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for soul_symphony_2-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 95dcc7e254bc5cd59b2203aa55f4fe0cda56b1633d1cd193a0f329d01a6d8022
MD5 36bf347f96da52fbc8c32b0f1813a7f3
BLAKE2b-256 807432b0d46df3682e628bcfde78be151f8ba18bfe1cc345c11ccbbbf775d6cf

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