A faster* 3d minecraft renderer (octree traversal algorithm)

A faster* 3d minecraft renderer (octree traversal algorithm)

by Howtomakeausername

👁 3,705 ❀ 227 ⭐ 211 🔄 3
Created: Jan 21, 2023 Last modified: Jan 22, 2023 Shared: Jan 21, 2023

Instructions

Turbowarp link: https://turbowarp.org/791498815 ------------------------------ Instructions ----------------------------- WASDQE to move, ARROW keys to rotate. Move your mouse to the top of the screen to see the options menu. -------------------------------- Options -------------------------------- Algorithm - determines whether an octree traversal algorithm (0) or voxel traversal algorithm is used (1) Max iterations - maximum raycasting iterations Show iterations - Shows the number of times a ray had to repeat, where white is 0 and black is the maximum. Setting this to (1) allows you to see the octree at work! (you may need to turn max iterations down) ----------------------- How does this work? ----------------------- Unlike a normal voxel traversal algorithm, which steps across each voxel (or cube) in space, this algorithm first splits the world into an octree (a 3d version of a quadtree) and traverses across that. ---------------------------- Is this faster? ----------------------------- Generally, yes. Splitting the world into an octree saves repetitions, which you can observe by setting show iterations to (1) and swapping between the two algorithms. However, the octree makes the traversal process more complex, which means that each iteration takes longer. This means that the algorithm is faster in worlds with a more optimised octree (generally worlds with large cubes of empty space such as the superflat world), but slower otherwise. ----- Is this better than a normal traversal algorithm? ------- Probably not. The octree takes more computational power to generate, meaning that adding and breaking blocks would likely result in lag spikes. Furthermore, the algorithm isn't always faster and is harder to work with. Tags: #raycast #raycaster #voxel #raycasting #minecraft #textures #ray #madness #demo #3d #3D #world

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

(@TQD RESHARED) DKGG S2 EP7: Gastone Luccarini escapes Slovakia, ruins New Years, and gets grounded.

by DTQ_AKA_NTA

Project thumbnail
View Project

Beat Up Me 2.0

by Bunnyz_UwU_Alt

Project thumbnail
View Project

Beat up Zerty Remastered 10

by mugpanic

Project thumbnail
View Project

Beat Up Sonic: Jacob2010 Edition remix remix

by kubakoodziejczak

Project thumbnail
View Project

fish tank

by vie107110

Project thumbnail
View Project

(Canceled & +13) Friday Night Funkin' Versus. Mario Madness _ All-Stars _ FNF TEST!

by MaysonVanmatre

Project thumbnail
View Project

BFDIA Your Way

by wjd1994backup

Project thumbnail
View Project

[CLOSED] Colors DTA!

by OGSunnyFromWOF

Project thumbnail
View Project

elmo's world singing elmo's song

by REN10

Project thumbnail
View Project

3D卓球ゲヌム

by karasi751

Project thumbnail
View Project

Beat up Pico! (v2.6) REMIX (NEW attack)

by dps19micsch

Project thumbnail
View Project

パズドラ れりス

by dracon44

Project thumbnail
View Project

Swap! Great Time trio v1.0

by miyaoda

Project thumbnail
View Project

Dusty Omnilovania!

by KatyPichu

Project thumbnail
View Project

Super Mike Maker

by ToadfanSchool

Project thumbnail
View Project

PaweR OS 1.1 Proffesional

by MineCr-10

Project thumbnail
View Project

Found the cat 3D❀ #all #games

by JekaWT

Project thumbnail
View Project

[Dustswap: Dusttrust] old Phase 2

by modeck

Project thumbnail
View Project

Wave Multi-Emulator Themes+ Build - V0.3.11

by oxiti8

Project thumbnail
View Project

Beat Up Dora (With Cheese Button)

by xgcyuggurx

Project thumbnail
View Project

Beat up Scratch Cat: Deluxe 2 ver.1.0 With Catagories

by newmyles

Project thumbnail
View Project

the full RALR cast! remix-3 remix

by AlphabetL0reP

Project thumbnail
View Project

beat up a crewmate [v1.1] oof

by bluesonic45

Project thumbnail
View Project

Beat Up Nano! Er Tick Button!

by peh_with_grave