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

Cool project

by Handy2000

Project thumbnail
View Project

ιΎι³΄ζ€Ώγ€€η¬¬ζŒθ©±γ€Œζš—θΊγ€(γ‚„γ‚„γ‚°γƒ­θ‘¨ηΎγ‚γ‚Š)

by syomagori

Project thumbnail
View Project

Cuphead Goopy Le Grande in Ruse of an Ooze

by billyismegood

Project thumbnail
View Project

Geometry Dash Meltdown 2.0

by nguyenvumocthieng

Project thumbnail
View Project

ALPHABET LORE F CAVE SPRITE

by AlphabetLoreB-

Project thumbnail
View Project

Rooms: Low Detailed Entity Spawner (W.I.P) remix

by arandomscratcher1298

Project thumbnail
View Project

FNF: Imposter V4 - Torture

by speedyblur22

Project thumbnail
View Project

Fortnite Online ☁ #games

by Manu_Pede

Project thumbnail
View Project

The maze of doom

by Herobrine84726

Project thumbnail
View Project

Planet Generator

by SpinningCube

Project thumbnail
View Project

YOU. ME. GAS STATION. #Animations

by yiphah

Project thumbnail
View Project

ink help inksans ? fight

by 012345rty

Project thumbnail
View Project

3d Parkour

by kajtolmation

Project thumbnail
View Project

γ‚€γ‚«γ‚²γƒΌγƒ  第5γ‚²γƒΌγƒ γ€Œι£›γ³ηŸ³γ‚²γƒΌγƒ γ€

by jum000

Project thumbnail
View Project

Pen Drawing Experiment

by scratchfan321

Project thumbnail
View Project

Fnf Sonic.exe v2 you can't run Burst Mechanic

by dminecart88

Project thumbnail
View Project

Turbowarp Wave

by reoreo333

Project thumbnail
View Project

Super Mario Bros. 1 Maker

by BenjaminWins11

Project thumbnail
View Project

ζ–°γƒ»γƒœγƒΌγƒ«γ“γ‚γ“γ‚2

by s00384206

Project thumbnail
View Project

テラγƒͺγ‚’γ€€MOD remix terraria modded

by kosei0802

Project thumbnail
View Project

Captain Rocket

by kevin_eleven_1234

Project thumbnail
View Project

Teeth - FPSI meme template

by -Valtren-

Project thumbnail
View Project

Warrior Cat Theme Songs ~ Part 13

by Thornshade

Project thumbnail
View Project

INK!sans Master mode DEMO phase1 remix

by shiburiku