summaryrefslogtreecommitdiff
path: root/mkfile
Commit message (Collapse)AuthorAgeFilesLines
* update the mkfile.rodri2024-08-071-0/+1
|
* rough color space conversion implementation.rodri2024-07-041-0/+1
| | | | | | | | colors are now properly processed in linear RGB space for lighting, shading and blending. sRGB is assumed for any texture sampled and the destination framebuffer. it's not perfect, but it does the job for now.
* fix the perspective projection and add inverse xform functions.rodri2024-05-201-0/+1
|
* add a general primitive with support for points, lines and triangles.rodri2024-05-031-0/+1
| | | | | | | | also got rid of the dependency on OBJ for the entire renderer, instead letting the user load a Model from any given OBJ. this modularity will allow for other formats to be used in the same way, relying on a single, internal representation for the entire pipeline.
* add a texture sampler with nearest and bilinear routines.rodri2024-03-061-0/+1
| | | | | | pass the material reference along with the vertices. also implemented back-face culling, but it's disabled for now.
* add user-defined vertex attributes (varyings) and improve the interpolation ↵rodri2024-03-031-0/+1
| | | | code.
* lay out the grounds for a scene renderer.rodri2024-02-131-0/+1
| | | | | | also fixed an issue with cliptriangle() where an entire tri would get discarded if all its vertices were outside the frustum.
* import the new renderer and clean things up.rodri2024-01-301-2/+28
| | | | | | | | | | | | i integrated the renderer i've been developing on the tinyrend repo and got rid of a bunch of stuff that's no longer necessary. also began structuring things to fit the new interface i have in mind. there are still some artifacts with the projection xforms that cause issues with clipping and division by zero.
* use the system-wide libgeometry.rodri2024-01-261-3/+1
|
* bring flat triangle rasterization back, with some goodies for future shading ↵rodri2020-06-291-0/+1
| | | | work. add uv coordinates to the vertex.
* standalone version release.rodri2020-04-171-0/+12