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

hyper Outer dust Sans

by 6Abryan1

Project thumbnail
View Project

The Jemel King Slime TV Movie - Well, uh, that explains a lot! (Nick Jr. USA 2017)

by LylesJM

Project thumbnail
View Project

Windows 11 起動画面

by Windows10Sounds

Project thumbnail
View Project

Endless Alphabet 2 - Renegade Animation (HHPAY)

by Josue-Fanboy21

Project thumbnail
View Project

Windows Deltaplan CompaqRTM

by KOPMAPK227

Project thumbnail
View Project

(☁️ Among us new mode) by pamdq2

by PAMDQ2

Project thumbnail
View Project

Let’s Treat the Sick Pregnant Flamingeonies. Hahahaha!

by AnnaVesa

Project thumbnail
View Project

mega sprunki oc [real] remix

by Santi131946

Project thumbnail
View Project

FNATAS UCN Rebranded with Animators Hell And Robotic life JUMPSCARE sounds

by kadenroweperson-

Project thumbnail
View Project

Windows 10をWindows 8.1風にしてみた!

by himazin0239

Project thumbnail
View Project

Early Cyrillic Jumpstart Band!

by Kashyroo9

Project thumbnail
View Project

here is all beat up button

by Syrisesonscratch

Project thumbnail
View Project

Seadtype V29.0

by stevenrobloxisback

Project thumbnail
View Project

Spunch Bob In The Backrooms

by pastaflatbread

Project thumbnail
View Project

Super Mario 3.0 World v1.5

by Brad-Games

Project thumbnail
View Project

StarBlast.io [Remake] #Trending#all#Games#Art#Stories

by GunaSwaminatan

Project thumbnail
View Project

#2 || 流れ星 / shooting star

by Hebisan

Project thumbnail
View Project

1年アニメ 11/14 CrossGの日

by 1296-cat

Project thumbnail
View Project

It's an animal stampede

by mightyrabbit235

Project thumbnail
View Project

talking tom and ben news with fight - 2

by megablocks04

Project thumbnail
View Project

With 2 Hard Signs :]

by MarbickManuel

Project thumbnail
View Project

Endless Alphabet ALARM remix

by 2023Peony01

Project thumbnail
View Project

Bren319's 2.0 RAL meets 1.0 RAL

by SillygooseMike

Project thumbnail
View Project

Super Mario Odyssey 2

by SUPERBANANABROS12