The Math of Computer Graphics - TEXTURES and SAMPLERS

  Рет қаралды 24,345

FloatyMonkey

FloatyMonkey

Күн бұрын

Пікірлер: 38
@FloatyMonkey
@FloatyMonkey 5 жыл бұрын
A late Merry Christmas and an early Happy New Year everyone! This video wasn't supposed to turn out this mathematical but I couldn't resist ;) Was there to much math or do you want more in future episodes?
@camillebrugel2988
@camillebrugel2988 4 жыл бұрын
You don't have a lot of views but your content is amazing. Thanks. :)
@citanool
@citanool 3 жыл бұрын
I've been looking for this kind of channel for sooo long. Thank you for breaking down the process into simpler algebraic explanations that don't go way over my head! Would love to see something regarding 3D color lookup tables :)
@gutzimmumdo4910
@gutzimmumdo4910 2 жыл бұрын
underrated channel very good explanations and visualizations.
@no-lifenoah7861
@no-lifenoah7861 Жыл бұрын
You have made a subject I previously found completely arcane and incomprehensible and made it as close to easy as it can possibly get. Thank you
@Seilor_12
@Seilor_12 Жыл бұрын
the best explanation that i happened to find, thank you so much for your content.
@jopssauce
@jopssauce 5 ай бұрын
I was struggling with these concepts but your video cleared it up extremely well. Thanks so much!
@YugeCheng
@YugeCheng 8 ай бұрын
Very clear explanation together with vivid animation. Thanks for your efforts!
@Yuvaraj-pd6ng
@Yuvaraj-pd6ng 11 ай бұрын
The best video on textures on KZbin
@aydaryakup4540
@aydaryakup4540 Жыл бұрын
Damn, so great channel, I can't even describe how grateful I am to you
@ClutchGen
@ClutchGen 3 жыл бұрын
Seriously, your content is awesome. Thank you!
@FloatyMonkey
@FloatyMonkey 3 жыл бұрын
Haha, guess someone's binge-watching. Thank you, means a lot!
@ClutchGen
@ClutchGen 3 жыл бұрын
@@FloatyMonkey Oh, I am! I have an interview for my dream job on Monday where experience with Graphics Programming is a big plus. Moving on to your Vectors video next.
@FloatyMonkey
@FloatyMonkey 3 жыл бұрын
Wow, exciting, hope you get the job, good luck!
@linelogic1699
@linelogic1699 3 жыл бұрын
Your graphics videos are excellent . Explains the concept well with nice animations. Pls make more of these. Say on 'Graphics Pipeline'
@guilhermecampos8313
@guilhermecampos8313 11 ай бұрын
Man, just found your video and it is really good. I'm learning graphics programmin and this info will be very useful for me in the future. Thanks man, excellent explanation,
@soumyajeet7809
@soumyajeet7809 4 жыл бұрын
Wow these Graphics videos are so informative! I would really learn a lot if you continue the series. Thank you.
@CosmicComputer
@CosmicComputer 5 жыл бұрын
I never understood how clamp worked, now I think I do, awesome! Thank you, happy new year!
@santerisuomi9063
@santerisuomi9063 5 жыл бұрын
Great series. Especially liked the ones on vectors and trigonometry, they were great refresher videos. I hope you'll make a video on matrices and their operations and such at some point :D
@FloatyMonkey
@FloatyMonkey 5 жыл бұрын
Thanks. A video on matrices is definitely coming! You can expect it within 3 to 4 weeks.
@Phostings1
@Phostings1 Жыл бұрын
OH WOW! I know i'm late on this, but you literally explained how the N64 generated its graphics! I always wanted to know how it works. As you started to explain the process, I could piece together my thoughts. Nice job!
@D3lor34n
@D3lor34n 2 жыл бұрын
Well explained, thank you
@chadyonfire7878
@chadyonfire7878 Жыл бұрын
brilliant thx
@Zachariah-Abueg
@Zachariah-Abueg 2 жыл бұрын
exercise: how do we know that 4 and 8 are the dimensions we want for interpolating a 5x5 mipmap? i first noticed that 2^(log₂ 5) = 5, by the property that a^(logₐ x) = x. from here, i wanted to understand why 4 needed the floor of the log and why 8 needed the ceiling of the log. i had an intuitive sense that 4 is what happens when you "round down" and 8 is what happens when you "round up", but it didn't satisfy me so i sought to make it precise. first, what does log₂ 5 even mean? let's set x = log₂ 5. then by the definition of logarithms, we have the equivalent question "what number x satisfies 2ˣ = 5?". this sets the scene. then, i notice that 2² = 4 ≤ 5 ≤ 8 = 2³. using the above question, i reformulated this as 2² ≤ 2ˣ ≤ 2³. hence, 2 ≤ x ≤ 3. finally, i used my intuition of floors and ceilings. with the inequality above, rounding x down gives x = 2 and rounding x up gives x = 3. with all this intuition, we can see why it makes sense to use 2^⌊log₂ x⌋ and 2^⌈log₂ x⌉ to find the dimensions of the two grids right before and right after the x by x grid we are using.
@berkanc_1436
@berkanc_1436 5 ай бұрын
underrated af
@dustinthompson8600
@dustinthompson8600 3 жыл бұрын
I have 2 questions: 1. UV Mapping - If we need to store a vertex multiple times in the Vertex Buffer when it has multiple UV coordinates, then wouldn't this invalidate the use of an Index Buffer? 2. Mipmapping - If we only have the mipmap texture files (in powers of 2) like the 4x4 and the 8x8, what is the reason we would query for a non-existent 5x5 texture instead of using the files we already have? Thank you, your series on mathematics and game engines has really helped me progress as a new game developer.
@FloatyMonkey
@FloatyMonkey 3 жыл бұрын
Great questions, I've done my best to answer them: 1. That would be true if a large amount of vertices or even every vertex needs its own uv-coordinate. In practice though, that's almost never the case. It basically comes down to how many 'cuts' you need to make in the model to unwrap it into the UV map. For a cube that amount is relatively high, for large and complex models however, the amount of 'cuts' is very low compared to the total amount of edges. As always, any optimization like the use of an index buffer depends on the specific use case. 2. The reason we query a 5x5 texture or any arbitrary size for that matter is because it's the 'area' the texture covers on the screen. Before a texture gets sampled, the gpu figures out how many pixels it occupies in the render target. Based on this number it wel then take the mipmap that's smaller and larger and interpolate between them. In the case of 4, 5 and 8 the difference is not too big but lets say a texture takes up 1500 pixels on your screen, then the nearest mipmaps (1024 & 2048) are almost 500 pixels too small or too large. To reduce artifacts we therefore interpolate between them based on whose size is closest to 1500. I'm glad my series is helpfull to you.
@_b7090
@_b7090 10 ай бұрын
13:00 where's the blue?
@princedeka6054
@princedeka6054 3 жыл бұрын
New subscriber 😎👍.... I am also a programmer and specifically interested in Graphics programming!!
@michaelmclean2363
@michaelmclean2363 2 жыл бұрын
What an amazing way to learn math. I would definitely buy a course like this on Udemy or something for beginners
@4AneR
@4AneR 5 жыл бұрын
You have superb visualisations, but please use more contrast colors. When you refer to 'blue' pixels, and there are 3 arguably different blue colors, then it's disturbing
@FloatyMonkey
@FloatyMonkey 5 жыл бұрын
Thanks, I'll definitely take that into account. I am colourblind though. For me there was only one color that was 'obviously' blue. Haha, I guess I'm going to anoy family or friends to check that for me in the future.
@4AneR
@4AneR 5 жыл бұрын
@@FloatyMonkey wow I appreciate your efforts to explain graphics then. You may just straight use rainbow colors, since they're hard to mess up, but I assume it's harder for you to distinguish them while editing ;)
@sherineabdelhak35
@sherineabdelhak35 2 жыл бұрын
excellent series. would be awesome if it explores the new technologies in this pipeline now, esp with AI
@anonymoussloth6687
@anonymoussloth6687 4 жыл бұрын
what software do you use to make these animations and amazing depictions?
@FloatyMonkey
@FloatyMonkey 4 жыл бұрын
I use PowerPoint. The morph transition does a lot of the work.
@djaccount5458
@djaccount5458 Жыл бұрын
Even simply example code is better than this PowerPoint presentation.
How TRIANGLES make up 3D MODELS
11:09
FloatyMonkey
Рет қаралды 15 М.
Intro to Graphics 13 - Textures
1:10:17
Cem Yuksel
Рет қаралды 12 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
In Video Games, The Player Never Moves
19:21
Josh's Channel
Рет қаралды 469 М.
Essential Mathematics For Aspiring Game Developers
47:06
javidx9
Рет қаралды 396 М.
The Math behind (most) 3D games - Perspective Projection
13:20
Brendan Galea
Рет қаралды 429 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
How Real Time Computer Graphics and Rasterization work
10:51
FloatyMonkey
Рет қаралды 97 М.
Texture Mapping & Polygon Rasterizing Tutorial (1/2) [C++20]
22:46
How To Actually Achieve Your Goals in 2025 (Evidence-Based)
15:15
3D Software Rendering Graphics Pipeline
18:29
pikuma
Рет қаралды 22 М.
Everything You Need to Know About VECTORS
17:42
FloatyMonkey
Рет қаралды 1,2 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН