Hi,
I have just implemented a simple isometric 3D engine that displays cubes, and in order to fill the sides of cubes, I use a Bresenham line function that I modified so that instead of write pixels everytime it iterates, it calls a simple Bresenham line function to draw lines parallel to the two other sides of the trapezoid. Unfortunately, it leaves some pixels out in certain cases.
I have tried filling by triangles instead, but it's worse. Any ideas?
I have just implemented a simple isometric 3D engine that displays cubes, and in order to fill the sides of cubes, I use a Bresenham line function that I modified so that instead of write pixels everytime it iterates, it calls a simple Bresenham line function to draw lines parallel to the two other sides of the trapezoid. Unfortunately, it leaves some pixels out in certain cases.
I have tried filling by triangles instead, but it's worse. Any ideas?