Contest: https://scratch.mit.edu/projects/1295665889/ I made a new engine to replace my horrific old one 200 LIKES!! I can't believe my eyes. WASDEQ to move, arrow keys to rotate, space bar to show/hide UI, r to turn chunks on/off, p to pause/start animation, f to turn skybox on/off, h to show benchmarking. @Ricky-Jan FAVOURITED!!! Features= quaternions z clipping sorting point lighting size-changing lines full RGBA support sprites STTF point lighting skybox directional lighting .obj files full object system object transformation frustum culling shadows
Lag? Use this: https://turbowarp.org/1248526359?hqpen&fps=60 or you can use this if you are in school: https://mirror.turbowarp.xyz/?hqpen&stuck&fps=60#1248526359 You can also click p, f, and r and shadowing off to help reduce lag by about 65% ------------------------~*CREDITS *~----------------------------- @-Rex- for the Quicksort @KryptoScratcher for the tri fill @CodingBio for 3D tri (including Z clipping), as well as 3D tri collision script @alltrue for skybox everything else by me ------------------------------------------------------------------------- Changelog: v0.0.0 project start v0.3.0 3d added (cam position, 3d projection, tri fill. nothing else) v0.4.0 sorting added v0.5.0 quaternions added (made by myself, @76finding_ helped a bit when I first attempted it) v0.6.0 z-clipping ( ) v0.6.1 made camera move according to direction v0.6.2 cleaned up code v0.6.3 new cool model that i made, slight optimisations v0.7.3 added point lights v0.8.3 added broken euler angles and options for lighting and wireframe v0.8.4 press space to show/hide UI v0.8.5 fixed euler angles v0.8.6 shaded triangles as well as switching to my own tri renderer, for some reason my tri fill is slow with z clipping, so azex is still used when the tri is clipped v0.9.1 added slightly broken lines (they change size :0) v0.9.6 fixed the lines v0.9.7 switched back to azex for speed v0.9.8 added RGBA (this is my very first project with full RGBA support) v0.9.8.1 set cam rot X and Y to modulo cam rot X and Y v1.0.8.1 added sprites v1.0.8.2 made it so sprites dont render offscreen v1.0.8.3 added tris, lines and sprites amt, as well as fps v1.0.8.4 rounded fps v1.1.3 added offscreen culling (i think it was called frustum culling) v1.2.3 collision added (ALL types of collision, line, sphere, triangle). Tri collision by v1.2.4 cleaned up using TurboWarp v1.2.9 attempted to fix frustum culling, kinda worked…? idk v1.3.9 added really cool skybox by v1.4.9 added slightly broken backface culling v1.5.9 added STTF v1.6.0 made time go according to actual time, as well as current part of day v1.6.1 made lighting go according to time v1.7.1 added directional lighting v1.7.6 added chunks, also named it :D totally not from AI Name LumaCore comes from Luma (meaning light or illumination) and Core (the engine core) v1.8.6 added .obj files, thanks to , main account v1.9.1 added a full object system. at long last. v1.9.1.5 a genuine loading screen v1.9.1.7 optimization and cleanup v1.9.6.7 object movement :0 v1.9.7.7 updated from binary insertion sort to quicksort v1.9.8.7 added frustum culling v1.9.8.8 made sun's glow render over everything v1.9.9.8 fixed backface culling v2.0.9.8 added shadows (they look really good!) v2.1.4.8 optimisation, cleanup, light direction control, light and shadow align. v2.1.9.8 fixed like 10 bugs, added benchmarking, and options. v2.2.4.8 fixed quaternions and added matrix maths v2.2.9.8 optimised objects, precalculated trigonometry, changed detection, etc. also fixed 10+ bugs.