Welcome to Raftel Engine

Raftel Engine is an advanced graphics engine designed to facilitate the creation of immersive 3D games and applications. Named after the legendary island in One Piece, Raftel Engine aims to be your ultimate destination in game development.

Showcase Example

Features

High Performance

Optimized rendering pipeline for maximum performance on modern hardware, with support for advanced rendering techniques.

Easy to Use

Intuitive API designed to make game development accessible to programmers of all levels, with clear documentation and examples.

Extensible

Modular architecture that allows you to extend and customize the engine to your needs through a plugin system.

Platform

Develop once and deploy everywhere with support for Windows.

Modern OpenGL

Built on modern OpenGL features for maximum compatibility and performance across different hardware configurations.

Asset Pipeline

Comprehensive tools for importing, processing, and optimizing 3D assets for your games and applications.

Getting Started

Follow these steps to get started with Raftel Engine:

  1. Install Raftel Engine on your development machine
  2. Complete the Creating a Window tutorial to set up your first project
  3. Explore the API Documentation to understand the engine's capabilities
  4. Join our Community to connect with other developers
Quick Start Example
#include "raftel/window.hpp"
#include "raftel/mesh.hpp"

int main() {
  // Initialize window system
  auto windowSystemOpt = Raftel::WindowSystem::make();
  auto windowOpt = Raftel::Window::make("My First Raftel App", *windowSystemOpt);
  
  if (!windowOpt) {
    std::cerr << "Error creating window.\n";
    return -1;
  }
  
  windowOpt->MakeContextCurrent();
  
  // Create a simple cube
  auto cube = Raftel::MeshFactory::createCube(30.0f);
  
  // Main render loop
  while (!windowOpt->ShouldClose()) {
    windowOpt->clear();
    cube->draw();
    windowOpt->swapBuffers();
  }
  
  return 0;
}

Tutorials

Begin your journey with Raftel Engine through our comprehensive step-by-step tutorials:

Creating a Window

Learn how to set up a window and initialize the Raftel Engine rendering context.

Drawing a Triangle

Understand the basics of rendering geometry with Raftel Engine.

Handling Input

Learn how to capture and respond to user input for interactive applications.

Loading 3D Meshes

Import and render 3D models from various file formats.

Downloads

Get started with Raftel Engine by downloading the latest version below:

Raftel Engine v0.1.8

Released on May 28, 2025

This version introduces optimized rendering pipelines, deferred rendering, HDR with dynamic tonemapping, and much more.

Raftel Engine v0.1.7

Released on April 19, 2025

This version introduces optimized rendering pipelines, deferred rendering, HDR with dynamic tonemapping, and much more.

Raftel Engine v0.1.6

Released on March 13, 2025

This version includes support for multiple 3D model formats, advanced rendering features, and much more.

Build from Source

If you prefer to build from source or need the latest development version, check out our GitHub repository and follow the build instructions.

Release Notes - v0.1.8

Physics & Interactions

  • Collision System: Implementación completa de un sistema de colisiones físicas.
  • Gravity Simulation: Integración de gravedad en las entidades del mundo 3D.

Material & Rendering Tools

  • Material Viewer Window: Nueva ventana para previsualización de materiales.
  • PBR Support: Soporte completo para materiales basados en física (PBR).

Graphics Enhancements

  • HDR Bug Fixes: Solución de errores relacionados con el renderizado HDR.
  • Improved Bloom: Efecto de Bloom más refinado y configurable.

Mesh & Material Management

  • Hierarchy Improvements: Mejor gestión entre mallas, submallas y materiales asociados.

Release Notes - v0.1.7

Rendering Pipeline Improvements

  • Deferred Rendering: New deferred rendering pipeline for highly efficient rendering with many lights
  • Performance Optimization: Significant performance improvements across the entire rendering pipeline
  • Shadow System Enhancement: Shadow support for all light types in a scene simultaneously

Visual Enhancement Features

  • HDR Rendering: High Dynamic Range rendering for more realistic lighting and colors
  • Tonemapping: Advanced tonemapping algorithms for converting HDR to display output
  • Dynamic Tonemapping: Automatic adjustment based on scene luminance for optimal visual quality

Customization & Flexibility

  • Custom Core Shaders: Users can now replace the core rendering shader (for forward rendering)
  • Rendering Pipeline Selection: Toggle between forward and deferred rendering based on scene requirements

Debugging & Development Tools

  • Ray Casting: New raycasting system for object selection and collision detection
  • Line Rendering: Direct rendering of 3D lines for debug visualization and UI elements

Release Notes - v0.1.6

3D Model Support

  • Multiple Format Support: Added support for OBJ, FBX, STL, GLB/GLTF, and DAE (Collada) formats
  • Material Files: Automatic loading and processing of MTL material files
  • Enhanced Parsing: Improved material property detection and application

Rendering Features

  • Forward Rendering: Implemented a complete forward rendering pipeline
  • Multiple Lights: Support for various light types in a single scene
  • Shadow Mapping: Real-time shadows for directional and spot lights
  • Ambient Lighting: Global illumination system for realistic lighting
  • Skybox: Customizable skybox with 6-sided cube mapping

Editor Features

  • Entity Management: Default window for entity manipulation at runtime
  • ImGui Integration: API for creating custom editor windows with ImGui
  • Property Editors: Visual editors for component properties

Scripting System

  • Lua Integration: Full Lua scripting support for game logic
  • API Bindings: Comprehensive bindings to engine features
  • Component Scripting: Attach scripts to entities through the component system

Performance Improvements

  • JobSystem: Multi-threaded task management for parallel processing
  • Worker Threads: Optimized thread pool for background tasks
  • Memory Optimization: Reduced memory footprint for large scenes

We're excited to see what you'll create with Raftel Engine! Share your projects with us using the hashtag #RaftelEngine on social media.