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

Warrior Project Beat up Edward More buttons (Lestat1025) remix

by Lestat1025

Project thumbnail
View Project

Terraria Custom World Generator

by Zippy02

Project thumbnail
View Project

Hill Climb Racing mobile

by naminouma

Project thumbnail
View Project

FAITHFUL SL Custom Night Remake V1.11 remix

by F_FoxyFan

Project thumbnail
View Project

Fixed Certain Lowercase Letters

by MolkSolsuda

Project thumbnail
View Project

If Bren319 made "Alphabet but the word is Companions".

by Elfanguay

Project thumbnail
View Project

Bren319's Russian Alphabet Lore 4.0 Request remix

by KeiserKreates

Project thumbnail
View Project

Steal a Brainrot roblox but eazy good stuff

by Geocool12345

Project thumbnail
View Project

the wildfire movie (2007) closing logos mpaa remix remix remix remix

by sgtshep9249

Project thumbnail
View Project

BEAT UP SUPER WHY MORE BUTTONS!!

by Macjun12

Project thumbnail
View Project

Maxy's really bad night

by wsscratch0812

Project thumbnail
View Project

Free Intro

by AdityaAnujscratch

Project thumbnail
View Project

Beat Up Scratch Cat with some edits

by sponge543

Project thumbnail
View Project

Beat Up Book v2.7.1

by KwekFanatic

Project thumbnail
View Project

3D 100% Pen Intro for @-TIN-

by IntroMaker2022

Project thumbnail
View Project

Talking Tom 2 but there is no button for rtjkhljdn

by TalkingGamesWithZNU

Project thumbnail
View Project

(AY) Destroy the "Project could save"!

by cheekyethan

Project thumbnail
View Project

[Birthday] Blue Kawaii Panzoid Intro >> @kako-ken!!

by harukun19

Project thumbnail
View Project

Boid AI Simulation || #all #animation #Lightmaster_YT

by Lightmaster_YT

Project thumbnail
View Project

add yourself beating up leafy

by tatatino150

Project thumbnail
View Project

doors geometry dash

by countryusa

Project thumbnail
View Project

Windows Soundboard 2023

by LautaroElianEscudero

Project thumbnail
View Project

The Alphabet Lore The Movie DVD Menu

by pook67

Project thumbnail
View Project

Beat Up Edward Extreme but i added with hand's

by duckdon1319