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 Edward 8

by jace1809

Project thumbnail
View Project

Super Sonic Maker remasterd

by pokemon5455

Project thumbnail
View Project

BEAT UP MR. FUN COMPUTER'S FAMILY!!!!!!!!!!!!!!!! remix remix

by elevatorfan1978

Project thumbnail
View Project

【#ɢᴀᴍᴇ】ᴘᴀᴄᴋᴍᴀɴ ᴄʟɪᴄᴋᴇʀ 【拡散希望】#Clicker #GAME

by -SukuCat245435-

Project thumbnail
View Project

Cuphead

by Pikachu244_amir

Project thumbnail
View Project

The Rat Dance-Chess Type Beat Slowed remix

by red_adc

Project thumbnail
View Project

Kenji's Recycling Journey Screenshots!

by Ethanielacom

Project thumbnail
View Project

Smooth walk script

by LENNOZ

Project thumbnail
View Project

Pixel Painting Online v1.2

by finnagin5

Project thumbnail
View Project

The Witness - A Hollow Knight Platformer (Mobile Compatible) v.03

by ScarletSpiderKaine

Project thumbnail
View Project

【SIMENS-GTO様とコラボ】小田急ロマンスカーVSEドア閉開シミュレーター

by uchiy-i

Project thumbnail
View Project

Fidget spinner

by cminecrafter10

Project thumbnail
View Project

fly swatter

by hehe-games_OFFICIAL

Project thumbnail
View Project

Cat VS Gobo part3

by GUNDAM_DAISUKI

Project thumbnail
View Project

Text to Speech Test

by whitneythepooh888

Project thumbnail
View Project

endless reader

by NumberMaster999

Project thumbnail
View Project

JR東日本のグルメレース

by momo163

Project thumbnail
View Project

Geometry Dash Subzero Press Start (WIP)

by HalloIcookRice

Project thumbnail
View Project

Light simulation

by CoolMarioDude2012

Project thumbnail
View Project

東方ダンマクカグラ ver0.2.1 幽霊楽団 〜 Phantom Ensemble

by kaichi120020

Project thumbnail
View Project

Lacey's Wardrobe (Isolated)

by BASILOMORI

Project thumbnail
View Project

Numberblocks Band 1-100 (My Version)

by ScratchMited34

Project thumbnail
View Project

Beat up Nano (beat up balloon boy edition)

by juliescott12

Project thumbnail
View Project

EXEαドア開閉機構

by TWRkyoudesu