Forum Discussion
Altera_Forum
Honored Contributor
9 years agothanks for the reply ted, this is for a "personal project for fun learning". The idea is to have a system that renders 3D polygons but only the lines, does not fill them (at this stage of the project). These polygons can be rotated, scaled and shifted.
I have also felt that the buffer is perhaps an overkill. However, the idea is that later I shall be filling in these polygons and thus if I learnt how to fill in frame buffer now, it shall help me in later stages of the project. On the other hand, since I am going to be using the bresenham's line drawing algorithm, I cannot find out if a the given pixel occurs in all of the line in real time since this algorithm does not do that, even though this solution is certainly less complex than the one I have imagined. Since most likely an external memory shall be used, I shall have to clear it as well since every frame may be different from the previous frame due to the polygons having been transformed. Depending on the refresh rate and the resolution of the display, external memory of specific speed shall be required.