| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* examples/Makefile.am (examples_DATA): Add missing examples. Remove
old ones.
(image_DATA): Add 2048's image asset.
|
|
|
|
|
|
| |
It's not a real particle system anyway.
* examples/particle.scm: Delete.
|
|
|
|
| |
* examples/tilemap.scm: Update.
|
|
|
|
|
|
| |
Every example is a scene graph example!
* examples/scene-graph.scm: Delete.
|
|
|
|
|
|
| |
Made redundant by animation example.
* examples/transition.scm: Delete.
|
| |
|
|
|
|
|
| |
* sly/live-reload.scm (live-reload): Check if file exists before making
stat call. Check ctime in addition to mtime.
|
| |
|
|
|
|
| |
* examples/font.scm: Update.
|
|
|
|
|
|
| |
Coroutines are now more of an implementation detail.
* examples/coroutine.scm: Delete.
|
|
|
|
|
|
|
| |
* examples/2048/2048: Update.
* examples/animation.scm: Likewise.
* examples/common.scm: Likewise.
* examples/simple.scm: Likewise.
|
|
|
|
|
| |
* sly/render/group.scm (group-move, group-place, group-show): Replace
children parameter with group.
|
|
|
|
| |
* sly/render/sprite.scm (sprite): New procedure.
|
|
|
|
| |
* sly/cache.scm: Delete.
|
|
|
|
| |
* examples/2048/2048: Use new group/model procedures.
|
|
|
|
|
|
|
| |
* sly/render/group.scm (move, place, show): Delete.
(group-move, group-place, group-show): New procedures.
* sly/render/model.scm (paint, blend): Delete.
(model-paint, model-blend): New procedures.
|
|
|
|
| |
* sly/render/group (draw-group): Use global context by default.
|
|
|
|
| |
* sly/math/tween.scm (tween): Memoize interpolator.
|
|
|
|
| |
* examples/2048/2048: Update to use new Sly API.
|
|
|
|
| |
* sly/math/tween.scm (ease-reflect): Use let instead of let*.
|
|
|
|
|
| |
* sly/render/texture.scm (anchor-texture): Reverse y coordinates between
top and bottom anchors.
|
|
|
|
|
|
| |
* sly/transition.scm: Delete.
* sly/math/tween.scm: New file.
* Makefile.am (SOURCES): Remove deleted file. Add new one.
|
|
|
|
|
| |
* sly/signal.scm (signal-reject): Delete.
(signal-drop): New procedure.
|
|
|
|
| |
* sly/math.scm (modulo*): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-sample): Change 'delay' to 'step'.
|
|
|
|
| |
* sly/signal.scm (signal-time): New procedure.
|
|
|
|
| |
* sly/signal.scm (signal-every, signal-since): New procedures.
|
|
|
|
| |
* sly/render/sprite.scm (make-sprite): Disable depth test.
|
|
|
|
| |
* sly/render/font.scm (label): New procedure.
|
|
|
|
|
|
|
| |
* sly/render/mesh.scm (<mesh>) [mesh-vbos]: New field.
(mesh-guardian): New guardian.
(make-mesh): Add new meshes to guardian.
* sly/wrappers/gl.scm (glDeleteVertexArrays): New procedure.
|
|
|
|
|
|
| |
* sly/render/texture.scm (bytevector->texture): New procedure.
(bitmap->texture): Define in terms of 'bytevector->texture'.
* sly/render/font.scm (render-text): Likewise.
|
|
|
|
| |
* sly/render/texture (texture-guardian): Remove 'false-if-exception'.
|
|
|
|
| |
* sly/render/camera.scm (orthographic-camera): Reverse y-axis.
|
|
|
|
| |
* sly/input/keyboard.scm (key-directions): Reverse up and down.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/render/vertex-array.scm: Delete.
* Makefile.am (SOURCES): Delete it.
* sly/render/mesh.scm: Move vertex-array code and rename to mesh.
* sly/render/model.scm (draw-model): s/vertex-array/mesh/
* sly/render/context.scm: Likewise.
* sly/render/shape.scm (make-cube): Return a model object.
* sly/render/font.scm (make-label): Likewise.
* sly/render/sprite.scm (make-sprite): Likewise. Remove 'color'
parameter.
(load-sprite): Likewise.
|
|
|
|
| |
* sly/render/color.scm (transparency): New procedure.
|
|
|
|
| |
* sly/rect.scm: Delete.
|
|
|
|
|
| |
* sly/render/renderer.scm: Delete.
* Makefile.am (SOURCES): Delete it.
|
|
|
|
|
| |
* sly/render/scene.scm: Delete.
* Makefile.am (SOURCES): Delete it.
|
|
|
|
|
|
| |
* sly/render/mesh.scm (<mesh>, %make-mesh, mesh?, mesh-vao, mesh-shader,
mesh-texture): Delete.
(make-mesh): Create a model object.
|
|
|
|
|
|
|
|
| |
* sly/render/context.scm (<render-context) [transform-stack]: New field.
(render-context-transform-stack): New accessor.
(make-null-transform, make-transform-stack): New procedures.
(make-render-context): Add 'transform-stack-size' parameter.
(with-temp-transform): New syntax.
|
|
|
|
|
|
| |
* sly/render/model.scm: New file.
* sly/render/group.scm: New file.
* Makefile.am (SOURCES): Add them.
|
|
|
|
|
|
| |
* sly/render/renderer.scm (transform-render-op): Delete.
* sly/render/scene.scm (scene->renderer): Update usage of 'draw' method.
* sly/render/mesh.scm (draw): Add 'transform' parameter.
|
|
|
|
|
|
| |
* sly/render/scene.scm (scene-node-object): Delete.
(make-scene-node): Remove 'object' parameter.
(scene->renderer): Transform drawables to render ops.
|
| |
|
|
|
|
|
| |
* sly/math/transform (transform*): Use 'transform*!' instead of direct
'cblas-sgemm' call.
|
|
|
|
|
|
| |
* sly/render/renderer.scm (apply-render-op): Mutate an existing
transform instead of a creating a new one.
(render): Likewise.
|
|
|
|
|
|
|
| |
* sly/render/renderer.scm (%make-renderer): Delete.
(make-renderer): Expose record type constructor.
* sly/render/scene.scm (scene->renderer): Add 'context' parameter.
(draw-scene): Likewise.
|
|
|
|
|
|
|
| |
* sly/render/renderer (apply-render-op): Add 'view' parameter.
(%make-renderer, make-renderer): Add 'cameras' parameter.
(renderer-cameras): New syntax.
(render): Render ops for each camera.
|
|
|
|
| |
* TODO.org: Add 'Nine patches'.
|