ある理想の直線が存在するとして、それをピクセル単位に分割された、離散化されたディスプレイ空間に適切に、自然に割り当てるにはどうしたらよいか。 ブレセンハムのアルゴリズムが特筆すべきはすべてが整数演算であること。 描画したい直線が$${y=ax+b} ...
So I'm taking a computer graphics course in openGL right now, and for the first lab we are to among other things implement three line drawing routines. First off a normal DDA algorithm, that's easy..