W A S D to move Q and E to strafe left/right sometimes black/white triangles can just appear. also if i do a big model it breaks i have to fix this (and probably other stuff) Turn on wireframe to see back-face culling in action ;) To import models, go to https://scratch.mit.edu/projects/236109565/ and follow the instructions, then take the list and import it here, and add it in the "create enviroment" custom block. Enjoy!
Thanks to @DerpyHead0 and @RokCoder Engine Version Log: v0.0 - Copied from my "3D Model Showcase/Importer" v0.1 - Imported new tree model and two car models for testing v0.2 - Added "Objects" to be rendered independently v0.3 - Added sorting objects by depth v0.4 - Added culling polygons behind player / offscreen v0.5 - Fixed the perspective (thanks @DerpyHead0) v0.6 - Added colored polygons v0.7 - Added Bill-boarded sprites v0.8 - Added separate rotation to objects v0.9 - Render Triangle-by-Triangle, not Object -> Triangle v1.0 - Sort triangles by distance instead of bird-eye-view v1.1 - Positioned scripts so it's easier to pick up / use v1.2 - Back-face culling! v1.3 - Removed Caching every frame, should be faster now v1.4 - Re-implemented sprites (a blue ball to show this)