Black Hole Distributed Raymarcher
Description
https://turbowarp.org/709319751?turbo&stuck UPDATES ON PREVIOUS: - Accretion disk - Reflective sphere - Antialiasing HOW THIS WORKS: This is based on the formula F=G*(m1*m2)/r^2, where r is the distance between two objects, G is gravity, m1 and m2 are the object masses, and F is the force of attraction between them. This casts rays from the camera (mass of 1), and some are warped towards and sucked into the black hole, whereas some make it past. Those that make it past form a grid, to demonstrate the warping of spacetime. So, for the ray direction, I made a velocity vector, by creating a new point in the desired direction 'pointing' towards it, then normalising the vector. For every iteration, the photon moves by velocity amount, then the force is calculated with the above formula, and the vector from the photon position to the black hole, rather than the target point, is multiplied by the force of attraction. That is added to the velocity vector, it is normalised again, and it repeats from there.
Instructions
Press the flag and wait. This utilises monte-carlo multisampling. The sphere's reflection looks off because light behaves strangely here.
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
Beat up TVOKids Q UTTP THDTC
by crazybabybaby16
OUSAMIZ TAX #3: THE ULTIMATE OUSAMIZ TAX remix remix
by crazybabybaby16
New Super Mario Bros. Scratched!
by luigibonamigo
Low Pressure || An accurate hurricane simulator! remix
by Foster4566
6K F18571 digital clock
by F18571
Discovery Kids DVD/CD (revival DVD) (2024-)
by funscratchvideos2006
Beat Up Bonzi Buddy: DEFINITE EDITION ADD ATTACKS!
by boiboiboiboi6566343
HARVEY AMV [PIBBY STARLINE AU]
by XSKITTLEBERRYX
talking tom and ben news all-stars remixes v2
by veziravcisi
Object Invasion Original Footage Camp 6A: WAAAAARIO
by gabordoesstuff
Beat up Wenba remix remix remix
by jayjayy1809
ファミスタ 野球盤
by akamaru_prg
HIDE TO SURVIVE 3
by ChuckParker1126
Poké Merge
by barberl19
plum r 만드는중
by tigerjjw53
【東方】月まで届け、不死の煙 スクリプト演奏
by Cranberrytrap
アニメ FOURVERSE 第29話「バッドエンド」
by kesikesi_gomugomu
Russian Alphabet lore Interactive but reverse 2
by bubbyboy_2017
baldis basics v1.4
by LegoBrainiac12
add your buttons to beat up talking ben! (2)
by Paata256times
Interactive RALR Aliens (W.I.P.) remix
by danendra08
Yellow4’s Interactive Spanish Alphabet Lore
by dekual1
BrayanStudios’ Spanish Alphabet Lore (remastered)
by BryanTheAnimator
New Version!
by ArleneKlaskyagain