Coding Adventure: Portals

Coding Adventure: Portals

1.401.423 Lượt nghe
Coding Adventure: Portals
Experimenting with portals, for science. The project is available here: https://github.com/SebLague/Portals/tree/master If you'd like to get early access to new projects, or simply want to support me in creating more videos, please visit https://www.patreon.com/SebastianLague Resources I used: http://tomhulton.blogspot.com/2015/08/portal-rendering-with-offscreen-render.html http://www.terathon.com/lengyel/Lengyel-Oblique.pdf https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/projection-matrices-what-you-need-to-know-first https://www.turiyaware.com/a-solution-to-unitys-camera-worldtoscreenpoint-causing-ui-elements-to-display-when-object-is-behind-the-camera/ Chapters: 0:00 Introduction 0:25 Figuring out the cameras 1:41 Test world 3:09 Texture mapping 4:27 Trying to understand perspective divide 5:50 Optimization 6:50 Making a prettier test world 7:18 Teleportation, at last! 9:17 Fixing the flickering 10:00 Slicing 12:15 Oblique projection 13:31 Recursive portals 15:33 Outroduction 3D Models: Plane: https://www.turbosquid.com/FullPreview/Index.cfm/ID/1041070 Car: https://www.turbosquid.com/FullPreview/Index.cfm/ID/1101519 Music: "Twisting", "Lightless Dawn", "Frost Waltz", "Heart of Nowhere", "At Rest", "Spellbound", "In Your Arms", "Rynos Theme", and "The Builder" by Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/