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

Beat Up Sonic: Jacob2010 Edition remix remix

by kubakoodziejczak

Project thumbnail
View Project

(チャット翻訳機能)☁️アモングアス オンライン 日本語版 / Among Us Online Scratch Remake Japanese Version remix copy

by AI_HABU_A_PENN_sub

Project thumbnail
View Project

Karmatic Time Trio Phase 1 No Longer a Bunch of Slackers Fight

by Reisen_8538

Project thumbnail
View Project

Beat up Squidward 2 (add a button) [2]

by dashScratchhere

Project thumbnail
View Project

【立体】3D迷路  [ネタ提供お願いします!!]

by garihoso

Project thumbnail
View Project

Geometry Dash v6.14 Levels 16-21

by TongHong

Project thumbnail
View Project

BEAT UP SUPER WHY!! fixed remix remix remix remix remix remix remix remix remix remix remix remix

by matheusmaccamargo

Project thumbnail
View Project

Mela! / 緑黄色社会 ‖ スクリプト演奏

by ykuekii

Project thumbnail
View Project

Color square

by fanger81

Project thumbnail
View Project

RACE 2人で 16周レース

by sousuke-kun

Project thumbnail
View Project

SHARK/ANIMATION

by klklklbrawler

Project thumbnail
View Project

sky ボールころころ20 hardmode4

by skyblueball2

Project thumbnail
View Project

Nextbot Chase (Angry Munci)

by Scratcherrjfdd

Project thumbnail
View Project

OMNILOVANIA [UndertaleFangame] v1.2

by reikun016

Project thumbnail
View Project

Dateblocks Band 1 (The Band Of Dateblocks Starts!)

by fabiantube

Project thumbnail
View Project

UNDYNE BATTLE SIM

by TheBus_2

Project thumbnail
View Project

Appel New Levels #2

by sibayuu

Project thumbnail
View Project

Mario Bros. Classic

by Aaronhoffer

Project thumbnail
View Project

add your favorite electronic item and remix it

by sonic2000

Project thumbnail
View Project

日本ストーリー3rd 第十話「Future」

by Pikurin

Project thumbnail
View Project

♪ Alone / Alan Walker ♪

by K-Orange

Project thumbnail
View Project

彈幕遊戲 版本1.3.0

by dw10760505

Project thumbnail
View Project

(500 Views Special) Beat Up Hammer Mario 500

by ismiiboy

Project thumbnail
View Project

TurboWarp Stage Size Detector

by QuexizT