Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vis: add an MMB option to show the z-buffer. | rodri | 2024-09-14 | 1 | -3/+8 |
| | |||||
* | vis: now camera render options is a bitmap. | rodri | 2024-09-13 | 1 | -6/+6 |
| | |||||
* | add a workspace setup script. | rodri | 2024-09-12 | 1 | -0/+6 |
| | |||||
* | adapt to new changes in libgraphics. | rodri | 2024-09-11 | 3 | -39/+31 |
| | |||||
* | let the renderer print the profiling results. | rodri | 2024-09-07 | 4 | -18/+10 |
| | |||||
* | debug/plmon: swap LMB and RMB. | rodri | 2024-09-07 | 1 | -32/+32 |
| | |||||
* | debug/plmon: consume as many files as arguments. | rodri | 2024-09-01 | 1 | -20/+36 |
| | |||||
* | debug/plmon: fix a parsing error. take file as an argument. | rodri | 2024-09-01 | 1 | -6/+6 |
| | |||||
* | use the new shader interface. | rodri | 2024-09-01 | 4 | -126/+128 |
| | |||||
* | use the new raster interface. | rodri | 2024-08-29 | 4 | -17/+29 |
| | |||||
* | remove duplicate min and max functions. | rodri | 2024-08-27 | 4 | -60/+21 |
| | |||||
* | add a little procgen experiment. | rodri | 2024-08-27 | 2 | -0/+197 |
| | |||||
* | med: use the correct cube normals. | rodri | 2024-08-26 | 1 | -4/+1 |
| | |||||
* | solar: show an info box when clicking on a planet. | rodri | 2024-08-26 | 1 | -2/+118 |
| | |||||
* | solar: improve planet selection. | rodri | 2024-08-25 | 1 | -12/+99 |
| | |||||
* | med: use an orbiting camera. add a 3d compass. | rodri | 2024-08-24 | 2 | -25/+82 |
| | |||||
* | new model: vivi | rodri | 2024-08-23 | 11 | -0/+48374 |
| | |||||
* | new model: window | rodri | 2024-08-23 | 3 | -0/+16 |
| | | | | this model was used for A-buffer testing mostly. | ||||
* | correct the gouraud and phong shaders. add a blinn shader. | rodri | 2024-08-23 | 3 | -68/+161 |
| | |||||
* | solar: use lineXsphere from libgeometry. | rodri | 2024-08-19 | 1 | -39/+2 |
| | |||||
* | use the new light types constants. | rodri | 2024-08-17 | 2 | -4/+12 |
| | |||||
* | let Model.tex have precedence over any material. | rodri | 2024-08-16 | 2 | -18/+18 |
| | |||||
* | vis: add options for the clr color, blending and z-buf and a-buf. | rodri | 2024-08-13 | 3 | -13/+101 |
| | | | | | also stop setting alpha always to 1. it's not correct yet but it allows for transparent objects to be blended properly. | ||||
* | use the new readobjmodel function. | rodri | 2024-08-07 | 3 | -15/+6 |
| | |||||
* | update the readme and add the african_head model. | rodri | 2024-08-03 | 12 | -1/+10342 |
| | |||||
* | debug/plmon: info prints and a minor correction. | rodri | 2024-08-02 | 1 | -1/+6 |
| | |||||
* | vis: use the new viewport upscale interface. | rodri | 2024-08-02 | 1 | -13/+22 |
| | |||||
* | improve redraw responsiveness. | rodri | 2024-07-20 | 3 | -10/+17 |
| | |||||
* | update readme. | rodri | 2024-07-15 | 1 | -2/+5 |
| | |||||
* | vis: don't allow peeking outside the framebuffer. | rodri | 2024-07-15 | 1 | -0/+2 |
| | |||||
* | vis: add viewport upscaling support. | rodri | 2024-07-14 | 1 | -11/+32 |
| | |||||
* | fixes. | rodri | 2024-07-14 | 4 | -14/+26 |
| | |||||
* | use the new camera interface. solar got faster with backface culling. | rodri | 2024-07-13 | 4 | -134/+127 |
| | |||||
* | vis: add knobs to control culling. | rodri | 2024-07-13 | 1 | -0/+21 |
| | |||||
* | fix the toon shader. | rodri | 2024-07-13 | 1 | -1/+5 |
| | |||||
* | get rid of redundant draw lock and adapt to libgraphics changes. | rodri | 2024-07-13 | 3 | -50/+33 |
| | |||||
* | adapt to recent changes in libgraphics. | rodri | 2024-07-09 | 3 | -30/+20 |
| | | | | | | | also set the normals correctly in the phong shader after mapping from tangent space. that way we can see the actual normals being used in the normals framebuffer. | ||||
* | adapt to the new texture interface and fix the identvshader. | rodri | 2024-07-05 | 2 | -16/+20 |
| | | | | | | | | the identvshader was used for the toon shader as well, and that forced it to do a light computation when its fragment shader won't ever use it. split it in two vshaders, each for their own purpose, so we don't get slow identity rendering. | ||||
* | med,vis: fix normal map sampling. | rodri | 2024-07-04 | 2 | -4/+6 |
| | | | | | | recent changes in libgraphics assume every texture resides in an sRGB color space, which is not the case for material resources like normals. | ||||
* | vis,med: make qball rotations position-independent. | rodri | 2024-06-16 | 2 | -9/+44 |
| | | | | | the camera no longer needs to be on the first quadrant for the qball to work. | ||||
* | vis: add some instrumentation to debug the framebuffers. | rodri | 2024-06-14 | 2 | -1/+39 |
| | |||||
* | use the new modulapt3 functions. don't clamp in the shaders. | rodri | 2024-06-13 | 3 | -114/+80 |
| | |||||
* | add more info to the readme. | rodri | 2024-06-07 | 1 | -0/+11 |
| | |||||
* | update the readme with a list of tools and their usage. | rodri | 2024-06-07 | 1 | -3/+74 |
| | |||||
* | add skyboxes based on cubemaps. | rodri | 2024-06-06 | 17 | -23/+51 |
| | |||||
* | vis: same as previous commit, and add normal mapping to the phong shader. | rodri | 2024-06-04 | 1 | -29/+53 |
| | | | | | implemented tangent space normal mapping and now diablo3 looks sick! | ||||
* | med: the qball now changes the model's rframe orientation. | rodri | 2024-06-04 | 1 | -24/+25 |
| | |||||
* | add a material file for the diablo3 model. | rodri | 2024-06-04 | 2 | -0/+10 |
| | |||||
* | get rid of rendering latency by decoupling it from i/o. | rodri | 2024-05-23 | 3 | -41/+105 |
| | | | | | | | | | | | i was using a single alternator to mux both i/o and drawing in a single proc, and avoid locking. the problem is that it causes a fight to break up every time there's any input (steady 100Hz) or a lot of drawing requests from the renderer (up to 60Hz.) i added a drawproc to handle exclusively drawing requests, and a drawing lock for UI widgets that kidnap the display. | ||||
* | fix the gouraud shader. improve the cube generator in med. | rodri | 2024-05-23 | 3 | -62/+97 |
| | | | | | | | | gouraud wasn't being applied when the vertex had no material, now it just takes the defaults. also added a new primtest.obj to visualize all the primitives in a single model. |