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

PVZW Mod - Story Mode reverse win sound

by nlord910

Project thumbnail
View Project

Paper Minecraft CHEESE (Minecraft 2D) remix

by wigginstigers610

Project thumbnail
View Project

Quinvegesimal (Base-25) Blocks Band 1

by Four2TheEight

Project thumbnail
View Project

powerpunk girls before after

by teo8live

Project thumbnail
View Project

By swed957 Gd Lobotomy

by swed957

Project thumbnail
View Project

Talking Tom and Ben News: Hey Duggee Edition (My Version)

by EdilsonVidal2022

Project thumbnail
View Project

Numbers Band 153

by SimonIs14

Project thumbnail
View Project

I Called It, The Lyrics Recovery Center!

by 23edit

Project thumbnail
View Project

My Dozenal/Duodecimal Numberblocks 0-20

by BBTLEOfficialScratch

Project thumbnail
View Project

Also Dandy Time Machine

by infinateyyy

Project thumbnail
View Project

Tasty Planet - No Dark

by cs1692937

Project thumbnail
View Project

Baldi basics V0.3 3-D

by polarpenguin317

Project thumbnail
View Project

Beat Up Emily Remastered

by Johnnythemenesetwo

Project thumbnail
View Project

Next Gen Blocks sets - Modified G6TE Numberblocks (WIP)

by CookieSky_71

Project thumbnail
View Project

(WIP) Mario party 7 Remake (scratch port) v0.5.8

by arikaallred

Project thumbnail
View Project

Beat Up Gelatin remix remix

by Kmorell

Project thumbnail
View Project

Geometry dash 2.2 sneak peek (OUTDATED)

by shadowix

Project thumbnail
View Project

Plant Island Remixer | My Singing Monsters

by Qwerty_Navy

Project thumbnail
View Project

CLONECRAFT 0.11 (Outdated)

by xxlscratch

Project thumbnail
View Project

The Loud House Fight Cloud! (Add Round 3)

by 2FN001

Project thumbnail
View Project

Livi's Favorite Stories DVD Menu

by davidthinksaboutyou2

Project thumbnail
View Project

γ‚Ήγ‚€γ‚«γ‚±γ‚™γƒΌγƒ γ‚ͺンラむン

by FunnyAnimatorJimTV

Project thumbnail
View Project

Super Mario Z Christmas

by sfdaniel1

Project thumbnail
View Project

talking tom and ben news remix-5

by everton_trader