| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: Test for gsl pkg-config module.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/helpers.scm: Delete.
* sly/utils.scm: New file.
* Makefile.am (SOURCES): Remove old file. Add new one.
* sly/render/camera.scm: s/helpers/utils/
* sly/scene.scm: Likewise.
* sly/shader.scm: Likewise.
* sly/sprite.scm: Likewise.
* sly/texture.scm: Likewise.
* sly/transform.scm: Likewise.
* examples/tilemap.scm: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/render/context.scm: New file.
* Makefile.am (SOURCES): Add it.
* sly/render/renderer.scm (with-texture-maybe): Delete.
(apply-render-op): Use render context.
(<renderer>) [context]: New field.
(%make-renderer): New syntax.
(make-renderer): Was syntax, now a procedure.
(render): Use render context.
* sly/render/vertex-array.scm (apply-vertex-array): New procedure.
(with-vertex-array): Use it.
* sly/shader.scm (apply-shader-program): New procedure.
(with-shader-program): Use it.
* sly/texture.scm (apply-texture): New procedure.
(with-texture): Use it.
|
|
|
|
|
| |
* sly/transform (transform->pointer): New procedure.
(transform*): Use GSL.
|
|
|
|
|
| |
* Makefile.am (WRAPPER_SOURCES): Add it.
* sly/wrappers/gsl.scm: New file.
|
|
|
|
|
|
|
| |
* sly/render/renderer.scm (transform-render-op): New procedure.
* sly/scene.scm (scene->renderer): Don't pass transform to draw method.
Instead, transform the resulting render op afterwards.
* sly/mesh.scm (draw): Remove 'transform' parameter.
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/render/renderer.scm (renderer-cameras): Delete.
(apply-render-op): Remove 'view' parameter.
(make-renderer): Remove 'cameras' parameter.
(render): Remove camera logic.
* sly/scene.scm (scene->render-list): Renamed.
(scene->renderer): New procedure. Return a renderer instead of a list
of render ops.
(draw-scene): New procedure.
|
|
|
|
| |
* sly/render/camera.scm (clear-buffer-mask): Memoize.
|
|
|
|
| |
* sly/render/camera.scm (%standard-clear-flags): New variable.
|
|
|
|
| |
* sly/render/renderer.scm (render): Apply camera viewports.
|
|
|
|
|
| |
* sly/font.scm (flip-pixels-vertically): New procedure.
(render-text): Flip surface vertically before creating a texture.
|
|
|
|
| |
* sly/texture.scm (load-bitmap): Do not flip y-axis.
|
|
|
|
|
| |
* sly/game.scm: Remove (sly camera) import.
* sly/scene.scm: Likewise.
|
|
|
|
|
| |
* sly/render/framebuffer.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
|
|
| |
* sly/wrappers/gl.scm (glGenFramebuffers, glDeleteFramebuffers,
glBindFramebuffer, glFramebufferTexture2D, glCheckFramebufferStatus,
glGenRenderbuffers, glDeleteRenderbuffers, glBindRenderbuffer,
glRenderbufferStorage, glFramebufferRenderbuffer): New procedures.
|
|
|
|
|
|
|
| |
* Makefile.am (SOURCES): Update camera module file name.
* sly/camera.scm: Delete.
* sly/render/renderer.scm: Import new camera module.
* sly/render/camera.scm: New file.
|
|
|
|
|
|
| |
* sly/render/renderer.scm (render-op-blend-mode): New syntax.
(make-render-op): Add 'blend-mode' parameter.
(apply-render-op): Set blending mode.
|
|
|
|
|
|
|
|
|
| |
* sly/render/utils.scm (<blend-mode>): New record type.
(make-blend-mode, blend-mode?, blend-mode-source,
blend-mode-destination): New syntax.
(default-blend-mode): New variable.
(source-blend-function, destination-blend-function, apply-blend-mode):
New procedures.
|
|
|
|
| |
* sly/transform.scm (transform-position): New procedure.
|
|
|
|
|
| |
* sly/mesh.scm: Remove 'mesh-length' and 'mesh->render-op' from export
list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sly/mesh.scm (<vertex-buffer>, %make-vertex-buffer, vertex-buffer?,
vertex-buffer-id, vertex-buffer-type, vertex-buffer-attr-size,
vertex-buffer-length, generate-vertex-buffer, bind-vertex-buffer,
with-vertex-buffer, vertices-bytevector, attribute-size,
gl-buffer-type, make-vertex-buffer, generate-vertex-array,
with-vertex-array, vertex-attrib-pointer): Remove old vertex
buffer/array procedures.
(mesh-length, draw-mesh): Delete.
(mesh-shader): New procedure.
(make-mesh): Reimplement.
(draw): New method.
* sly/shape.scm (make-cube): Decouple from scene node. Use new mesh
constructor.
* sly/sprite.scm (make-sprite): Likewise.
|
|
|
|
|
|
|
|
| |
* sly/scene.scm (make-scene, scene-node-texture, update-scene-node,
draw-scene-node, <scene>, scene?, scene-root, scene-cameras,
update-scene, draw-scene, with-texture-maybe): Delete.
(scene-node, scene-node-object, scene-node-visible?, flatten,
scene->render-list): New procedures.
|
|
|
|
|
| |
* sly/render/utils.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
|
| |
* sly/render/renderer.scm: New file.
* Makefile.am (SOURCES): Add it.
|
|
|
|
| |
* TODO.org: Add new items.
|