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

Among Us || part 1 pt 2 out now!!

by uptophoot

Project thumbnail
View Project

Talking Knife and Fan News 2

by JacksonStormNew

Project thumbnail
View Project

Beat up Kick The Buddy V4.9

by juliescott12

Project thumbnail
View Project

Grand Theft Auto

by 12p3cool

Project thumbnail
View Project

BFDI! The Choose Your Own Adventure Experience!

by hankkid01

Project thumbnail
View Project

Pride Flag Art (Sunrise)

by Chumie

Project thumbnail
View Project

Squid Game

by Davit_14

Project thumbnail
View Project

The Incident

by Animatic_Addict

Project thumbnail
View Project

KyleWare: Ultimate Microgam es! (v0.7) invincible edition(no lives) remix

by s300040524

Project thumbnail
View Project

Add a button to beat up Shantae remix remix remix remix remix remix remix remix remix remix r… remix

by Super_Isaac_64

Project thumbnail
View Project

⭑ ★ ❶❷❸❹❺ | TᕼE ᔕTᑌᗪIO ᗪOOᖇᔕ Oᖴ ᑎᑌᗰᗷEᖇᔕ • ᑭᗩᖇT ❻ • 568 ᗪOOᖇᔕ | ❻❼❽❾❿ ★ ⭑

by KARises

Project thumbnail
View Project

beat up sonic clone v0.2 reborn

by zzhhookk

Project thumbnail
View Project

FNF Bangil Test (Bambi Fanmade Character)

by The_Uplever

Project thumbnail
View Project

移動回転して見れる3Dライトアップツリー

by vgnz93hs

Project thumbnail
View Project

アニメ 異世界からの来訪者 劇場版 下(3)ー濁流ー ~Darty water~ 最高傾向4p!

by SDBEUD

Project thumbnail
View Project

3D Tunnel

by EmeraldSapphire41

Project thumbnail
View Project

Beat up Amogus

by FernandoTheImposter

Project thumbnail
View Project

Fire and Water v 1.0

by SpartanDav

Project thumbnail
View Project

Friday Night Funkin'-Interruption(ETELPMOC)

by fryeatergavin

Project thumbnail
View Project

Super Mario Bros. for Scratch remix

by Weilhelm

Project thumbnail
View Project

ScratchTale

by Tesseract2000

Project thumbnail
View Project

Paper Minecraft v1.20.1+ 1.20+1.20.10(Minecraft 2D)

by BeeKeeper808

Project thumbnail
View Project

Geometry Demon cycles

by sfa20106

Project thumbnail
View Project

My Jumpstart Numbers Band 541-550

by ohotnik_minecraft