All Projects → BrokenGamesUG → delphi3d-engine

BrokenGamesUG / delphi3d-engine

Licence: MPL-2.0 license
A 3D-graphic and game engine for Delphi and Windows.

Programming Languages

pascal
1382 projects

Projects that are alternatives of or similar to delphi3d-engine

Tinyraycaster
486 lines of C++: old-school FPS in a weekend
Stars: ✭ 1,383 (+2559.62%)
Mutual labels:  engine, rendering, 3d-graphics
Bgfx
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Stars: ✭ 10,252 (+19615.38%)
Mutual labels:  engine, rendering, directx
Renderhelp
⚡️ 可编程渲染管线实现,帮助初学者学习渲染
Stars: ✭ 494 (+850%)
Mutual labels:  engine, rendering, 3d-graphics
MoravaEngine
2D/3D graphics engine written in C++ language. It currently supports the following graphics APIs: OpenGL 3.3+, Vulkan 1.2, DirectX 11. Its current purpose is to experiment with various CG concepts and techniques.
Stars: ✭ 129 (+148.08%)
Mutual labels:  rendering, directx, 3d-graphics
Tinyrenderer
A brief computer graphics / rendering course
Stars: ✭ 11,776 (+22546.15%)
Mutual labels:  engine, rendering, 3d-graphics
Yave
Yet Another Vulkan Engine
Stars: ✭ 211 (+305.77%)
Mutual labels:  engine, rendering, 3d-graphics
D3D12Renderer
Custom renderer and physics engine written from scratch in C++/Direct3D 12.
Stars: ✭ 17 (-67.31%)
Mutual labels:  engine, rendering, 3d-graphics
Ogre
scene-oriented, flexible 3D engine (C++, Python, C#, Java)
Stars: ✭ 2,582 (+4865.38%)
Mutual labels:  engine, rendering, directx
Glumpy
Python+Numpy+OpenGL: fast, scalable and beautiful scientific visualization
Stars: ✭ 882 (+1596.15%)
Mutual labels:  engine, rendering
Vulkan2drenderer
Easy to use 2D rendering engine using Vulkan API as backend.
Stars: ✭ 60 (+15.38%)
Mutual labels:  engine, rendering
Gears Vk
Powerful low-level C++20 rendering framework for Vulkan 1.2, including Real-Time Ray Tracing (RTX) support, built atop Auto-Vk.
Stars: ✭ 71 (+36.54%)
Mutual labels:  engine, rendering
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (-53.85%)
Mutual labels:  engine, rendering
Physics3d
A 3D physics engine
Stars: ✭ 101 (+94.23%)
Mutual labels:  engine, rendering
SlimTracin
Software ray tracer written from scratch in C that can run on CPU or GPU with emphasis on ease of use and trivial setup
Stars: ✭ 49 (-5.77%)
Mutual labels:  engine, 3d-graphics
Mtlpp
C++ Metal wrapper
Stars: ✭ 425 (+717.31%)
Mutual labels:  engine, rendering
Nebula Trifid
Nebula Trifid
Stars: ✭ 62 (+19.23%)
Mutual labels:  engine, rendering
Bansheeengine
Modern C++14 game engine with Vulkan support, fully featured editor and C# scripting
Stars: ✭ 2,906 (+5488.46%)
Mutual labels:  engine, directx
Innocenceengine
Cross-platform modern game engine.
Stars: ✭ 149 (+186.54%)
Mutual labels:  engine, rendering
Vxr
General purpose engine written in C++ with emphasis on materials rendering (PBR, clear coat, anisotropy, iridescence)
Stars: ✭ 181 (+248.08%)
Mutual labels:  engine, rendering
3D-Engine-OpenGL-4
3D Graphics Engine For Games | C++ OpenGL 4.1
Stars: ✭ 19 (-63.46%)
Mutual labels:  engine, 3d-graphics

Delphi3D-Engine

A 3D-graphic and game engine for Delphi, DirectX 11 and Windows. It was used to develop the free-to-play multiplayer game Rise of Legions.

Usage

Engine

Either copy all files in your project or the way we usually link to it: Add the Engine directory and all subdirectory to your search path in Delphi (must be configured for each target 32-bit and 64-bit). The engine is tested (in Rise of Legions) to work with 32-bit using the graphic components (client) and 64-bit working without any graphic (server).

  • With Delphi 10.1 Berlin (version it was developed in): The built-in DirectX-Headers contains some bugs, which has been fixed by us. Ensure to include the directory FixedDX11Header in your project, so the fixed WinapiD3D11.pas is used. Additionally you need to copy the FMX-Source-Files (from Embarcadero\Studio\18.0\source\fmx) into that folder as well to compile them with the patched api headers. Apply the diff FMX.Canvas.D2D.diff to the respective file.
  • With Delphi 10.4+ (feedback from community): Delete the WinapiD3D11.pas from the FixedDX11Header directory, remove the line FMX.Canvas.D3D.TCustomCanvasD2D.LoadFontFromFile(Path); from Engine.GfxApi. There won't be custom fonts, but it should compile and work then.

Editors

The editors in this repository should be working and give you hints about the engine usage and can be used to create and configure effects. (tested in Delphi 10.1 Berlin)

Warning

To be honest this engine has lots of neat functionality, but is not easy to use. This project was developed by my friend an me since our studies over many years. There are a lot of features, but no real documentation (except sometimes more sometimes less code comments) and surely a lot of bugs, if anyone new to the engine will use it. I would advice to use this engine with care and have a look at the source code of Rise of Legions or the editors for some hints about the usage of the modules.

Features

  • Graphics
    • DirectX 11 graphic adapter
    • Camera
    • Forward and Deferred Lighting
    • Mesh + Skinned Mesh Animation + Morph Animation + FBX support
    • dXML - Dynamic UI system based on HTML+CSS+Vuejs style
    • Particle Effects
    • Post Effects
    • Dynamic shader creation with django like block system
    • Terrain Rendering
    • Vegetation Rendering
    • Water Rendering
    • Dynamic custom vertex rendering
  • Component-driven Eventsystem
  • Input handling for mouse and keyboard (also multiple mice support with RAW input)
  • Network
  • Scripting adapter for DWScript
  • Automatic serialization with attributes
  • Sound system (adapter for FMOD and OpenAL)
  • DataQuery - LinQ similar query language
  • Math
    • Vector and Matrix arithmetic
    • 3D and 2D Collision arithmetic
    • Pathfinding
  • Tons of helpers
  • Partially translated headers for Steam API and FMOD

Workarounds

The DirectX SDK throws a lot of warnings which are printed by Delphi in the editor output while in debug. This printing consumes a lot of performance, e.g. the editors seems to run slowly when this happens. To work around this you can use the dxcpl.exe for the DirectX SDK to mute the warnings showing up.

License

License: MPL 2.0

The code base is distributed under MPL 2.0

It make use of other Open-Source-Software stated below:

assimp - Modified, 3-clause BSD-License - Used for importing model files like FBX.

DWScript - MPL 1.1 - Used as scripting language.

Imaging - MPL - Used for importing texture of complex formats.

Jedi-WinApi - MPL 1.1 - Used for various windows functions.

LockBox - MPL 1.1 - Used for hashing.

VerySimpleXML - MPL 1.1 - Used for XML parsing.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].