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
More Cool Projects
-

Paper Minecraft Updated 1.21 (Armadillos!)
by vinhthieunangg
-

Omega Flowey boss fight.
by DiegoscomV3
-

Planetball Creator v1.2
by Dough5830Awaken
-

Digital Clock
by klara20
-

Talking Tom Cat
by ajkosmgjl390
-

Universe Size Comparison 3 remix
by Kitocrossing0131
-

FSCore (unofficial scratch port) remix
by brunilomas
-

My effects kit! remix
by ElGatoTheGaming123
-

อิสรภาพ | LISTEN UP TROOPS RETAKE remix
by codewithanthonyw
-

*ANIMATIONS* FIFA 23 Pack Simulator remix-2
by hs-edc24
-

geo dash
by pokewright
-

NGG+ S1 EP4: Nano Misbehaves At Chili's
by Raph12334
-

Merksia Getting Hypnotized By Kaa
by JasowkeFan10
-

True EG4100 Incoming Call remix
by FNFpibbycorrupted123
-

NBB1-NBB4 Jumpscares My version
by dexan_sojex
-

(R) [Memorbox V1] - [Familiars, but there old designs... bruh]
by Alekcandp
-

Colorful numbers
by ScratchCoder2S17
-

The Fidget Spinner (HD)(100%PEN)
by 11geajustin
-

Geo Dash: Spike Run
by brotherhobo
-

Zerty.EXE Remastered: Crazed Edition!
by EJgamer2019
-

天空魔 #1 「最後の希望」
by kou0221
-

Birth Of a Ssj4G
by redbird5555555
-

Beat up pico ( a scratch show special )
by Creativereading77
-

Talking Tom & Ben News (Remastered) remix
by Lunablz