CAMERAS and How They Work | Game Engine series

  Рет қаралды 42,014

The Cherno

The Cherno

Күн бұрын

Пікірлер: 57
@davencharity
@davencharity 5 жыл бұрын
Hey Yan, that duck on your shirt makes me think of something. Did you remember to take the turkey out of the oven? ;)
@n_x1891
@n_x1891 4 жыл бұрын
Than you so much for your tutorials Yan. This is super fun! I'm building an Oldschool Runscape Clone from what I'm learning!
@bartoss92
@bartoss92 5 жыл бұрын
7:05 Confirmed, mathematicians are not humans :D
@voxelrifts
@voxelrifts 4 жыл бұрын
Mathematicians don't always use Radians.
@laurensscheldeman4121
@laurensscheldeman4121 5 жыл бұрын
Replacement for the dead cactus! Nice sunny flower!
@Oingoboingo710
@Oingoboingo710 5 жыл бұрын
This is so underrated thank you so much
@s1nister688
@s1nister688 5 жыл бұрын
Excited for 3D as well ;)
@CeilingPanda
@CeilingPanda 5 жыл бұрын
Something fun to mention when it comes to FOV is that when you implement a camera, if you use a far plane and turn, objects might "go away" when you turn TOWARDS them, due to how squares and distances work. Depending on implementation of course.
@techgo4431
@techgo4431 5 жыл бұрын
0scar1994 which is why in any 3D program the far plane is generally customizable.
@agfd5659
@agfd5659 5 жыл бұрын
When you imagine how the frustum rotates when you rotate the camera, it makes sense
@CeilingPanda
@CeilingPanda 5 жыл бұрын
@@agfd5659 It sure does, but in my experience when people don't have an habit of drawing things up to visualize it and mostly look at numbers first, and just try to conclude if it's correct or not by looking at the camera when completed it might throw them off guard, it did for several people at our school when doing a camera :)
@icaroamorim3123
@icaroamorim3123 5 жыл бұрын
Maybe you should do another playlist with all the planing videos. They are nice as "single videos" classes.
@AnilKumar-bh4vt
@AnilKumar-bh4vt 5 жыл бұрын
Don't quit..... Keep going
@Puddlestomps
@Puddlestomps 5 жыл бұрын
Very interesting discussion! I am just wondering where depth sorting happens if you batch objects by shader/material. Unless OpenGL does it automagically? Surely somewhere you have to decide on a specific order that you render objects in. Oh, and I would love for the series to get to 3D ASAP! It seems much more interesting than 2D.
@jannis8218
@jannis8218 5 жыл бұрын
The order doesn't matter, OpenGL uses a Z-buffer for depth testing, you can look that up on Google
@agfd5659
@agfd5659 5 жыл бұрын
@@jannis8218 but you have to tell OpenGL to use the depth buffer
@ghosthitthose8681
@ghosthitthose8681 2 жыл бұрын
@@jannis8218 is it better to just use opengl's implementation of depth testing for more official games or would your own system be a better alternative
@Aziqfajar
@Aziqfajar 5 жыл бұрын
So, does that mean that the camera doesn't exist, but the camera actually transform all the environment?
@zeuglcockatrice4633
@zeuglcockatrice4633 5 жыл бұрын
it means that when you move your mouse in a game you actually rotate the entire game world in the opposite direction
@kutanarcanakgul5533
@kutanarcanakgul5533 5 жыл бұрын
Hey man. I started watching you like 2 days now and i watched 20 videos of your. You have a great content. I haven't see a video about Design Patterns. Can you Series about that?
@sam_is_people1170
@sam_is_people1170 3 жыл бұрын
thanks!!!
@stargazerch.3605
@stargazerch.3605 4 жыл бұрын
Is the Clipping Matrix the same as the Projection Matrix?
@stormsoendergaard3023
@stormsoendergaard3023 4 жыл бұрын
7:05... well... dang... guess I'm not human then
@JohnHiz
@JohnHiz 14 күн бұрын
It's too late I guess but what app do you use for drawing?
@richardlighthouse5328
@richardlighthouse5328 5 жыл бұрын
When will we load custom models into our engine?
@fanisdeli
@fanisdeli 5 жыл бұрын
to load custom models, we will need a lot of stuff we currently don't have. For once, a camera. Then, a 3D renderer, a 3D camera, textures, models, and other stuff I can't think of right now.. also, some other important stuff comes before loading custom models. I don't know when that'll happen, but probably it'll be at least a month. Hazel Development branch already has custom models and all that, you can support him on patreon to get access to that
@richardlighthouse5328
@richardlighthouse5328 5 жыл бұрын
@@fanisdeli I have implemented all of these you listed to load custom models. My problem is that the model just doesn't show. and no errors on debug output.
@ronnieoogies2114
@ronnieoogies2114 7 ай бұрын
or "Data American is on Point😂🤣"
@Jkauppa
@Jkauppa 3 жыл бұрын
world simplest (or among them) is ray casted cameras
@Jkauppa
@Jkauppa 3 жыл бұрын
not regarding 2d sprites always same view, do your own version of virtua cop
@Jkauppa
@Jkauppa 3 жыл бұрын
camera is a origin point, a direction (point + vector), with a desired surface centered (field of view, angle) on the direction viewing direction, it could be a rectangle or a partial/full sphere, anything, then you map the view to the view port, screen, what might be anything, even a vr sphere, in head mounted goggles
@SarrabiscosPT
@SarrabiscosPT 5 жыл бұрын
What if you are trying to do a game like portal, in which there are multiple cameras at once? Doesn't tying the camera to the scene limit the number at cameras being rendered at once to one?
@techgo4431
@techgo4431 5 жыл бұрын
Sarrabiscos then you just have to give the user the option to create and customize their own cameras which is something all game engine does, the camera that is tied to the scene is just the game engine camera it's what enables people to move around in the game engine.
@MrPool412
@MrPool412 5 жыл бұрын
Best video ever
@eric-jt4ij
@eric-jt4ij 5 жыл бұрын
U r The 1
@jaoschmidt3786
@jaoschmidt3786 10 ай бұрын
90º is insane? I always play with 120º to 100º lol. I think 100º is the sweet spot
@Jim-sf9qh
@Jim-sf9qh 5 жыл бұрын
It think it would be interesting to see you make a simple 2d game before you go onto 3d stuff.
@industrialdonut7681
@industrialdonut7681 4 жыл бұрын
How did you learn all this stuff that you know lol?
@Destroyer19941995
@Destroyer19941995 4 жыл бұрын
He worked at EA for years as game engine developer
@SoundsOfTheWildYT
@SoundsOfTheWildYT 5 жыл бұрын
Idk this doesn't seem like much of an intuitive explanation of how world space - local (Camera) space - screen space transformations work. Like the individual cases of what happens to the cube when the camera moves are pretty simple, but saying it inverts it to "the cube (and whole scene) gets further away" seems to overcomplicate it, but it might be that I have more experience with Linear Algebra and Affine Geometry having experienced those in my degree before moving over to attempt to understand computer graphics. Interesting discussion though, and great video as always!
@Matt23488
@Matt23488 5 жыл бұрын
I would cast a vote for 2D stuff first.
@seditt5146
@seditt5146 5 жыл бұрын
Dude... It is definitely pronounced Data not Data, idk why you said Data but everyone around here says Data instead.
@0101-f1j
@0101-f1j 5 жыл бұрын
what
@seditt5146
@seditt5146 5 жыл бұрын
@@0101-f1j 9:00
@samuelrasquinha6712
@samuelrasquinha6712 4 жыл бұрын
@@0101-f1j Hey Peter
@JustARegularPlayer
@JustARegularPlayer 3 жыл бұрын
I surely think it's pronounced "Data"
@clodgozon3968
@clodgozon3968 5 жыл бұрын
Hello bois
@retroryuu7254
@retroryuu7254 5 жыл бұрын
Duck
@Ageof3D
@Ageof3D 5 жыл бұрын
Good video, right?
@quanghong3922
@quanghong3922 5 жыл бұрын
Hello
@Aldrin.Antony
@Aldrin.Antony 5 жыл бұрын
First
@TanjoGalbi
@TanjoGalbi 4 жыл бұрын
You over complicated the camera rotation explanation. The cube and all the other objects in the world rotate around the origin of the camera, that simple. The maths are not that simple but the quick explanation that you could have used is 🙂
@sevenbit
@sevenbit 4 жыл бұрын
this video lacks a 'right' counter :) right?
@quanghong3922
@quanghong3922 5 жыл бұрын
I am the first person
@garrethutchington1663
@garrethutchington1663 5 жыл бұрын
Adam, is that you?
@0101-f1j
@0101-f1j 5 жыл бұрын
@@garrethutchington1663 lmao
TIMESTEPS and DELTA TIME | Game Engine series
28:06
The Cherno
Рет қаралды 48 М.
Creating an Orthographic Camera | Game Engine series
38:28
The Cherno
Рет қаралды 48 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
How to Make a Good 2D Camera
11:38
Game Maker's Toolkit
Рет қаралды 424 М.
I made this 3D game with ONLY code
9:06
Carter Semrad
Рет қаралды 449 М.
Material Systems | Game Engine series
32:05
The Cherno
Рет қаралды 39 М.
Vertex Buffer Layouts | Game Engine series
49:16
The Cherno
Рет қаралды 43 М.
Camera (View) Transform - Vulkan Game Engine Tutorial 14
11:48
Brendan Galea
Рет қаралды 26 М.
How do games render their scenes? | Bitwise
13:12
DigiDigger
Рет қаралды 570 М.
BLENDING | Game Engine series
19:21
The Cherno
Рет қаралды 23 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,4 МЛН
Rendering Architecture | Game Engine series
27:53
The Cherno
Рет қаралды 67 М.
Zoomable Camera (part 1) - MonoGame 2D [#10]
20:50
Two-Bit Coding
Рет қаралды 6 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41