IT Hare on Soft.ware

Tap to confirm selection


Your mileage may vary. Batteries not included

Programming is a field where tips and tricks are abundant.

IT Hares proudly present their own bag of programming tips and tricks.

Tips & Tricks, page 1/4 :

Determinism: Requirements vs Features

Apparently, in practice there is big difference between cross-platform determinism and same-executable determinism, both in abilities they can provide, and from implementation complexity point of view
“Cross-platform determinism is the strictest definition of determinism I know; not surprisingly, there are quite a few factors which can break it”

Game Graphics 101: Lights!.. Camera!.. Frustum?

“In games, more often than not, we’ll be dealing with so-called Phong reflection model.”
Another Quote:
“with orthographic projection, the lines which project points from our 3D world onto our 2D screen, are no longer converging to one single point; instead, they go parallel to each other.”

Game Graphics 101: Textures, UV Mapping, and Texture Filtering

“Size-wise, textures are HUGE. Actually, in a typical 3D game, 90%+ of the space on disk (and of GPU bandwidth/RAM) are used by textures.”
Another Quote:
“3D anti-aliasing algorithms can be divided into two large groups: ‘proper’ anti-aliasing (the one which tries to avoid anti-aliasing in the first place), and ‘post-processing’ anti-aliasing (the one which creates an aliased image – and then post-processes it to make it look better).”