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
-

Beat up spueak my tom2 and rose pig
by tiguy2
-

fidget spinner game
by ORUGSOVI
-

Omega Flowey Simulator 2 Player
by SquashyLegend
-

Happy Font V19.9
by stevenrobloxisback
-

Барбоскины вырезанный фрагмент (15.04.2016) remix
by RWAIGAEMZ
-

Me in Squid Game 3: Jump Rope/Fion Self Sacrifices/Eliminates Herself
by CutieTori
-

Mega Black Hole Add Round 19
by ogorodnikov_a
-

Mega Man - Title Screen
by rgigocaleb
-

Beat Up Lyloo (Mega Party Edition)
by JonDoeReturns128
-

Windows 10 v22H2
by SVNMaster
-

Tornado Damage Simulator [RADAR UPD]
by L_PARR44
-

F1 25/26 SIMRACER+ V2.9.7 {DELTA}
by ukik-ukik
-

{[ COUNTDOWN TIMER]}
by SaiIshan2015
-

Fake Pixar logo
by lau0029
-

Geometry Dash v1.5 Levels 16-21
by hoppingicon
-

The Studio Doors of Numbers - Part 3 (211 Doors) Fixed
by aaron2314
-

Robot Destroyer
by Goyal_Yash
-

GD Seven Seas v2
by ProChin
-

All The Numberblocks 101-200 In The Numberblocks Band! remix
by 3rdBullfrog
-

Beat up Evil Two
by bennybean07
-

3D Roblox Doors FLOOR 2
by paulcrew1077
-

bfb contestant generating game
by DenRo1246
-

Regretevator Incredibox - Regretebox
by Tester12345876
-

make your own BFB remix remix au
by UCIMPACTD4