3 ms·
I would love to see a case, even contrived, where planar quads produce artifacts from floating point precision but I think it would be extremely difficult to de
by CyberDildonics 11y ago
I would love to see a case, even contrived, where planar quads produce artifacts from floating point precision but I think it would be extremely difficult to demonstrate it even on an enormous ground plane quad, let alone a subpixel quad.
I'm not sure why you would say no modern API deals with quads, what would you call the ability to draw quads and quad strips from gpu buffers in OpenGL?
Geometry shaders should work well, what I described is an approach for lower tech situations.
- DominikD 11y agoPretty much any set of 4 fp vectors that don't share z coord will end up non-coplanar at some point (if you insist on going barycentric for texture iteration or if you plan on using halfplanes to do intersection or whatever). That's why HW tends to use fixed point internal representation in such places. But yeah, whatever, it's almost 1am and I shouldn't be spending time convincing people online that GPU developers know a thing or two about GPU. :) But at the very least trust me on one thing: quads are dead. They've been dead for a long, long time now, low-end or high-end, quads make no sense at all.