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 Fake W! v2.41 (9TH QUARTER UPDATE)

by charliebutters

Project thumbnail
View Project

FNAF 123 - The Ultimate Night Shift Teaser

by Freddy3000

Project thumbnail
View Project

Unreales maden 24 cool epic games remix remix

by Keatonsigma

Project thumbnail
View Project

beat up EXTREME

by bonzi346

Project thumbnail
View Project

LESTAC 17A: down the stable drain

by ARandomPillow

Project thumbnail
View Project

Coptic Acat123113411415161717181910

by MightyD58

Project thumbnail
View Project

Turrets are secretly GLaDOS

by NINTLNDU_RolePlays

Project thumbnail
View Project

Algebrailien's world | BFDI:TPOT platformer

by trong_nhan

Project thumbnail
View Project

Unifon Alphabet Lore (Remastered)

by scratch_EMT

Project thumbnail
View Project

Blue Mist Plus - 2,100 to 2,199 Jumpscares (As 15.06.2025)

by CeebcTheScratcher

Project thumbnail
View Project

Osu!

by JoTo2015

Project thumbnail
View Project

Scratch Unlimited Remix Resort 2! [ Scene 1 | Remix 7 ]

by EVER_OFFICIAL

Project thumbnail
View Project

20 minute timer

by MikeAtike

Project thumbnail
View Project

ํ”ฝ์…€์•„๋ ˆ๋‚˜ ๋ฒ ํƒ€ [ํ•œ๊ตญ์–ด]

by plant2014

Project thumbnail
View Project

crankyboyc beat ups 1000 projects special

by MyCottage

Project thumbnail
View Project

Beat up Angry Birds But I Changed it remix

by GDBam2311

Project thumbnail
View Project

Uncannyblocks Band All Stars -4 The End?

by macareno85

Project thumbnail
View Project

Endless Russian | ะณะดะต

by arabiclore

Project thumbnail
View Project

[UTSA] lethal deal revenge

by Akaneko0221

Project thumbnail
View Project

Beat Up Stuff: The Ultimate Assets [3] [FIXED]

by JPPORTUGAL

Project thumbnail
View Project

Undershuffle: Sans Battle (Genocide) remix you unbeatable youl understand

by Aegislashboi

Project thumbnail
View Project

Beat up BradBartley31506 (2)

by newmyles

Project thumbnail
View Project

G,T,M,A,F EAS alarms has a remix remix

by Diegol112345_alt2

Project thumbnail
View Project

My New DVD Collection!

by Yoshi1976