I am currently revisiting the triangle rasterization code that I have in Vincent. The current implementation is more or less based on the ideas out of Chris Hecker's article http://d6.com/users/checker/misctech.htm. The problem with this approach is that it is quite bulky and expensive during triangle setup. In addition, more advanced features like anti-aliasing are *very* difficult to incorporate.
That said I want to experiment with half-space based rasterization, along the lines of Nicolas Capens article http://www.devmaster.net/codespotlight/show.php?id=17.
I believe that many if not most hardware implementations are actually based on this approach nowadays.
Has anyone here actually tried to use this type of rasterizer in a software implementation for textured polygons on a PPC, and what were the experiences?
Also, has anyone experimented with texture swizzling in such a rasterizer etc. to optimize the cache behavior?
Thanks,
HM
That said I want to experiment with half-space based rasterization, along the lines of Nicolas Capens article http://www.devmaster.net/codespotlight/show.php?id=17.
I believe that many if not most hardware implementations are actually based on this approach nowadays.
Has anyone here actually tried to use this type of rasterizer in a software implementation for textured polygons on a PPC, and what were the experiences?
Also, has anyone experimented with texture swizzling in such a rasterizer etc. to optimize the cache behavior?
Thanks,
HM