Hardware 3D (C++ DirectX Graphics) Tutorial 47

From Chilipedia
Jump to: navigation, search

This is a 2-part tutorial. Part 1 uses the blur filter from Tutorial 46 to create an improved outline filter, and then teaches the theory behind an better blur filter implementation (Gaussian filter), as well as the concept of separable filters. Part 2 implements a separated Gaussian filter, and goes on to show a resolution reduction optimization technique for said filter.

Topics Covered

Part 1

  • Using the "reflect" oversampling mode for better fullscreen postprocessing filters
  • Implementing an outline effect using the box blur filter
  • Improving outline effect composition by blending only alpha while keeping color constant
  • The theory of a Gaussian blur filter
  • Separable image filters

Part 2

  • Implementing a separable Gaussian blur filter
  • Applying Gaussian blur to the blur outline effect
  • Dynamic control of shape and radius
  • Downsize blur filter optimization
  • Examining the intermediate filter products with the Graphics Debugger

Video Timestamp Index

Source Code

See also