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

I have 790000 followers?!

by Sizzly_3829

Project thumbnail
View Project

Interacive endless learning academy! But sounds reversed

by snowfox_alt1

Project thumbnail
View Project

-<[{(Collabs)}]>- talking tom and ben news (3) remix

by ivanhunter06

Project thumbnail
View Project

Beat Up Seven Dlc

by xmralexx

Project thumbnail
View Project

Simon And Durple News!

by langlang8173

Project thumbnail
View Project

five little pumpkins sitting on a gate - cute and fun halloween poem For Children

by Bo22ris

Project thumbnail
View Project

Fish eat Fish 3players!!! remix

by kingbuggy

Project thumbnail
View Project

NumberBlocks Band 1

by AJDoodlandFriends

Project thumbnail
View Project

talking Vineria SPRUNKI

by bananafish333

Project thumbnail
View Project

GALAXY COLLAPSING INTO A BLACK HOLE!!!!!!!!!!!!!!!!

by Kawaiiobedient251

Project thumbnail
View Project

Angry Birds Maker

by Wah4Smashh

Project thumbnail
View Project

the real slim shady || meme ||

by Tab_Loid

Project thumbnail
View Project

AMONG YOU [SKELD MAP]

by RD4UO

Project thumbnail
View Project

Scratch Cat Adventure - Platformer

by bartekkasyna

Project thumbnail
View Project

multiply or release marble race - Scratch edition

by s0323010

Project thumbnail
View Project

[OverSave-Tale] Bad Time Trio HARD MODE by FDY γƒγƒƒγƒˆγ‚Ώγ‚€γƒ γƒˆγƒͺγ‚ͺγ€€γƒγƒΌγƒ‰γƒ’γƒΌγƒ‰γ€€δ½œfdy remix

by rinngodaisu

Project thumbnail
View Project

Tohoku TV Mascots Band (FINISHED!) (And Remastered)

by MaxtheBoy2021

Project thumbnail
View Project

Fire and steel - Polish Commenwealth mod (hearts of iron 4/HOI4 in scratch) remix copy-2

by yuipok

Project thumbnail
View Project

Paper Minecraft J Edition 3.5.3

by jacker114

Project thumbnail
View Project

Beat up Edward 6! remix

by SanicDi

Project thumbnail
View Project

Arabic Artistic Text

by ChermayeffTesting

Project thumbnail
View Project

Sussy Schoolgrounds Chapter 1

by Sgt_Pacman

Project thumbnail
View Project

What if RTL still owned Channel 5? (RTL5)

by Networker_SouthEast

Project thumbnail
View Project

Add a button to beat up spongebob remix remix (2016)

by ptv_23