Realtime Raytracer 2.8dev4

Realtime Raytracer 2.8dev4

by hiPeeps124816

πŸ‘ 1,243 ❀️ 14 ⭐ 10 πŸ”„ 2
Created: Apr 1, 2021 Last modified: Feb 17, 2022 Shared: Apr 1, 2021

Description

@ThePlaneGuy45 for some ideas @Geotale's tutorials @SpinningCube helped a lot @piano_miles for agreeing to help me with this (even tho he actually didn't help me yet) @Howtomakeausername @Raihan142857 for GGX music is 0x10c by C418 i still modified some stuf mom told me to improve memory efficiency applauded by @Geotale and @SpinningCube :O features: broken shadows horrible graphics reasonable speed (for a raytracer) realtime slow z movement lack of camera rotation vr you might find comments from the old broken days of this raytracer 1076 blocks #Ray #Madness

Instructions

Recommended stable version (modified 2.6): https://turbowarp.org/588877716/ warning very laggy you could actually be sane to run it on turbo mode at res 1 could be useful for benchmark tests have your first day of being a professional computer killer and crasher today, only $0.00! turbo mode (shift+flag or see inside+edit+turbo mode+see project page) or turbowarp if you are a sensible person or do not want to kill computers: https://turbowarp.org/510413590?stuck&turbo lag is 100% guaranteed, even on turbowarp there is a little use wasdqz Changelog April 1, 2021 1.0 released, not a rickroll April 2, 2021 1.0.1 fixed intersect variables April 6, 2021 1.1 completely fixed it, somehow it was casting reflection rays xD April 9, 2021 1.2 added 4 more balls, made it a whole lot slower April 10, 2021 1.2.1 drastically less distortion thanks to @SpinningCube April 11, 2021 1.2.2 made it more...modern by changing screen ratio which slightly speeds it up (43,200 less pixels to fill at res 1), now compatible with your new futuristic plasma tv from 2071 (yes, a tv from the future) April 15, 2021 1.2.3 fixed it once again (put center variables where the intersect variables were supposed to go lol) April 17, 2021 2.0 implemented realtime, now it is (almost) a full realtime raytracer engine April 18. 2021 2.1 able to choose start res April 19, 2021 2.1.1 removed that feature cuz its kinda useless April 19, 2021 2.1.2 pls halp April 21, 2021 2.2 added y axis and turbowarp detector to set optimal start res April 22, 2021 2.2.1 Happy Earth Day! Also: improved memory efficiency, now stops when its done rendering at 1/4 of a pixel, thx mom April 23, 2021 2.2.2 pen moves more accurately and new thumb April 25, 2021 2.2.3 faster z movement and added run without screen refresh May 20 somethingth, 2021 2.2.4 reduced diffuse to a more satisfying level May 27, 2021 2.3 cleaner look, more speed May 28, 2021 2.3.1 removed the gradually higher quality feature to save memory August 4, 2021 2.3.2 replaced chonky blocks with unchonky block August 14, 2021 2.4 added music August 16, 2021 2.5 replaced Phong lighting with GGX October 8, 2021 2.6 Objects have own custom properties, test object (red ball in top right), more customizable object properties (unfinished apparently) October 10, 2021 2.7 switch to rgb October 30, 2021 2.8dev4 VR (done), FPS and model saving (done), model loading (not done) for more about raytracing: https://en.scratch-wiki.info/wiki/Three-Dimensional_Projects#Raytracing_and_Path_Tracing https://en.wikipedia.org/wiki/Ray_tracing_(graphics) for more about its simpler, faster counterpart, raycasting: https://en.scratch-wiki.info/wiki/Three-Dimensional_Projects#Ray_casting https://en.wikipedia.org/wiki/2.5D#Ray_casting https://en.wikipedia.org/wiki/Ray_casting for more about its more complex, slower, fuzzier counterpart, pathtracing: https://en.scratch-wiki.info/wiki/Three-Dimensional_Projects#Raytracing_and_Path_Tracing https://en.wikipedia.org/wiki/Path_tracing for more about its slightly slower, simpler, more beautiful counterpart, ray marching: https://en.wikipedia.org/wiki/Draft:Ray_marching Possibly asked questions: 1. If raytracers are so slow, how do you test this? Setting the pen size to 3 allows for an adequate amount of raytracing speed. I also constantly reload Turbowarp. 2. Why does this section exist? So I have an excuse to not answer your questions directly 3. How did you do this? So you didn't even look at notes and credits huh? WELL LOOK NOW 4. How do you make it go fast with resolution 1? So did you just scroll down here without reading anything? Well scroll back up if you want your question answered. My job here is done. After I'm done answering your questions before you even asked them. 5. What is raytracing? Use those links I GENEROUSLY PROVIDED FOR YOU above. I actually pasted those links without breaking a single molecule of sweat. 6. I hate this. Why? 7. Because. Ok, I reported you. Next! 8. Is there really something slower than raytracing? I thought I said that above. But yes, there is. It's called path tracing, but I really don't think you would wanna use it because it really isn't that worth it in my opinion. At least on Scratch. I'm not gonna stop you from doing it though. Though there are ways to get noiseless images with less samples. Now I'm interested in making a pathtracer.

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

run scratch all!

by SamiSamantaG

Project thumbnail
View Project

❀ Domestic Platformer | 2 Player ❀

by -TechCode-

Project thumbnail
View Project

Talk It! Beta 0.1

by roninlikesspeakers

Project thumbnail
View Project

Numberb 6D remix

by arekgl

Project thumbnail
View Project

Hill Climb Racing Mobile

by drewthegamer13

Project thumbnail
View Project

Road Rider

by NickGlass

Project thumbnail
View Project

Sprunki Swap Retextured phase 1.5

by riceChampion2018

Project thumbnail
View Project

Artistic Text 20.9 βΉ’ remix remix

by sopianjelek

Project thumbnail
View Project

Beat Up Sonic ExtremeCore Editon Super Many New Button remix remix remix remix remix

by azoriad

Project thumbnail
View Project

Weapon Ball Battles

by Littl3Be3rryJam

Project thumbnail
View Project

Numbericons 1-8000

by jayden2015paul

Project thumbnail
View Project

AY in Roulette of Trapdoors! (G's 15th Birthday edition) [ Remix 1 | 12 Players ]

by tvokidsgthebest

Project thumbnail
View Project

~Uni-whale Maker~

by LittleWhiteGalloway

Project thumbnail
View Project

My Talking Tom 2 (FULL)

by louiemeister20

Project thumbnail
View Project

Sans | Friday Night Funkin' |

by TheChildYoder

Project thumbnail
View Project

Cuphead Goopy Le Grande in Ruse of an Ooze

by billyismegood

Project thumbnail
View Project

γ‚Ήγ‚ΏγƒΌγ‚·γƒ₯γƒΌγƒˆVS γƒ’γƒ’γƒ³γ‚¬γ›γ„γ˜γ‚“

by monnsutaaboru

Project thumbnail
View Project

Beat Up Evil Simon (Version 1.0)

by ThunderPerth

Project thumbnail
View Project

TheLogoChannel's Talking News 3.4

by Smegson9_Scratch

Project thumbnail
View Project

Beat Up Scratch Cat 3

by hyd3ns33k

Project thumbnail
View Project

test

by Kono_Muda_Da

Project thumbnail
View Project

l Intro >> gineppi

by Xx_-star-_xX

Project thumbnail
View Project

talking tom and ben news (V.1.4)

by ooffffffffh

Project thumbnail
View Project

Opening to Inanimate Insanity: The Complete First Season 2015 DVD (Entertainment One print)

by squarebrett