Tips and Tricks
Programming is a field where tips and tricks are abundant.
IT Hares proudly present their own bag of programming tips and tricks.
Game Graphics 101: Rendering 2D on GPU. Shaders
August 29, 2016 by • “No Bugs” Bunny
Quote:
Using 3D engine can improve your 2D picture dramatically.
Another Quote:
Strictly speaking, “shader” is a program which is executed for each “vertex” or each “pixel”
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks
Read moreGame Graphics 101: 2D Animation, Sprites, Double and Triple Buffering
August 16, 2016 by • “No Bugs” Bunny
Quote:
If you’re using double buffering AND perform buffer swap in sync with the V-Sync signal, your monitor will show your game just as a movie projector with shutter would show a cartoon in the cinema
Another Quote:
I’ve seen a pretty minimal 2D engine written from scratch at a cost of 4-6 person-weeks
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks
Read moreGame Graphics 101: Static 2D (Vectors/Rasters, Color Spaces, 2D Anti-Aliasing, etc.)
August 8, 2016 by • “No Bugs” Bunny
Quote:
when trying to scale vector image to VERY small pixel sizes – you might get problems
Another Quote:
Internally, JPEG uses a close cousin of a Fourier Transform, which works over 8x8 pixel blocks.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and Tricks
Read more



