Рет қаралды 992,392
This video shows the solution to the most complex portal riddle: "What will happen if we put one portal into another?". I explained how this works and how I coded this.
Chapters:
0:00 Intro
0:23 Formulating the problem
0:44 About portal movement (simple portal paradox)
3:24 Two portal pairs
4:43 Why portal must have the same shape on input and output
5:52 Why split portal looks continuous
6:47 How to split portal will teleport object
7:45 Why two portal pairs scene is important
8:10 Common information about the "portal in portal"
8:36 What if look inside "portal in portal"
8:54 What if put object into "portal in portal"
9:36 Teleportation degrees
10:53 Rotating portal in portal animation
11:12 Base of the discrete approach
12:24 Solution of "portal in portal" by discrete approach
15:04 Base of the analytical approach
18:49 Solution of "portal in portal" by the analytical approach
20:38 What if move next, ignoring limitations
21:36 About my program
22:45 Base of the program (Rust, egui, macroquad, WASM)
23:32 Conclusion
Links:
[1] • What happend to portal... - moving portal gameplay
[2] • The Portal Paradox - minutephysics video
[3] • This happens when you ... - my previous video
[4] raytracing.github.io/ - Ray Tracing in One Weekend
[5] optozorax.github.io/portal - my program in the browser (don't run from your phone, this program has very heavy shaders, it may lay down your phone or weak computer)
[6] www.rust-lang.org/ - Rust programming language
[7] github.com/emilk/egui - "egui" library
[8] github.com/not-fl3/macroquad - "macroquad" library
[9] github.com/optozorax/portal - source code of my program
[10] t.me/optozorax_dev - my telegram channel
Places where I wrote:
Telegram - t.me/optozorax_dev
Twitter - / optozorax
If you found subtitles mistake or anywhere else, please DM me on Telegram or Twitter.