Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add 3D model example data to Makefile.am. | David Thompson | 2019-10-24 | 1 | -1/+3 |
| | |||||
* | render: Restructure 3D modules and add basic support for OBJ models. | David Thompson | 2019-10-24 | 10 | -768/+3857 |
| | |||||
* | render: shader: Rename <shader-data-type> to <shader-primitive-type>. | David Thompson | 2019-10-23 | 1 | -50/+50 |
| | |||||
* | render: shader: Allow client-side only fields in shader structs. | David Thompson | 2019-10-23 | 1 | -2/+11 |
| | |||||
* | render: shader: Convert camel case uniform names to lispy snake case. | David Thompson | 2019-10-23 | 1 | -1/+11 |
| | |||||
* | render: shader: Remove unnecessary module import. | David Thompson | 2019-10-21 | 1 | -1/+0 |
| | |||||
* | render: shader: Remove debugging code. | David Thompson | 2019-10-21 | 1 | -19/+1 |
| | |||||
* | render: shader: Add support for shader structs. | David Thompson | 2019-10-21 | 2 | -147/+490 |
| | |||||
* | render: shader: Improve shader compilation error printing. | David Thompson | 2019-10-18 | 1 | -1/+3 |
| | |||||
* | render: shader: Support primitive array uniform variables. | David Thompson | 2019-10-17 | 1 | -47/+52 |
| | |||||
* | render: shader: Move shader loading helper procedures out of top level. | David Thompson | 2019-10-17 | 1 | -126/+115 |
| | |||||
* | render: shader: Decouple uniform serialization with uniform setting. | David Thompson | 2019-10-17 | 2 | -38/+104 |
| | |||||
* | render: gl: Add more glUniform functions. | David Thompson | 2019-10-17 | 1 | -1/+11 |
| | |||||
* | render: shader: Encapsulate GLSL types in <shader-data-type> records. | David Thompson | 2019-10-16 | 1 | -108/+109 |
| | |||||
* | math: vector: Add vec3 cross product procedures. | David Thompson | 2019-10-11 | 1 | -0/+16 |
| | |||||
* | math: vector: Add vec3 arithmetic procedures. | David Thompson | 2019-10-11 | 1 | -0/+21 |
| | |||||
* | math: matrix: Add procedures for X and Y axis rotations. | David Thompson | 2019-10-11 | 1 | -0/+30 |
| | |||||
* | array-list: Add bounds checking to array-list-ref. | David Thompson | 2019-10-11 | 1 | -1/+3 |
| | |||||
* | render: Introduce render context object. | David Thompson | 2019-10-11 | 1 | -60/+43 |
| | | | | | | | | | | Due to the declarative modules feature of Guile 2.9.4+, the existing technique of using one top-level variable per GL state was very broken because the initial values got cached at all call sites and state updates were being silently ignored and thus the game window was always a black screen. Not good! By replacing all of the state variables with a single "context" object and poking at fields inside, things work again and it's arguably the better design anyhow. | ||||
* | examples: Update particle example. | David Thompson | 2019-07-24 | 1 | -11/+42 |
| | |||||
* | render: particles: Fix misuse of streaming vertex buffer. | David Thompson | 2019-07-24 | 1 | -116/+105 |
| | | | | | | * chickadee/render/particles.scm (update-particles): Use a dedicated bytevector for storing the state of the particles and copy it over to the GPU at the end. | ||||
* | Fix a few errors in the manual. | David Thompson | 2019-06-05 | 1 | -3/+3 |
| | |||||
* | Makefile: Generate detached signatures in publish task.v0.4.0 | David Thompson | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | render: tiled: Add point->tile. | David Thompson | 2019-06-04 | 3 | -3/+25 |
| | | | | | | * chickadee/render/tiled.scm (point->tile): New procedure. * doc/api.texi (Tiled): Document it. * examples/tiled.scm: Render tile coordinates in bottom-left corner. | ||||
* | doc: Add direntry information. | David Thompson | 2019-06-04 | 1 | -0/+5 |
| | |||||
* | doc: Update copyright years. | David Thompson | 2019-06-02 | 1 | -1/+1 |
| | |||||
* | doc: Add tutorial for REPL setup. | David Thompson | 2019-06-02 | 1 | -0/+33 |
| | | | | * doc/api.texi (Live Coding): New subsection. | ||||
* | doc: Expand API reference for Tiled maps. | David Thompson | 2019-06-02 | 1 | -0/+184 |
| | | | | * doc/api.texi (Tile Maps): Add more procedure documentation. | ||||
* | doc: Remove unnecessary @var markup in argument lists. | David Thompson | 2019-05-28 | 1 | -303/+300 |
| | |||||
* | Update a couple of examples to use new sprite batch API. | Alex McGrath | 2019-05-28 | 3 | -24/+31 |
| | | | | | * examples/game-controller.scm: Use new sprite batch API. * examples/grid.scm: Ditto. | ||||
* | render: sprite: Add draw-sprite-batch* procedure. | David Thompson | 2019-05-22 | 1 | -9/+30 |
| | | | | | * chickadee/render/sprite.scm (draw-sprite-batch*): New procedure. (draw-sprite-batch): Rewrite in terms of 'draw-sprite-batch*'. | ||||
* | Update copyright year on sprite and buffer modules. | David Thompson | 2019-05-16 | 2 | -2/+2 |
| | |||||
* | Ignore emacs temp files. | David Thompson | 2019-05-14 | 1 | -0/+1 |
| | |||||
* | Fix 'make distcheck'. | David Thompson | 2019-05-13 | 1 | -7/+3 |
| | |||||
* | doc: Remove unicode character for pi because it breaks 'make dvi'. | David Thompson | 2019-05-13 | 1 | -3/+3 |
| | |||||
* | README: Update example code. | David Thompson | 2019-05-13 | 1 | -3/+2 |
| | |||||
* | render: Replace broken refs to "typed buffer" with "buffer view". | David Thompson | 2019-05-13 | 2 | -51/+51 |
| | | | | | * chickadee/render/asset.scm: s/typed-buffer/buffer-view/ * chickadee/render/particles.scm: Same. | ||||
* | doc: Remove reference to old hook system. | David Thompson | 2019-05-13 | 1 | -2/+3 |
| | | | | | * doc/api.texi (Agendas): Rewrite example code that used obsolete hook API. | ||||
* | render: Rename "typed buffer" to "buffer view". | David Thompson | 2019-05-13 | 4 | -220/+220 |
| | | | | | | | * chickadee/render/buffer.scm: s/typed-buffer/buffer-view/ * chickadee/render/shapes.scm: Same. * chickadee/render/sprite.scm: Same. * doc/api.texi: Same. | ||||
* | doc: Improve texture documentation. | David Thompson | 2019-05-13 | 2 | -3/+84 |
| | | | | | * chickadee/render/texture.scm (list->texture-atlas): Tweak docstring. * doc/api.texi (Textures): Document more procedures. | ||||
* | render: texture: Stop exporting texture-id. | David Thompson | 2019-05-13 | 1 | -1/+0 |
| | | | | * chickadee/render/texture.scm: Remove texture-id from exports list. | ||||
* | Update SDL2 game controller database file. | David Thompson | 2019-05-12 | 1 | -1/+38 |
| | |||||
* | render: sprite: Rewrite sprite batching API. | David Thompson | 2019-05-12 | 5 | -318/+373 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This new version performs better and has a better API. It closely resembles Love2D's sprite batch API. * chickadee/render/sprite.scm (with-batched-sprites, sprite-batch-reset!, sprite-batch-begin!, draw-sprite-batched, *batch?*, %batch): Delete. (draw-sprite-unbatched): Rename to 'draw-sprite*'. (<sprite-batch>)[index-buffer, position-buffer, texture-buffer]: Delete fields. [vertex-buffer]: New field. (init-sprite-batch, double-sprite-batch-size!, sprite-batch-add!, sprite-batch-flush!): Rewrite. (make-sprite-batch): Add 'capacity' and 'blend-mode' arguments. (draw-sprite-batch): New procedure. (draw-nine-patch*): Stop using sprite batches for now. * chickadee/render/font.scm: (<font>)[sprite-batches]: New field. (load-tile-font, load-font): Create a sprite batch for each texture loaded. (draw-text*): Use sprite batches. * chickadee/render/tiled.scm: (<tile>)[batch]: New field. (<tileset>)[batch]: New field. (load-tile-map): Create a sprite batch for each tileset. (draw-tile-layer): Use new sprite batch API. (draw-tile-map*): Remove reference to deleted macro. | ||||
* | render: buffer: Allow specifying read/write mode when mapping buffer. | David Thompson | 2019-05-10 | 1 | -2/+5 |
| | | | | * chickadee/render/buffer.scm (map-buffer!): Add optional 'mode' argument. | ||||
* | render: buffer: Fix buffer orphaning for streaming buffers. | David Thompson | 2019-05-10 | 1 | -4/+3 |
| | | | | | * chickadee/render/buffer.scm (map-buffer!): Compare symbols to symbols for checking stream usage. -__- | ||||
* | render: buffer: Don't attempt to map a buffer that is already mapped. | David Thompson | 2019-05-09 | 1 | -10/+11 |
| | | | | | * chickadee/render/buffer (map-buffer!): Do nothing if buffer is already mapped to avoid throwing an error. | ||||
* | render: buffer: Add buffer-mapped? procedure. | David Thompson | 2019-05-09 | 1 | -0/+5 |
| | | | | * chickadee/render/buffer.scm (buffer-mapped?): New procedure. | ||||
* | render: font: Respect newline character when rendering. | David Thompson | 2019-05-08 | 1 | -15/+19 |
| | | | | | * chickadee/render/font.scm (draw-text*): Advance to the next line on screen when \n is encountered. | ||||
* | render: tiled: Parse out tile flip bits. | David Thompson | 2019-05-08 | 1 | -2/+11 |
| | | | | | * chickadee/render/tiled.scm (load-tile-map): Parse out the 3 flip bits from each tile id. | ||||
* | render: tiled: Accept map versions 1.1 and 1.2. | David Thompson | 2019-05-08 | 1 | -1/+1 |
| |