How to draw a circle?
Hi, how to draw fast circle using directdraw? i just found bresenham''s circle algorithm, i''m coding it, but do you have faster algorithm/code for it? thanks!
You might be doing this already, I''m not familiar with that algorithm.
I see the circle as a symetrical object. If you can calculate one quarter of the circle about a (0,0) axis then you can just mirror those co-ordinates to draw the rest of the circle. Then you only have to calculate one quarter of the circle. However, I would think the Bresenham circle algo would be pretty fast.
Guy
I see the circle as a symetrical object. If you can calculate one quarter of the circle about a (0,0) axis then you can just mirror those co-ordinates to draw the rest of the circle. Then you only have to calculate one quarter of the circle. However, I would think the Bresenham circle algo would be pretty fast.
Guy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement