🤔 I wonder if there's any basic triangle rasterizers available as a C single header library
And I don't mean like textures and all that bullshit just literally triangles
Although if it did textures and stuff I guess that could be OK too
🤔 I wonder if there's any basic triangle rasterizers available as a C single header library
And I don't mean like textures and all that bullshit just literally triangles
Although if it did textures and stuff I guess that could be OK too
@eniko @gabrielesvelto Parameter interpolation in 3 or just 2 dimensional space? 3 is harder because you either have a 1/Z component to compute or approximate each step, or you orient your scanouts not along a fixed axis but lines where 1/Z is constant. Or you ignore that and your triangles look like an OG PSX. 🙃
@gabrielesvelto fixed point scanline with some kind of parameter interpolation would be great >_>
@eniko I would have still dusted off a skill I haven't used since the beginning of this century. What do you need, float or fixed-point inputs? Z-buffering? Some kind of parameter interpolation? Do you have a preference between scanlielne or uniform rasterization?
@gabrielesvelto what if you make it and I don't wind up using it? >_>
@eniko I'm finally on vacation and I'd happily write one for you if you'd like
@eniko @gabrielesvelto Indeed. Actually your naming it that way reminded me tho: you don't need it if you're doing isometric 3D. Probably not relevant, but can be for certain applications. (I always prefer isometric for CAD & sometimes for non first person games.)
@dalias @gabrielesvelto I think perspective correctness is a nice thing to have
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.