| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* 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'.
|
|
|
|
| |
* package.scm: Use LTDL_LIBRARY_PATH instead of LD_LIBRARY_PATH.
|
|
|
|
|
| |
* sly/render/context.scm (set-render-context-blend-mode!): Enable
blending before applying a blend mode.
|
|
|
|
| |
* package.scm: Add autoconf and automake as inputs.
|
|
|
|
| |
* package.scm: Add mesa as input.
|
|
|
|
|
| |
* package.scm: New file.
* README.org (Developing): New section.
|
|
|
|
|
| |
* sly/mode.scm: Delete.
* sly/scene-graph.scm: Delete.
|
|
|
|
|
| |
* sly/animation.scm: Delete.
* Makefile.am (SOURCES): Remove it.
|
|
|
|
|
|
|
|
| |
* sly/font.scm: Delete.
* sly/render/font.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/font.scm: Use (sly render font).
* examples/joystick.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/color.scm: Delete.
* sly/render/color.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* sly/font.scm: Use (sly render color) module.
* sly/render/camera.scm: Likewise.
* sly/render/mesh.scm: Likewise.
* sly/render/shader.scm: Likewise.
* sly/render/sprite.scm: Likewise.
* sly/render/texture.scm: Likewise.
* sly/render/vertex-array.scm: Likewise.
* sly/transition.scm: Likewise.
* examples/font.scm: Likewise.
* examples/simple.scm: Likewise.
* examples/tilemap.scm: Likewise.
* examples/transition.scm: Likewise.
|
|
|
|
|
|
|
| |
* sly/joystick.scm: Delete.
* sly/input/joystick.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/joystick.scm: Use (sly input joystick) module.
|
|
|
|
|
|
|
| |
* sly/mouse.scm: Delete.
* sly/input/mouse.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/font.scm: Use (sly input mouse).
|
|
|
|
|
|
|
|
| |
* sly/keyboard.scm: Delete.
* sly/input/keyboard.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old file.
* examples/common.scm: Use (sly input keyboard).
* examples/tilemap.scm: Likewise.
|
|
|
|
|
|
|
|
| |
* sly/rect.scm: Delete.
* sly/math/rect.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* sly/render/camera.scm: Use (sly math rect) module.
* examples/simple.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/transform.scm: Delete.
* sly/render/transform.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* sly/render/camera.scm: Use (sly math transform).
* sly/render/mesh.scm: Likewise.
* sly/render/renderer.scm: Likewise.
* sly/render/scene.scm: Likewise.
* sly/render/shader.scm: Likewise.
* sly/window.scm: Likewise.
* examples/simple.scm: Likewise.
|
|
|
|
|
|
|
|
| |
* sly/quaternion.scm: Delete.
* sly/math/quaternion.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* sly/transform.scm: Use (sly math quaternion).
* sly/transition.scm: Likewise.
|
|
|
|
|
|
|
|
| |
* sly/scene.scm: Delete.
* sly/render/scene.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/simple.scm: Use (sly render scene).
* examples/tilemap.scm: Likewise.
|
|
|
|
|
|
|
|
| |
* sly/tileset.scm: Delete.
* sly/render/tileset.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* examples/animation.scm: Use (sly render tileset).
* examples/tileset.scm: Likewise.
|
|
|
|
|
|
| |
* sly/shape.scm: Delete.
* sly/render/shape.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
|
|
|
|
|
|
|
|
|
| |
* sly/mesh.scm: Delete.
* sly/render/mesh.scm: New file.
* Makefile.am (SOURCES): Add new file. Delete old one.
* sly/font.scm: Use (sly render mesh).
* sly/render/sprite.scm: Likewise.
* sly/shape.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/shader.scm: Delete.
* sly/render/shader.scm: New file.
* Makefile.am (SOURCES): Add new file and delete old one.
* sly/font.scm: Use (sly render shader).
* sly/mesh.scm: Likewise.
* sly/render/context.scm: Likewise.
* sly/render/renderer.scm: Likewise.
* sly/render/sprite.scm: Likewise.
* sly/render/vertex-array.scm: Likewise.
* sly/shape.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/sprite.scm: Delete.
* sly/render/sprite.scm: New file.
* Makefile.am (SOURCES): Add new file and delete old one.
* sly/font.scm: Use (sly render sprite).
* examples/animation.scm: Likewise.
* examples/common.scm: Likewise.
* examples/coroutine.scm: Likewise.
* examples/joystick.scm: Likewise.
* examples/particles.scm: Likewise.
* examples/simple.scm: Likewise.
* examples/tilemap.scm: Likewise.
* examples/transition.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/texture.scm: Delete.
* sly/render/texture.scm: New file.
* Makefile.am (SOURCES): Add it.
* sly/animation.scm: Use (sly render texture).
* sly/font.scm: Likewise.
* sly/mesh.scm: Likewise.
* sly/render/context.scm: Likewise.
* sly/render/framebuffer.scm: Likewise.
* sly/render/renderer.scm: Likewise.
* sly/shape.scm: Likewise.
* sly/sprite.scm: Likewise.
* sly/tileset.scm: Likewise.
* examples/coroutine.scm: Likewise.
* examples/joystick.scm: Likewise.
* examples/particles.scm: Likewise.
* examples/tilemap.scm: Likewise.
* examples/transition.scm: Likewise.
|
|
|
|
| |
* configure.ac: Change version to 0.1.
|
|
|
|
| |
* configure.ac: Perform a primitive check for libfreeimage.
|
|
|
|
|
| |
* configure.ac: Check for (sdl sdl), (sdl mixer), (sdl ttf), and (gl)
modules.
|
|
|
|
| |
* configure.ac: Test for Guile 2.0.11.
|