Night Owl 3D Engine v1.2

Night Owl 3D Engine v1.2

by liny81

👁 223 ❤️ 18 ⭐ 17 🔄 0
Created: Aug 20, 2026 Last modified: Aug 21, 2026 Shared: Aug 20, 2026

Description

I did some optimizations to it to make it run faster, though now the main bottlenecks are texture indexing, and clearing the screen buffer. Optimizations: - Switched matrix multiplication to @KryptoAlt's https://scratch.mit.edu/projects/965840239 - Made it not recalculate barycentric cords every pixel and instead interpolate them by slopes each pixel. - Made texture only get called when changing the actual pixel on the UV. - Moved redundant math out of loops. - Fixed normal maps. I plan to try and further optimize, but that may require a rewrite of the entire rasterization system. I also plan on adding LOD, so that larger models can be handled better. Also have each OBJ as it's own object instead of dumping a bunch of triangles onto a scene. I could also do a raycast finds the closest triangle every pixel, and then draw it instantly, instead of having the buffer step. I should mention it's not a voxel engine, it's just using Minecraft as a demo scene.

Instructions

~~TurboWarp~~ https://turbowarp.org/1370046308?fps=60&hqpen ~~~~~~~~~~~~~ WASD - Move QE - Up/Down Arrow Keys/Click & Drag - Turn R - Render High-res (TurboWarp High quality pen)

Project Details

Visibility
Visible
Comments
Enabled