You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

9h 26m 50s logged

ORIGIN ENGINE

This is my custom engine that im using for my other big project, the Janitor Space Program (go check it out!: https://stardance.hackclub.com/projects/14066), most of these changes come from having to create or update an engine feature so that the game im building is easier and faster to develop, and in the meantime im also upgrading this engine to something more powerful and mature, although i feel like im making it also a bit more complex or spaghetti, ill work on that later


over this last 2 weeks ive added so many features like:

  • improved logging library, allows you to use formatting directly
  • support for embedded textures in .fbx models
  • added a lookAt() method to the camera component
  • fixed web support for the audio system
  • added more features and functions to the in-house math library, like the cross and dot products, a 4x4 Matrix and other small stuff
  • scenes now can be either “.json” or “.scene”
  • sandbox: shortcut to align an entity to the sandbox scene view camera
  • added color tint to the skybox component
  • added quick line rendering for fast debugging, probably needs refactoring tho
  • added LateLoop(), which obviously happens after Loop() and its mainly used for UI and stuff
  • added setTargetFps() so that gpu doesnt work to 100% if vsync is disabled
  • changed the builtin shaders path to assets/shaders/builtin
  • wip: added imgui support to the web builds

Most relevant new features:

  • added instanced rendering! still sort of a WIP
  • added real-time texture editing, allows the cpu to have ownership of a texture instead of the gpu and do whatever it wants with it, currently just paint it
  • wip: huge refactoring of the render class to allow for different postprocessing layers to render on top of each other with custom shaders, this allows for any kind of postprocessing effect to be made without much issue, i managed to get a simple vignette shader working quickly! the render class still needs some cleanup tho

This was fun but if they gave me an euro for every seg fault ive endured elon musk would be small next to me. i love to see how this small side project i started long ago is now something a lot bigger than i expected, this literally started as a learnopengl tutorial :))

0
28

Comments 0

No comments yet. Be the first!