Repository navigation
Home
A complete 3D game engine built from the metal up — in Python.
Deferred PBR rendering · CPU physics · Built-in editor · Hub launcher · Packages · One-click export for Windows, Linux and macOS
Heaven3D is a from-scratch 3D game engine written in Python on top of ModernGL, which gives it direct access to the OpenGL Core profile. There is no Panda3D, Unity, Unreal or GameGuru underneath: the renderer, physics, editor, model importers, audio and gameplay systems are all written specifically for Heaven3D.
The whole engine is a single file, Heaven3D.py, so it is easy to read, hack on and bundle into your own projects. Around it sit:
| Part | File | What it does |
|---|---|---|
| Engine + Editor | Heaven3D.py |
Renderer, physics, editor UI, importers, blueprints, runtime |
| Runtime | Heaven3D_runtime.py |
The game player used by exported games (no editor) |
| Hub |
Heaven3D_Hub.py / .pyw
|
Launcher like Unity Hub: projects, templates, tutorials, packages, export |
| FILE BURNER | FILEBURNER.py |
Legacy tool that makes old projects portable (now built into saving) |
| Installer | install.py |
Creates a virtual environment and installs/checks dependencies |
| I want to… | Read |
|---|---|
| Install and run Heaven3D | Installation → Getting Started |
| Learn the editor | Editor Guide |
| Build a level without code | Built-in Blueprints · Templates |
| Write game logic in Python | Scripting Guide → Scripting API Reference |
| Bring in models from Blender or the web | Importing Models |
| Make things solid, bouncy or physical | Physics |
| Sculpt terrain, generate buildings, add effects | World Tools |
| Add features with packages, or write one | Packages → Writing Packages |
| Ship my game to players | Exporting Games · Portable Projects and Save Games |
| Fix a problem | Troubleshooting and FAQ |
Rendering — see Rendering
- Deferred renderer with a G-buffer (positions, normals, albedo, material, full-colour emissive)
- HDR float framebuffers with ACES filmic tone mapping
- PBR materials (Cook-Torrance GGX, metallic-roughness) with editable emission
- Forward transparency pass, SSAO, screen-space reflections, bloom, PCF soft shadows
- FXAA 3.11 stacked with 4× hardware MSAA
- Procedural day/night sky, animated clouds and a Gerstner-wave ocean in every scene
Physics — see Physics
- Box, sphere, capsule, plane, heightfield and exact triangle-mesh colliders
- Sequential-impulse rigid bodies with friction and restitution, sweep-and-prune broadphase, persistent manifolds and simulation islands
- Raycasts, overlap queries, triggers, collision events and a kinematic character controller
- Pure CPU, optional Numba acceleration with bit-identical fallback
Editor — see Editor Guide
- Hierarchy, Inspector, transform / light / spawn / view gizmos and a visual collider editor
- Lit, Lit + Wireframe and Wireframe (x-ray) views
- Terrain sculpting and painting, a modular Building Editor, a Particle Studio
Gameplay — see Built-in Blueprints and Scripting Guide
- Blueprints: Python behaviours you attach to any object
- Ready-made:
FPSController,Weapon,Projectile,Health,EnemyAI,EnemyFlyShooter,Pickup,Spawner,MovingPlatform,TriggerZone,LevelEndTrigger - 13 synthesised sounds, your own
.wav/.ogg, 3D positional audio, music - HUD text, bars, crosshair and damage vignette; save games
Asset import — see Importing Models
- Full glTF 2.0 / GLB, Blender
.blendread directly (2.5x to 5.0, no Blender needed), OBJ + MTL - One model = one object in the Hierarchy
Packages — see Packages
Light Theme · Physics Plus · Spline Roads · Car Race Kit · MakeHuman Characters · Tropical Islands · HQ FPS Weapons
Engine 2.7.3 · Hub 1.4.0. See the Changelog for what changed in each release.
Heaven3D is licensed under the Apache License 2.0. Assets inside packages have their own licences (most are CC0); see each package page.
☁️ Heaven3D · Repository · Report a bug · Apache License 2.0
☁️ Heaven3D
Getting started
Using the editor
Making games
Packages
- Packages
- Writing Packages
- MakeHuman Characters
- Tropical Islands
- HQ FPS Weapons
- Car Race Kit and Spline Roads
- Physics Plus and Light Theme
Shipping
Reference