A Python 3D engine inspired by Source Engine with SDK and editor
Project description
NatEng3D - 3D Game Engine
A Python-based 3D engine inspired by Source Engine, featuring a complete SDK with level editor.
Installation
pip install nateng3d
Quick Start
python
from nateng3d import NatEng3D, Vector3
from nateng3d.engine.core import PrimitiveGenerator
# Create engine instance
engine = NatEng3D("My Game", 1280, 720)
# Create a cube
vertices, indices = PrimitiveGenerator.create_cube()
mesh = engine.load_mesh("my_cube", vertices, indices)
entity = engine.create_entity("Cube")
entity['mesh'] = mesh
entity['position'] = Vector3(0, 0, 0)
# Run the engine
engine.run()
Features
Pure Python - Built with tkinter and numpy
3D Rendering - Perspective projection, camera, meshes
Entity-Component System - Modular architecture
SDK with Editor - Hammer-like level editor
Primitive Generation - Cubes, spheres, planes
SDK Tools
Run the level editor:
python
from nateng3d.sdk import HammerEditor
editor = HammerEditor()
editor.run()
Controls
WASD - Camera movement
Arrow Keys - Camera rotation
F1 - Toggle wireframe mode
F2 - Toggle debug info
Examples
Check the examples/ directory for more usage examples.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nateng3d-1.2.8.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nateng3d-1.2.8.tar.gz.
File metadata
- Download URL: nateng3d-1.2.8.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96726fe82a668d9769be20a936337e82c6c8471069ba3cb02b2893085ba8cca8
|
|
| MD5 |
0fe9b6a20dcbd76ef516005bcd76ea75
|
|
| BLAKE2b-256 |
7eb89d91697ad9c7db792e4bdf9e4ecb45b88b2c4257ca9af239bc442e53d0b5
|
File details
Details for the file nateng3d-1.2.8-py3-none-any.whl.
File metadata
- Download URL: nateng3d-1.2.8-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff3040cf0d0daa1d2bf50ae20e8a9d656de386d2ee236f2e5e68f84a0b35ab26
|
|
| MD5 |
ff2763971a8bfdc7397281bd4a14823b
|
|
| BLAKE2b-256 |
86f4bc69d9b8594a3d18d149c1f261ac8fe1e75fcd1fa397ea8c0b283c3836f0
|