Quantcast
Channel: Game Rendering » Vector
Browsing all 3 articles
Browse latest View live

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 Article



Angle 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 Article

Image may be NSFW.
Clik here to view.

Improved 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
Browsing all 3 articles
Browse latest View live




Latest Images