Homogeneous Notation
When doing transformations you should use homogeneous notation of vectors and points. A point is declared as p = (x,y,z,1) A vector is declared as v = (x,y,z,0)
View ArticleAngle between two vectors
Here’s the formula to get the angle between two vectors in 2D space. vector2 diff = target - position; float angle = atan2(diff.y, diff.x);
View ArticleImproved Alpha-Testing
The full title of this paper is improved “Alpha-Tested Magnification for Vector Textures and Special Effects”. It’s about a technique to use vector textures when decaling for improved precision when...
View Article
More Pages to Explore .....