Skip to main content

Eagle Engine

3D-extension for PyGame with GPU-rendering by ModernGL (OpenGL 3.3 Core).

Installation

pip install eagle-engine

Quickstart

import pygame
from eagle.core import Engine
from eagle.primitives import Cube
from eagle.gfx import Camera

engine = Engine(800, 600, "Eagle")
camera = Camera(position=(0, 0, 3))
cube = Cube()

@engine.on_render_3d
def render():
    engine.draw(cube, camera)

@engine.on_render_2d
def hud():
    font = pygame.font.SysFont("Arial", 20)
    engine.surface.blit(font.render("Hello Eagle", True, "white"), (16, 16))

engine.run()

Contents

  • SDL2 window + OpenGL 3.3 Core + MSAA ×4

  • Math (Vec3/Mat4/Transform) on numpy

  • Blinn-Phong-lighting

  • 9 primitives: Cube, Sphere, Icosphere, Plane, Grid, Cylinder, Cone, Torus, Axes

  • Loaders of .obj (+.mtl, textures) and .stl (ASCII + binary)

  • SceneObject / Scene with transfomation hierarhy

  • 2D-overlay by pygame.Surface → GL-texture

  • Camera with orbital controls (mouse + mouse wheel)

License

MIT

Metadata

Release files for eagle-engine 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eagle-engine 0.1.0
File Size Uploaded Provenance Actions
eagle_engine-0.1.0.tar.gz 254.4 kB Without provenance Details for eagle_engine-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eagle-engine 0.1.0
File Interpreter ABI Platform Actions
eagle_engine-0.1.0-py3-none-any.whl Python 3 none any Details for eagle_engine-0.1.0-py3-none-any.whl

Total release size: 516.7 kB

Release files / eagle_engine-0.1.0.tar.gz

Download URL eagle_engine-0.1.0.tar.gz
Size 254.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e6360af153fe12e21be4cc34c885c1da99e572c49c1d8a804b18c7988914b671
BLAKE2b-256 checksum
How to use checksums
791f49719a59b2240702d9af7eb871c1c13bf99259021d44ecaac2ab826faf5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Release files / eagle_engine-0.1.0-py3-none-any.whl

Download URL eagle_engine-0.1.0-py3-none-any.whl
Size 262.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0fcc0c6a746fcf52a4f0947544fab6324f4f6ec2e18423cbed12dee90b8ccb3
BLAKE2b-256 checksum
How to use checksums
34a9a15b7cff86946d685590752ecef0c2d3824621a675320c72329d6dfb27c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.5

Security for eagle-engine 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page