Reaper_Unreal
Newcomer
I'm trying to write myself a line-drawing function onto a 2D surface, but I'm running into a small dilemma. I'm not sureif I should be using a DDA algorithm or a bresenham algorithm. I've currently got the DDA algorithm implements because I don't plan on drawing many lines, but I'm sort of stuck on how to implement anti-aliasing on that type of algorithm. I'm just not sure how I'd get the pixel weights for doing a linear interpolation between pixels.
Also, completely separate question that has nothing to do with 3D and more to do with DirectDraw. Anyone have any links that would give me a good idea how to implement alpha channels in DirectDraw 7?
Also, completely separate question that has nothing to do with 3D and more to do with DirectDraw. Anyone have any links that would give me a good idea how to implement alpha channels in DirectDraw 7?