91 releases

0.5.21 Nov 9, 2024
0.5.18 Aug 26, 2024
0.5.15 Jul 26, 2024
0.5.9 Mar 30, 2024
0.1.3 Jul 29, 2021

#221 in Rendering

Download history 48/week @ 2024-07-29 6/week @ 2024-08-05 257/week @ 2024-08-12 4/week @ 2024-08-19 193/week @ 2024-08-26 82/week @ 2024-09-02 223/week @ 2024-09-09 24/week @ 2024-09-16 71/week @ 2024-09-23 22/week @ 2024-09-30 10/week @ 2024-10-07 19/week @ 2024-10-14 149/week @ 2024-11-04 28/week @ 2024-11-11

179 downloads per month
Used in 3 crates

Apache-2.0

175KB
3.5K SLoC

Rust Linux Rust Windows Rust MacOS rust-clippy analyze Static Badge Static Badge

Make sure to use latest Rust version, as the engine is always kept up to date.

About

Blue Engine is a general-purpose, easy-to-use, extendable, and portable graphics engine written in rust. The engine can run on many popular back-end APIs including Vulkan, D3D-12, GL-ES 3, and Metal as well as Windows, Linux, Mobile, and OSX to ensure cross-platform compatibility.

Hello World:

use blue_engine::{
    header::{ Engine, ObjectSettings },
    primitive_shapes::triangle
};

fn main() {
    // initialize the engine
    let mut engine = Engine::new().expect("engine couldn't be initialized");

    // create a triangle
    triangle("my triangle", ObjectSettings::default(), &mut engine.renderer, &mut engine.objects).unwrap();

    // run the engine
    engine
        .update_loop(move |_, _, _, _, _, _| {})
        .expect("Error during update loop");
}
  • [WIP] Guide

  • Check out the examples folder to get a sense of how things are done

  • Check out the utilities library for extra functionality with the engine

the credits to the image on top: NotPB

the development might seem slow sometimes, its due to multiple repositories being handled and due to my education taking a large chunk of my time. The project isn't dead, just slow.

Dependencies

~11–46MB
~765K SLoC