
A faster* 3d minecraft renderer (octree traversal algorithm)
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 scratch cat
by KeyboardMan1234

Nickelodeon Creatures On Bridge Template remix
by siddharth1717

BEAT UP SCRATCH CAT ULTIMATE 2023
by hyd3ns33k

)拡散希望(大!大!大戦争!
by AkubiKK

All My Fellas by Classroom_GD | Geometry Dash Revamped (GD 2.2)
by Classroom_GD

Add A Button To Beat Up Anti Mrdweller (4)
by newmyles

intro for BuilderSteve09 part15
by ituki_kami

Raycaster with heights
by Howl144

Russian Alphabet Lore Reloaded - The Full RALR Cast!
by CREAtoroFSCRatch_5

Roaring knight
by LicoPicoPico

talking tom and ben news: The Arctic Base (ft. Mario) remix remix-2
by orcalane10

Alpha Puzzles (SMG4 x Undertale)
by 1602_Animations

Project Arrhythmia Funk hole(WIP)
by Guest_66666

The Amazing Spiderman
by EpicPro_36

FIFA 15 - Mini FUT
by Maszek

5 New Buttons For Beat Up Guto!
by whipnm

} Friendtro For Futurepilot23 // also garbage {
by -dritoboi

beat up stuff (FIXED)
by CLAX1212

beat up edward 4 needs you
by shaunzilla01

Add characters crying cuz Mametchi crying
by ChamametchiArt

Robeats (scratch Edition)
by HackedOnCrack

[Dustswap: Dusttrust] old Phase 2
by modeck

Geometry Dash 2.2 (SR) w/hitbox :)
by reoreo333

Beat Up Joe Ninja
by AmYokikoki