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

Beat Up Green Square From Sincomics!!! [6]

by crazybabybaby16

Project thumbnail
View Project

Vyond effects The Game 1.7.1 Updating Some of the Effects remix

by chiptheobjectthingy

Project thumbnail
View Project

Host Hoedown (Mario Party DS Anti-Piracy)

by lugi20

Project thumbnail
View Project

make your own bfdia but drawn by me

by LincolnWasHere

Project thumbnail
View Project

Incredibox_ Mashupbox - Multiversal V1 repost

by lions-for-beast6789

Project thumbnail
View Project

Beat Up Tim 8: The Colossal Beating

by VerySmartDummy

Project thumbnail
View Project

Object invasion test remix

by OMandJJ

Project thumbnail
View Project

Non-Official Decayed Reality Wither Storm

by god-of-cuteness

Project thumbnail
View Project

Sprunked (Final Version)V0.2

by davcoolcool2

Project thumbnail
View Project

(FIXED) Beat up Gus remix remix

by matheusmaccamargo

Project thumbnail
View Project

[Undertale] Overworld test

by Allycatwastaken

Project thumbnail
View Project

beat up scratch cat 2.0 remix

by VuQuocViet12

Project thumbnail
View Project

Magic Tiles 3 game remix

by LexieSMD1

Project thumbnail
View Project

Bubbles and his bannanas.

by Pakman555

Project thumbnail
View Project

Roblox Doors (ACTUALLY UPDATED)

by buldier

Project thumbnail
View Project

DaveAndBambi2022's Beat Up (2)

by sgtshep557

Project thumbnail
View Project

【爽快パズル】Destroy Bricks

by scp2222

Project thumbnail
View Project

Harry's Russian Alphabet Lore Interactive COMPLETE ALL LETTERS WITH e

by archieralf

Project thumbnail
View Project

Bop It Extreme (remake, show with your friends)

by ReedFailor

Project thumbnail
View Project

beat up test logo!

by goofy_cat9

Project thumbnail
View Project

Among Us: Hide And Seek

by shockersjacob

Project thumbnail
View Project

Beat Up E

by Joenielads

Project thumbnail
View Project

five nit at shrek

by ThanoosandKinzo

Project thumbnail
View Project

my Earth To Luna Pilot Series DVD Menu remix

by PlanetCocukYediYasve