My name is Troy Martins, and welcome to my Game Development Blog!
This blog post will concentrate on my Intermediate Computer Graphics class, and more specifically my 4th and 5th week of classes.
Blurring, HDR, DOF and Shadows!
Well what do I know? HDR is something I love, and is really cool, and for those who don't know... HDR stands for "High-dynamic-range" and what that is, is basically taking the best parts of multiple exposures, and combining them into one. HDR in games, is normally coupled with bloom.
![]() |
Example of HDR |
Blurring, is something I know, and knew of, but never fully understood, how it was done, and to be honest after learning how it was created, I kinda felt like an idiot, cause it makes so much sense now. I will be writing about blurring and kernels, later. Also related to blurring is DOF, which is "Depth of Field" and what depth of field is, is essentially the area that is in-focus when taking a picture. The depth of field, is the small viewing plain that is "sharp" while the rest is "blurry" and out of focus. This is used to bring focus to a certain object, or to help with the illusion of depth.
Lastly shadows, everyone knows what shadows are, and how the are created, but how are they created in games... I normally thought they would be either a static shape, or 2-D render of the character, on a plain, close but however no cigar. Shadow Mapping is a cool thing, that I can't believe I didn't think of it first, I mean it makes much more sense.... So in laments terms, shadow mapping, works as followed, anything that is in direct view of the "light" will be lit, and geometry that is not, will be darker... seems simple, and the exact same as it is in real life, I just never thought to do it like that. I was imagining using the object in some way, and not the "light" I kinda imagined the idea of light in games, was an illusion, but I was wrong, it is no trick, it works like real light. Moreover one can blur the shadows, to give a more natural look.
![]() |
Example of Depth of Field |
![]() |
Example of shadows, in CG |
![]() |
Example of Box blurring |
![]() |
Example of Gaussian blur |
Can't wait to see what next week holds!
-Troy
No comments:
Post a Comment