7fdce48259
More generalized code.
...
MultiImageLayer and FlatLayer now use the same code for arranging nodes,
rather than then same logic twice.
2018-02-27 15:32:38 +01:00
17d4e07025
Implement a small texture wrapper.
...
Allows for RAII use of OpenGL textures.
2018-02-25 19:03:10 +01:00
99cf0740fe
Improve convolutional layer rendering.
...
Now all n individual images of w×h are packaged as a w×(n×h) image, with
the texture coordinates properly mapped so the individual rectangles
still get the proper texture.
This optimization causes slight glitches around the edges of the tiles,
but is so much faster that I think it's worth it.
2018-02-23 15:19:30 +01:00
d5dd49b3d6
Actually show rendered textures for image-like-layers.
2018-02-23 14:00:14 +01:00
53ef632bdc
Actually implement node positions for image-like-layers.
2018-02-18 18:25:43 +01:00
cf5dd28fef
Remove all explicitly typed for loops.
2018-01-22 15:55:32 +01:00
8bef347d05
Unify some functions in utils.
2018-01-18 14:43:13 +01:00
51315f1c59
change placeholder color for better visibility.
2018-01-18 12:32:40 +01:00
94ee38efb2
Bugfix: fix incorrect orientation of small image-like layers.
2017-12-01 14:54:04 +01:00
a75a435bc5
Restructure texture handling.
2017-11-27 13:59:41 +01:00
3231e078b3
Add entities for convolutional layers.
2017-11-27 12:25:56 +01:00
f289b2f52b
Reimplement drawing system with vertex buffers.
...
Now with 10000% more performance.
2017-11-23 14:43:31 +01:00