#3d #graphics-rendering #metal #rendering #macos #graphics

render_engine

A Metal-based 3D rendering engine for macOS

1 unstable release

new 0.1.0-alpha.3 Apr 5, 2025

#58 in #metal

MIT license

130KB
2.5K SLoC

3D Engine

This project is not a typical game engine, but an ambitious attempt to create a highly realistic, physics-driven universe simulation from the quantum scale to the cosmic scale. It aims to simulate the entire process of cosmic evolution, from the Big Bang to the formation of complex civilizations.

Project Vision

  • Create a vast, procedurally generated universe with unprecedented physics accuracy, in both the creation of the universe and the live universe.
  • Simulate everything from quantum fluctuations in the early universe to the rise and fall of galactic civilizations, all based on fundamental physical principles
  • Develop complex economic models for resource distribution and trade
  • Provide a platform for exploring theoretical models of space colonization, long-term civilization development, the underlying physics of the cosmos

Key Features

  • Efficient rendering using Metal API (current focus on macOS)
  • Realistic physics simulation including n-body gravity, relativistic effects, and fluid dynamics.
  • High fidelity procedural generation of galaxies, star system, planets, and biomes that have physics to back up every aspect of their being
  • Advanced AI for simulating civilization behaviors and decision-making
  • Modular architecture for easy extensibility and scientific model integration

Prerequisites

  • Rust (latest stable version)
  • Metal-compatible GPU

Installation

Add this to the Cargo.toml:

cargo add render_engine

API Documentation

Full documentation is available at docs.rs/render_engine

Contributing

Contributions are encouraged from scientists, developers, and enthusiasts. Please read the Contributing Guide for more details.

License

This project is licensed under the MIT License--see the LICENSE file for details.

Acknowledgments

  • The Rust community for their excellent documentation and crates
  • Apple for the Metal API
  • Claude AI for excellent troubleshooting and debugging help

Dependencies

~11–25MB
~424K SLoC