shithub: libgraphics

RSS feed

c4be6b66 – rodri <rgl@antares-labs.eu> authored on 2024/08/31 10:12
fb: draw FLOAT32 rasters in greyscale color.

cb2369f7 – rodri <rgl@antares-labs.eu> authored on 2024/08/31 08:27
render: get rid of useless temporary.

f98dcc45 – rodri <rgl@antares-labs.eu> authored on 2024/08/29 14:19
implement a general raster interface for the framebuffers.

2c410b56 – rodri <rgl@antares-labs.eu> authored on 2024/08/27 08:05
replace f?(min|max) functions with type-agnostic macros.

5ebbe977 – rodri <rgl@antares-labs.eu> authored on 2024/08/25 12:10
scene: add a method to get an entity from a scene.

7dc2c0d0 – rodri <rgl@antares-labs.eu> authored on 2024/08/23 08:41
methods to add primitives and materials to a Model.

aad0e636 – rodri <rgl@antares-labs.eu> authored on 2024/08/21 19:14
fix the A-buffer so that it handles multiple render passes.

1ec784ed – rodri <rgl@antares-labs.eu> authored on 2024/08/19 01:16
color: add ACES tone mapping functions.

10e8543f – rodri <rgl@antares-labs.eu> authored on 2024/08/18 23:54
fb: a better clipped drawing procedure.

5ddb9dfd – rodri <rgl@antares-labs.eu> authored on 2024/08/17 08:43
correct the light types constants.

56e8e3de – rodri <rgl@antares-labs.eu> authored on 2024/08/17 08:17
unify drawing routines and add clipped fb drawing support.

d0a7561d – rodri <rgl@antares-labs.eu> authored on 2024/08/13 14:56
color: rgba2xrgb ≠ swabl.

2715ad65 – rodri <rgl@antares-labs.eu> authored on 2024/08/13 05:33
fixes.

139a46c5 – rodri <rgl@antares-labs.eu> authored on 2024/08/11 17:40
fix FPINVAL error. knob for fb clear color. general improvements.

d3b48593 – rodri <rgl@antares-labs.eu> authored on 2024/08/10 13:57
experimental A-buffer implementation.

6eab9793 – rodri <rgl@antares-labs.eu> authored on 2024/08/07 07:50
doc: new content.

423422e4 – rodri <rgl@antares-labs.eu> authored on 2024/08/07 07:48
update the mkfile.

03149e55 – rodri <rgl@antares-labs.eu> authored on 2024/08/07 07:47
offset fb during drawing based on viewport config. move OBJ-related procedures to its own unit.

05ae0d42 – rodri <rgl@antares-labs.eu> authored on 2024/08/05 06:41
fix a double-free. add a generic value-swapping macro.

c06379ee – rodri <rgl@antares-labs.eu> authored on 2024/08/04 08:43
make the depth buffer 32-bit.

50f15bac – rodri <rgl@antares-labs.eu> authored on 2024/08/02 13:57
fix line interpolation during rasterization.

3bf0f4fd – rodri <rgl@antares-labs.eu> authored on 2024/08/02 12:04
fb: fix the destination drawing rectangle.

c47e5c98 – rodri <rgl@antares-labs.eu> authored on 2024/08/02 11:22
add a viewport upscale filters interface.

2267dba0 – rodri <rgl@antares-labs.eu> authored on 2024/07/23 11:35
doc: write about the scene, the viewport. organize things better.

7d79c607 – rodri <rgl@antares-labs.eu> authored on 2024/07/22 14:42
doc: write about the renderer, with a little introduction.

8aa0dc86 – rodri <rgl@antares-labs.eu> authored on 2024/07/20 07:58
reduce the volume of Camera.times records. clean up.

071b70df – rodri <rgl@antares-labs.eu> authored on 2024/07/16 07:35
implement pixel art upscaling filters scale[23]x. tidy up some code.

ac662557 – rodri <rgl@antares-labs.eu> authored on 2024/07/15 16:06
fix stack overflow, skybox fov sensibility and scene duplication.

5f10c82a – rodri <rgl@antares-labs.eu> authored on 2024/07/14 17:49
initial viewport upscaling support.

78bf838d – rodri <rgl@antares-labs.eu> authored on 2024/07/14 04:32
small improvements and a skybox bugfix.

aa277571 – rodri <rgl@antares-labs.eu> authored on 2024/07/13 16:50
new camera interface.

82888bed – rodri <rgl@antares-labs.eu> authored on 2024/07/13 11:18
enable culling and add a camera knob for it.

04d50b8b – rodri <rgl@antares-labs.eu> authored on 2024/07/13 06:23
fix the geometry glitches when moving things around.

45c21bb2 – rodri <rgl@antares-labs.eu> authored on 2024/07/12 11:10
small improvements.

45bdbbcb – rodri <rgl@antares-labs.eu> authored on 2024/07/09 16:56
texture nomenclature changes. fb format RGBA → XRGB.

714038d0 – rodri <rgl@antares-labs.eu> authored on 2024/07/05 14:16
create a new texture interface.

6d8fbc29 – rodri <rgl@antares-labs.eu> authored on 2024/07/04 10:57
rough color space conversion implementation.

32219aaa – rodri <rgl@antares-labs.eu> authored on 2024/06/16 05:58
render: don't overwrite the vertex colors with white. report alien prims.

c69735e2 – rodri <rgl@antares-labs.eu> authored on 2024/06/14 11:01
fix the barycoords routine to avoid reporting false degenerates.

b1335875 – rodri <rgl@antares-labs.eu> authored on 2024/06/13 15:06
replace the Memimage color buffer with a ulong* one. some fixes.

213c3a4e – rodri <rgl@antares-labs.eu> authored on 2024/06/10 11:59
add spotlight params and a light color shading routine. other things.

239a319b – rodri <rgl@antares-labs.eu> authored on 2024/06/06 13:35
add cubemaps.

dc597a2c – rodri <rgl@antares-labs.eu> authored on 2024/06/04 14:11
add a tangent parameter for normal mapping, and a world2model xform.

5fa75a6d – rodri <rgl@antares-labs.eu> authored on 2024/05/28 12:56
add a normal map property to Material.

7739f20c – rodri <rgl@antares-labs.eu> authored on 2024/05/23 17:08
replace the Framebufctl's Lock with a QLock.

e2e203e6 – rodri <rgl@antares-labs.eu> authored on 2024/05/21 12:59
fix line rasterization.

d3516b11 – rodri <rgl@antares-labs.eu> authored on 2024/05/20 16:20
fix the perspective projection and add inverse xform functions.

6e461add – rodri <rgl@antares-labs.eu> authored on 2024/05/17 10:47
render: improve line raster (not fixed yet). also tag jobs with an id.

086d2bb2 – rodri <rgl@antares-labs.eu> authored on 2024/05/14 12:42
doc: correct the indices to make things simpler.

dc735cec – rodri <rgl@antares-labs.eu> authored on 2024/05/12 16:32
add a name property to Material.

0cd80fe6 – rodri <rgl@antares-labs.eu> authored on 2024/05/10 18:11
scene: free model materials during cleanup.

c1a0f17d – rodri <rgl@antares-labs.eu> authored on 2024/05/03 11:29
clip: fix rectclipline.

afc811ce – rodri <rgl@antares-labs.eu> authored on 2024/05/03 09:44
clip: avoid division by zero.

b429311e – rodri <rgl@antares-labs.eu> authored on 2024/05/03 09:32
add a general primitive with support for points, lines and triangles.

cf3e0cb6 – rodri <rgl@antares-labs.eu> authored on 2024/04/24 08:38
render: add rasterizer init params and per-proc identification.

c40a1238 – rodri <rgl@antares-labs.eu> authored on 2024/04/24 08:36
doc: add some schematics about the overall architecture.

f1ebb914 – rodri <rgl@antares-labs.eu> authored on 2024/04/18 09:00
render: use the primitive's bbox to check for tile membership.

d9311af1 – rodri <rgl@antares-labs.eu> authored on 2024/04/18 05:30
render: make sure the last tile fills the screen.

b41192eb – rodri <rgl@antares-labs.eu> authored on 2024/04/15 22:48
replace the Triangle with a general purpose Primitive.

a101d225 – rodri <rgl@antares-labs.eu> authored on 2024/04/15 18:39
render: split tiles vertically instead of horizontally.

fc8284f7 – rodri <rgl@antares-labs.eu> authored on 2024/04/15 18:26
add some instrumentation to measure pipeline stage time.

4d88a377 – rodri <rgl@antares-labs.eu> authored on 2024/04/15 00:53
implement a fully concurrent pipeline based on tiles.

2c286986 – rodri <rgl@antares-labs.eu> authored on 2024/04/05 04:36
simplify the job scheduler. correct two mistakes regarding the Viewport.

8b5ba542 – rodri <rgl@antares-labs.eu> authored on 2024/04/03 14:31
scene: correct blatant use-after-free.

d986df6a – rodri <rgl@antares-labs.eu> authored on 2024/04/03 12:34
scene: add a way to remove entities and fix the clearscene routine.

e05e6c6e – rodri <rgl@antares-labs.eu> authored on 2024/04/03 12:17
add trivial nil checks to some of the cleanup procedures.

930e09a2 – rodri <rgl@antares-labs.eu> authored on 2024/04/03 11:43
scene: implement full cleanup procedures.

0aa5a551 – rodri <rgl@antares-labs.eu> authored on 2024/04/03 08:47
scene: fix uninitialized nents field.

4d711e22 – rodri <rgl@antares-labs.eu> authored on 2024/04/01 12:16
viewport: add a way to access front and back buffers.

d22a9cf1 – rodri <rgl@antares-labs.eu> authored on 2024/04/01 11:17
can't always rely on screen being there.

02c06cfb – rodri <rgl@antares-labs.eu> authored on 2024/03/26 06:42
pass a Viewport in the Renderjob instead of a fb.

08744355 – rodri <rgl@antares-labs.eu> authored on 2024/03/25 18:25
implement a (partially) concurrent pipeline.

764afe37 – rodri <rgl@antares-labs.eu> authored on 2024/03/21 07:58
use the new libgeometry berp routines. add a frame counter to the camstats.

2b19d1a5 – rodri <rgl@antares-labs.eu> authored on 2024/03/06 17:09
pass material properties to the fshader.

e848ff8f – rodri <rgl@antares-labs.eu> authored on 2024/03/06 09:54
make the fshader return a Color instead of a Memimage. clean things up.

96eb8b3c – rodri <rgl@antares-labs.eu> authored on 2024/03/06 07:41
add a texture sampler with nearest and bilinear routines.

6b71bf69 – rodri <rgl@antares-labs.eu> authored on 2024/03/02 19:40
add user-defined vertex attributes (varyings) and improve the interpolation code.

e0baf147 – rodri <rgl@antares-labs.eu> authored on 2024/02/27 06:29
have separate routines for drawing and memdrawing.

c0bc9d33 – rodri <rgl@antares-labs.eu> authored on 2024/02/25 15:14
interpolate every vertex attribute when clipping and during rasterization.

22e341ed – rodri <rgl@antares-labs.eu> authored on 2024/02/21 07:34
add initial support for OBJMaterial properties.

aada4866 – rodri <rgl@antares-labs.eu> authored on 2024/02/15 17:47
implement general polygon fan triangulation.

3134de0e – rodri <rgl@antares-labs.eu> authored on 2024/02/14 12:46
pass an entire entity to the shader unit. fix a bug in cliptriangle.

5b93335d – rodri <rgl@antares-labs.eu> authored on 2024/02/13 11:40
lay out the grounds for a scene renderer.

e90bf70b – rodri <rgl@antares-labs.eu> authored on 2024/02/12 18:02
completed homogeneous clipping procedure.

d3b995b6 – rodri <rgl@antares-labs.eu> authored on 2024/02/10 13:52
initial clipping implementation. (not fully working yet)

5c9a943e – rodri <rgl@antares-labs.eu> authored on 2024/02/08 06:25
load XRGB32 textures.

dc21c6d3 – rodri <rgl@antares-labs.eu> authored on 2024/02/07 07:19
implement perspective-correct attribute interpolation.

6c7fd839 – rodri <rgl@antares-labs.eu> authored on 2024/02/03 17:20
document part of the pipeline. prepare the grounds for triangle clipping.

f2e5828b – rodri <rgl@antares-labs.eu> authored on 2024/02/01 18:35
only create existing indices during quad triangulation.

5a97a655 – rodri <rgl@antares-labs.eu> authored on 2024/01/31 17:34
improve coordinate transformations and fix projections.

feecec6c – rodri <rgl@antares-labs.eu> authored on 2024/01/30 14:34
make the vertex shader process actual vertices.

19c85d5e – rodri <rgl@antares-labs.eu> authored on 2024/01/30 07:38
update readme.

37da5f0a – rodri <rgl@antares-labs.eu> authored on 2024/01/30 07:01
import the new renderer and clean things up.

df792cbb – rodri <rgl@antares-labs.eu> authored on 2024/01/26 17:29
use the system-wide libgeometry.

db4fa883 – rodri <rgl@antares-labs.eu> authored on 2021/07/18 11:18
add a line clipping procedure based on the Liang-Barsky algorithm. (thanks jmi2k!)

524e19ee – rodri <rgl@antares-labs.eu> authored on 2020/07/05 06:41
move the edge function out into libgeometry.

6477319d – rodri <rgl@antares-labs.eu> authored on 2020/06/29 14:28
bring flat triangle rasterization back, with some goodies for future shading work. add uv coordinates to the vertex.

3857a7ad – rodri <rgl@antares-labs.eu> authored on 2020/04/28 08:18
transcribe macros into actual functions. remove unused memdraw code.

91d8cc8d – rodri <rgl@antares-labs.eu> authored on 2020/04/17 07:42
standalone version release.