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

NumberIcons! 1-1500

by SuperMario404games

Project thumbnail
View Project

Beat Up The Bad Apple remix

by likemargherita

Project thumbnail
View Project

Mappy in the Mushroom Kingdom

by JacobRunkey

Project thumbnail
View Project

I WILL FOLLOW YOU! Windows 11

by valfrompal

Project thumbnail
View Project

Incredibox - Sprunki Sinner REUPLOAD

by dude657pop

Project thumbnail
View Project

A cast for a show I'm currently working on

by AntikoMaster

Project thumbnail
View Project

Car Clicker

by King_David_007

Project thumbnail
View Project

Interactive Endless Ukrainian Letters & Sounds

by baldi9845

Project thumbnail
View Project

Nickelodeon Creatures Text Engine 11.0

by Jjye2024

Project thumbnail
View Project

take care of daisy - pet simulator

by DaisyCF

Project thumbnail
View Project

(LOUD) scratch 3.0 shorts: stubbed toe

by willcahu13

Project thumbnail
View Project

Wolfenstein 3D watered down

by Finlay_Cool

Project thumbnail
View Project

Funkemon - Groova Region [Unfinished]

by Hobson-TV

Project thumbnail
View Project

Chunk Map Editor

by ggenije

Project thumbnail
View Project

Rocket League!

by ayaadh

Project thumbnail
View Project

οΌ»θ£ζŠ€οΌ½γ€€ηΏ»θ¨³ζ©Ÿθƒ½γ§δ½Ώγˆγ‚‹θ¨€θͺžγ‚’咗やす方法。#tutorial

by Es-2

Project thumbnail
View Project

SOLO LEVELING

by RCT_403

Project thumbnail
View Project

Friday Night Funkin' Vs. Shaggy | Chapter 6 + Secret Song

by CharizardAaroshdude

Project thumbnail
View Project

Cannyblocks Band 2 Fixed

by 22168dj

Project thumbnail
View Project

Still we 18θ©±γ€€δΌšθ­°

by nannank

Project thumbnail
View Project

Closing to A Charlie Brown Destiny 2006 Vhs

by kayleybross

Project thumbnail
View Project

EasyAchievements - A system... for achievements!

by josueart

Project thumbnail
View Project

γ‚’γƒ’γƒ³γ‚°γ‚’γ‚Ήγ‹γγ‚Œγ‚“γΌγ‚ͺンラむン

by peikun90020220

Project thumbnail
View Project

Rating my fictional countries EAS Alarms my version

by Ralalau