Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implement a uniforms interface through Shadertab. | rodri | 2024-10-01 | 6 | -29/+33 |
| | |||||
* | define model(6) prim as P instead. add GREY8 textures. add more documentation. | rodri | 2024-09-30 | 3 | -45/+67 |
| | |||||
* | marshal: don't die if textures can't be written. show a warning and move on. | rodri | 2024-09-28 | 1 | -4/+3 |
| | |||||
* | implement exportmodel(2). | rodri | 2024-09-27 | 3 | -16/+132 |
| | | | | this writes a model and its assets into a directory. | ||||
* | remove pointless warning. | rodri | 2024-09-27 | 2 | -20/+0 |
| | | | | it's a leftover from a previous version of the parser. | ||||
* | marshal: fix the curline.file setting. | rodri | 2024-09-26 | 1 | -1/+1 |
| | |||||
* | implement a parser for a model(6). get rid of the libobj dependency. | rodri | 2024-09-26 | 20 | -363/+987 |
| | |||||
* | camera: add a Camv constructor. | rodri | 2024-09-21 | 3 | -8/+21 |
| | |||||
* | implement clipped drawing. take branching out of the upscaler loop. | rodri | 2024-09-20 | 6 | -24/+95 |
| | | | | | | the rasterizers now produce a bbox of used fragments/pixels that are unified at the end of every job/frame. we use that when drawing so only the part that was rasterized gets sent to devdraw. | ||||
* | get rid of the turbopool (the experiment was futile.) | rodri | 2024-09-19 | 5 | -153/+0 |
| | |||||
* | forgot turbopool.c | rodri | 2024-09-17 | 1 | -0/+60 |
| | |||||
* | a better turbopool. | rodri | 2024-09-17 | 4 | -19/+17 |
| | |||||
* | fb: do a better greyscale to color raster conversion. | rodri | 2024-09-14 | 1 | -4/+23 |
| | |||||
* | turn the camera rendering options into a bitmap. | rodri | 2024-09-13 | 3 | -20/+26 |
| | |||||
* | render: discard non-colors. | rodri | 2024-09-13 | 1 | -15/+19 |
| | |||||
* | fb: little memdrawing optimization. | rodri | 2024-09-12 | 1 | -1/+4 |
| | |||||
* | add a workspace setup script. | rodri | 2024-09-12 | 1 | -0/+4 |
| | |||||
* | change the raster format to RGBA32. draw to any image format. clean up. | rodri | 2024-09-11 | 7 | -53/+181 |
| | | | | | | | | | | | | | | | | got rid of the bullshit dance between XRGB32 and RGBA32, now all rasters are RGBA32 and premultiply alpha before loading up an image and drawing over the destination. this lets the user compose their own scenes with correct transparency. no more mediocre clearcolor. as a consequence drawing got slower, but if i get the turbo drawing pool working properly that should go away. textures also take alpha pre-multiplied channels into account, dividing them when sampling, so loading transparent textures will show the correct colors. | ||||
* | fix a use-after-free when profiling rasterizer times. | rodri | 2024-09-10 | 4 | -4/+99 |
| | | | | | | | | | | this commit also includes the turbo drawing pool. the experiment was successful in getting reasonable drawing times to a fullhd image, but the process causes glitches when moving the objects around, which is unacceptable. it's been commented out for now. | ||||
* | doc: changes. added references. | rodri | 2024-09-09 | 3 | -906/+1411 |
| | |||||
* | texture: clamp the coordinates instead of aborting when out of bounds. | rodri | 2024-09-09 | 1 | -1/+2 |
| | |||||
* | render: increase queue sizes. | rodri | 2024-09-08 | 1 | -3/+3 |
| | |||||
* | render: clip the triangle bbox against the wr directly at the tiler. | rodri | 2024-09-08 | 1 | -12/+5 |
| | |||||
* | render: only store rendertimes if profiling is enabled. | rodri | 2024-09-08 | 1 | -12/+16 |
| | |||||
* | allocate renderjob times dynamically for the parallel stages. | rodri | 2024-09-08 | 3 | -9/+10 |
| | |||||
* | remove unnecessary copying. profile individual stage procs. | rodri | 2024-09-07 | 6 | -88/+124 |
| | |||||
* | render: get more accurate stage completion times. | rodri | 2024-09-01 | 1 | -31/+31 |
| | |||||
* | unify shaders into a single interface. | rodri | 2024-09-01 | 4 | -62/+90 |
| | |||||
* | doc: changes. | rodri | 2024-09-01 | 3 | -897/+943 |
| | |||||
* | render: remove pointless for-loop. | rodri | 2024-08-31 | 1 | -24/+25 |
| | |||||
* | fb: draw FLOAT32 rasters in greyscale color. | rodri | 2024-08-31 | 1 | -23/+39 |
| | |||||
* | render: get rid of useless temporary. | rodri | 2024-08-31 | 1 | -3/+2 |
| | |||||
* | implement a general raster interface for the framebuffers. | rodri | 2024-08-29 | 6 | -108/+345 |
| | | | | | | | | | | | | | | | got a bit tired of having to add a ulong *buf every time i needed to get some data out of the shaders, so i made it possible to create as many extra buffers as needed, which then can be addressed from the fragment shader and drawn using the same drawing routines that were used for the color buffer. these so called Rasters are very similar to the OpenGL FBOs, in case you are familiar, but we address them by strings instead of numbers. and they can also be used as textures if you create one (see alloctexture) and then memdraw into it after every shot. | ||||
* | replace f?(min|max) functions with type-agnostic macros. | rodri | 2024-08-27 | 3 | -28/+2 |
| | | | | | this simplifies the code and serves as another shadeop to use on application shaders. | ||||
* | scene: add a method to get an entity from a scene. | rodri | 2024-08-25 | 2 | -0/+13 |
| | |||||
* | methods to add primitives and materials to a Model. | rodri | 2024-08-23 | 3 | -3/+25 |
| | |||||
* | fix the A-buffer so that it handles multiple render passes. | rodri | 2024-08-21 | 2 | -12/+16 |
| | |||||
* | color: add ACES tone mapping functions. | rodri | 2024-08-19 | 2 | -0/+73 |
| | |||||
* | fb: a better clipped drawing procedure. | rodri | 2024-08-19 | 1 | -14/+12 |
| | |||||
* | correct the light types constants. | rodri | 2024-08-17 | 2 | -4/+4 |
| | |||||
* | unify drawing routines and add clipped fb drawing support. | rodri | 2024-08-17 | 4 | -33/+70 |
| | | | | | | now changing the viewport offset will correctly show the portion of the framebuffer that's visible, including support for upscaled views. | ||||
* | color: rgba2xrgb ≠ swabl. | rodri | 2024-08-13 | 1 | -2/+2 |
| | |||||
* | fixes. | rodri | 2024-08-13 | 2 | -3/+3 |
| | |||||
* | fix FPINVAL error. knob for fb clear color. general improvements. | rodri | 2024-08-11 | 5 | -10/+23 |
| | |||||
* | experimental A-buffer implementation. | rodri | 2024-08-10 | 4 | -15/+132 |
| | | | | | | | | | very simple, without anti-aliasing, made for getting OIT (order independent transparency) rendering of arbitrary objects. also added switches for blending, depth testing and the A-buffer to the camera. | ||||
* | doc: new content. | rodri | 2024-08-07 | 3 | -1139/+1334 |
| | |||||
* | update the mkfile. | rodri | 2024-08-07 | 1 | -0/+1 |
| | |||||
* | offset fb during drawing based on viewport config. move OBJ-related ↵ | rodri | 2024-08-07 | 5 | -315/+359 |
| | | | | procedures to its own unit. | ||||
* | fix a double-free. add a generic value-swapping macro. | rodri | 2024-08-05 | 5 | -55/+13 |
| | |||||
* | make the depth buffer 32-bit. | rodri | 2024-08-04 | 6 | -8/+9 |
| |