Coder Social home page Coder Social logo

lagengine's Introduction

LagEngine

This project exists as a learning experience about the implementation and design decisions of a 3D rendering engine. It’s also a project to keep my C++ skills on check.

While it tries to expose a friendly programming interface it is not meant to have a GUI or an editor (at least for now).

It includes a demo where an AI plays a version of Pong on a stylized scene.

Current features:

  • Forward rendering based on Blinn-Phong lighting, supporting directional and point lights.
  • Supports meshes (loaded with Assimp library), XML material definition defining textures and shaders.
  • Support render targets and various render passes. (WIP)
  • Interface-based renderer to allow multiple Graphics API to be implemented. Currently has a OpenGL 4.5 implementation.
  • Renderer based on a render-queue approach, iterating through all RenderTargets and through each of their Viewports to gather the Renderables. (Culling and queue sorting to be implemented)
  • SceneManager containing the various scene representations, each with its own purpose (object hierarchy, culling, fast iteration).
  • SceneGraph based on a hierarchy of SceneNodes. SceneNodes have a 3D space transformation relative to their parent.
  • SceneObjects can be attached to SceneNodes and inherit their properties. (Example SceneObjects: Lights, MeshEntities, Cameras)
  • XML based ResourceManager for assets like meshes, image textures, shader code.
  • Hot reloading of file Resources (images, shaders, materials).

License

Licensed under the MIT license, see LICENSE for details.

lagengine's People

Contributors

madequa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.