All Projects → sindney → Fury3d

sindney / Fury3d

Licence: mit
A simple but modern graphic engine

Programming Languages

cpp11
221 projects

Projects that are alternatives of or similar to Fury3d

Rbfx
Game engine with extensive C# support and WYSIWYG editor.
Stars: ✭ 356 (+323.81%)
Mutual labels:  3d-engine, imgui
Overload
3D Game engine with editor
Stars: ✭ 335 (+298.81%)
Mutual labels:  3d-engine, imgui
rbfx
Game engine with (optional) C# support and WYSIWYG editor.
Stars: ✭ 511 (+508.33%)
Mutual labels:  imgui, 3d-engine
Imgui Sfml
Dear ImGui binding for use with SFML
Stars: ✭ 596 (+609.52%)
Mutual labels:  sfml, imgui
Mod3
MOD3.js: JavaScript port of AS3DMod ActionScript 3D Modifier Library
Stars: ✭ 50 (-40.48%)
Mutual labels:  3d-engine
Wtk
📺 A cross-platform immediate mode user-interface library. Public domain.
Stars: ✭ 30 (-64.29%)
Mutual labels:  imgui
Wallbreaker
Arkanoid/Breakout clone written in C++ and SFML
Stars: ✭ 21 (-75%)
Mutual labels:  sfml
Factory Rise
Factory Rise is a 2D sandbox game, focused on building, developing industries and handling resources. The game is based on Oxygen Not Included, Terraria, Factorio and some Minecraft mods (EnderIO, Industrial Craft, BuildCraft, GregTech and Thermal Expansion), it also have a game progress similar to StarBound.
Stars: ✭ 21 (-75%)
Mutual labels:  sfml
Cpp3ds
Basic C++ gaming framework and library for Nintendo 3DS
Stars: ✭ 80 (-4.76%)
Mutual labels:  sfml
Dainsleif
⚡️ A simple model cheat for CSGO a.k.a. Counter-Strike: Global Offensive.
Stars: ✭ 74 (-11.9%)
Mutual labels:  imgui
Crsfml Examples
Simple games made with CrSFML
Stars: ✭ 47 (-44.05%)
Mutual labels:  sfml
Vktk
Vulkan Toolkit
Stars: ✭ 32 (-61.9%)
Mutual labels:  imgui
Qtdirect3d
QDirect3DWidget implementation similar to the built-in QOpenGLWidget
Stars: ✭ 60 (-28.57%)
Mutual labels:  imgui
Imgui
Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
Stars: ✭ 33,574 (+39869.05%)
Mutual labels:  imgui
Swiftgui
SwiftGUI is an API inspired by SwiftUI DSL, using Dear ImGui as renderer and running on macOS 10.13+ and iOS 11+
Stars: ✭ 74 (-11.9%)
Mutual labels:  imgui
Blocxxi
Implementation of Kademlia based DHT and a blockchain in C++
Stars: ✭ 21 (-75%)
Mutual labels:  imgui
Passfml
Pascal binding for SFML
Stars: ✭ 45 (-46.43%)
Mutual labels:  sfml
Asap app imgui
Starter project for portable app with optional GUI (GLFW/ImGui) and a rich builtin debug UI. Includes docked windows, log viewer, settings editor, configuration load/save, etc...
Stars: ✭ 70 (-16.67%)
Mutual labels:  imgui
Ashengine
A cross-platform 3D engine based on Qt 5.9.7, OpenGL 3.3 and Assimp 4.1.
Stars: ✭ 35 (-58.33%)
Mutual labels:  3d-engine
Imterm
c++17 header only library implementing a terminal for imgui applications
Stars: ✭ 36 (-57.14%)
Mutual labels:  imgui

Fury3D

中文简体

Introduction

Fury3d is a cross-platform rendering engine written in c++11 and modern opengl.

Works on windows && osx operating systems currentlly.

Please note, this is just a simple project for study purpose.

Features:

  • Use modern opengl.
  • C++11 smart pointers made memory management easier.
  • Flexible signal message system. (use function pointers, so it won't accept lambdas, sry)
  • Support fbx model format, you can load static meshes, skinned meshes and lights directlly.
  • Easy rendering pipeline management through json serialization functionality.
  • Build-in light-pre pass rendering pipeling.
  • Intergates powerful gui library ImGui.
  • Support Shadow Mapping For Dir/Point/Spot Light.
  • Support custom scene format, can save to json and can be compressed.

Plans:

  • Add shadow maps. (Done, need improvements)
  • Add skeleton animation support. (Done, but need improvements)
  • Implement GLTF file format parsing, dropping support for FbxSDK.
  • Implement HDR rendering pipeline, and support PBR material.

Compatibility

Tested compilers:

  • MSVC 2013 Community
  • Apple LLVM version 7.0.2 (clang-700.1.81)

Because fbxsdk only offers MSVC builds on windows (FBXSDK is optional, you can load scene using engine's custom scene format), so you must use MSVC to build the library.

Should work with any graphic card that supports opengl 3.3 +

Tested libraries:

  • Rapidjson 1.1.0
  • SFML 2.4.1

Screenshots

Shadows

PolyScene

Examples

You can setup custom rendering pipeline using json file, check it out.

A simple demo should look like this:

// This is the root of our scene
auto m_RootNode = SceneNode::Create("Root");

// You can load scene from fbx file.
FbxParser::Instance()->LoadScene("Resource/Scene/scene.fbx", m_RootNode, importOptions);

// Or from fury's scene format.
FileUtil::LoadCompressedFile(m_Scene, FileUtil::GetAbsPath("Resource/Scene/scene.bin"));

// You can iterate a certain type of imported resources.
Scene::Manager()->ForEach<AnimationClip>([&](const AnimationClip::Ptr &clip) -> bool
{
	std::cout << "Clip: " << clip->GetName() << " Duration: " << clip->GetDuration() << std::endl;
	return true;
});

// And you can simply find an resource by it's name or hashcode.
auto clip = Scene::Manager()->Get<AnimationClip>("James|Walk");

// Setup octree
auto m_OcTree = OcTree::Create(Vector4(-10000, -10000, -10000, 1), Vector4(10000, 10000, 10000, 1), 2);
m_OcTree->AddSceneNodeRecursively(m_RootNode);

// Load pipeline
auto m_Pipeline = PrelightPipeline::Create("pipeline");
FileUtil::LoadFile(m_Pipeline, FileUtil::GetAbsPath("Path To Pipeline.json"));

// Draw scene
m_Pipeline->Execute(m_OcTree);

Special thanks

  • FbxSdk - for loading fbx model
  • Rapidjson - for loading pipeline setups
  • Plog - for log implimentation
  • ThreadPool - for threadpool implimentation
  • Stbimage - for image loading
  • LZ4 - for file compressing/decompressing
  • Sfml - for os related window/input/context handling
  • ASSIMP - for mesh optimization
  • Ogre3d - for octree implimentation
  • ImGui - for debuging gui
  • RenderDoc - for debuging opengl

One more thing

If you use sublimetext, you can try my GLSLCompiler plugin to debug glsl code :D

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].