#real-time #engine #3d #built #focus #headless #perigee

macro perigee_macros

Macros for the Perigee realtime 3D engine. Please consume these through the perigee crate and not this crate.

2 releases

0.1.1 Apr 5, 2023
0.1.0 Feb 25, 2023

#34 in #headless

38 downloads per month
Used in perigee

MIT license

20KB
361 lines

Perigee

A headless realtime 3D engine built with a focus on the web.

For a (growing) list of examples, check out perigee.aunyks.com.

Why this?

I want the core logic of my video games to fit in a single WebAssembly binary so I'm free to handle input and graphics on any platform I want (desktop, web, refrigerator, console, mobile, etc) while the behavior stays the same.

This means that I can compile my game to a single, portable .wasm file and I (or other developers / modders) can bring the game to a new platform, change audio or visual assets, or use new input devices without needing to recompile the core game logic.

Why not this?

If you're not interested in portability, or if you absolutely despise writing WebAssembly glue code between a Perigee binary and your runtime(s) of choice, then other engines may be better for you.

Installation

Rust
Add the following to your Cargo.toml

[dependencies]
perigee = "0.7.0"

Blender
Instructions coming soon

Development Requirements

  • Blender Addon (blender_addon/)
  • Rust Crate (rust/)
    • Rust and its Cargo package manager to build the core game simulation
    • Rustfmt for formatting
    • Clippy for linting

Licensing

Licensed under the MIT license.

Copyright © 2023 Gerald Nash

Dependencies

~1.5MB
~33K SLoC