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

Vyond Effects Kit 32

by juliescott12

Project thumbnail
View Project

(チャット翻訳機能)☁️アモングアス オンライン 日本語版 / Among Us Online Scratch Remake Japanese Version remix copy

by AI_HABU_A_PENN_sub

Project thumbnail
View Project

FNF ~ SONIC TEST COLLECTION fixed

by kakarotbroly

Project thumbnail
View Project

(most viewed) Beat Up Super Why With Lots Of Buttons!

by LiamPenPal026

Project thumbnail
View Project

Squidler Game (DEMO)

by -Undertale--pro-

Project thumbnail
View Project

Seadtype V9.2

by crazymilkandres

Project thumbnail
View Project

Power me Up with the Fire Flower please!

by jasowke

Project thumbnail
View Project

Endless Unifon (Remix to Finish) (2)

by himhimyt2024

Project thumbnail
View Project

beat up elmo V.0.1 remix remix copy-2

by Shamiir

Project thumbnail
View Project

virus on windows 11 V.1.0 Beta

by easy_scratching88

Project thumbnail
View Project

Beat up Seven and wenda

by xmrrileyxx

Project thumbnail
View Project

Beat up number 8 but text to speech

by codingrocks9_55

Project thumbnail
View Project

AMBER ALERT TEST SCRATCH

by Sai024

Project thumbnail
View Project

MUSHUP 2.0?

by GinoMods

Project thumbnail
View Project

Verlet-Based Physics Engine ‮

by aespibr

Project thumbnail
View Project

Beat Up the purple munkee

by shaggysabertooth

Project thumbnail
View Project

スクリプト演奏 - きゅうくらりん #music

by yuyuyuyukkuri

Project thumbnail
View Project

beat up mr dweller but it's low quality v9

by REKT_DDDDDDDDD

Project thumbnail
View Project

スクラッチタイピングゲーム!

by sinkaxy

Project thumbnail
View Project

Beat Up Super Why!

by newmyles

Project thumbnail
View Project

Alphabetons: Do You Like Broccoli Ice Cream

by TigerT2022

Project thumbnail
View Project

-<[{(Collabs)}]>- talking tom and ben news HD but diffrent remix-6

by UnderratedMegaStar21

Project thumbnail
View Project

Barney error maker (babyfirst)

by Iloveendlessalphabet

Project thumbnail
View Project

Talking Tom & Ben News (Remastered) remix

by Lunablz