bjorn
|
efbc88073e
|
Write vertices at batch time;
|
2019-04-05 00:49:50 -07:00 |
bjorn
|
85c51399a6
|
Fix MSVC warnings;
|
2019-03-17 00:58:13 -07:00 |
bjorn
|
90d6e2b407
|
Make binding functions static;
|
2019-02-17 14:52:22 -08:00 |
bjorn
|
d529620fea
|
rm unused variables;
|
2019-02-17 14:19:39 -08:00 |
bjorn
|
a02d4eb659
|
rm VertexData;
|
2019-02-13 15:10:52 -08:00 |
bjorn
|
09936a8ae2
|
Load animation names; General testing;
|
2019-02-13 15:10:52 -08:00 |
bjorn
|
6b323e3476
|
Start parsing glTF;
|
2019-02-13 15:10:52 -08:00 |
bjorn
|
0eb2789a2d
|
Improve mat4:set;
Ended up removing the diagonal variant, sorry holo.
|
2019-01-30 16:13:44 -08:00 |
bjorn
|
c473bf50e8
|
Buffers individually keep track of their flush range;
Fixes bugs with attached Mesh attributes, where flushing wasn't
happening when it should have.
|
2019-01-22 12:11:01 -08:00 |
bjorn
|
ea3a77a73a
|
Many batching improvements; Refactoring;
|
2019-01-04 18:01:01 -08:00 |
bjorn
|
2ceb474b04
|
DrawCommand -> DrawRequest;
|
2019-01-04 18:01:01 -08:00 |
bjorn
|
ff581d2e07
|
Fix Mesh:draw;
|
2018-12-12 19:39:01 -08:00 |
bjorn
|
a67f59000f
|
DrawMode -> DrawStyle; MeshDrawMode -> DrawMode;
Renaming enums doesn't really have an impact on the API usage, just
the docs and internal naming of things.
|
2018-12-12 18:43:04 -08:00 |
bjorn
|
2435108d4d
|
rm drawInstanced (last argument of draw instead);
Willing to revert this, but I think this is the cleaner API to use.
|
2018-12-11 22:16:40 -08:00 |
bjorn
|
18fdd0c062
|
Autobatching;
|
2018-12-11 13:27:59 -08:00 |
bjorn
|
7f333ce956
|
Refactor Mesh attributes;
|
2018-12-07 19:11:14 -08:00 |
bjorn
|
e2886d3bb5
|
Mesh uses Buffer;
|
2018-12-07 15:57:45 -08:00 |
bjorn
|
c7934b3b13
|
Update API to work with vectors;
|
2018-12-02 12:08:07 -08:00 |
bjorn
|
816fda2177
|
Fix everything and merge;
|
2018-09-27 18:38:44 -07:00 |
bjorn
|
792834623c
|
api: more modular helper functions;
|
2018-09-27 18:38:44 -07:00 |
bjorn
|
a5256aaa27
|
Happy little graphics refactors;
|
2018-08-31 06:03:35 -07:00 |
bjorn
|
d6daa885c8
|
Simplify luax_checktype and inheritance;
|
2018-07-24 21:15:07 -07:00 |
bjorn
|
83ddb82162
|
Simplify Lua object management;
|
2018-07-24 20:13:54 -07:00 |
bjorn
|
f57810cd7a
|
Morganization;
|
2018-07-17 17:21:15 -07:00 |
bjorn
|
56bbf1cf56
|
Organization;
|
2018-07-17 17:21:15 -07:00 |
bjorn
|
0ee5d0b8f2
|
Anonymous materials for draw calls;
|
2018-07-17 17:21:14 -07:00 |
bjorn
|
e0063995b3
|
More data driven primitives;
|
2018-07-17 17:21:14 -07:00 |
bjorn
|
e6e8e137c0
|
Clean up drawing;
|
2018-07-17 17:21:14 -07:00 |
bjorn
|
f903b6014c
|
Use arrays for enums instead of maps;
|
2018-07-04 20:11:52 -07:00 |
bjorn
|
183f6003e9
|
rm mapped buffers mostly;
|
2018-06-03 19:00:31 -07:00 |
bjorn
|
7273811120
|
Some extra graphics state diffing;
|
2018-06-02 15:30:26 -07:00 |
bjorn
|
b180b28037
|
Mesh:getVertexMap with tables and Blobs;
|
2018-04-01 21:25:48 -07:00 |
bjorn
|
f9ce6d3425
|
Mesh:setVertexMap accepts a Blob for fast updates;
|
2018-03-22 11:22:06 -07:00 |
bjorn
|
c0ea3240c3
|
Organize drawing code;
|
2018-03-22 09:57:44 -07:00 |
bjorn
|
1cd1b5e11d
|
Use a Mesh for primitives;
|
2018-03-22 09:46:26 -07:00 |
bjorn
|
d77b139d21
|
Make Mesh more lightweight;
|
2018-03-21 15:36:00 -07:00 |
bjorn
|
05413adf74
|
Make detaching attributes more flexible;
|
2018-03-13 17:53:09 -07:00 |
bjorn
|
6fb977b5bb
|
Improve Mesh VAO state diffing;
Also permit empty tables for vertex formats.
|
2018-03-13 16:12:12 -07:00 |
bjorn
|
c0ebb8f873
|
Mesh:setVertices accepts VertexData;
|
2018-03-11 11:43:01 -07:00 |
mcc
|
1732384262
|
Implementation of mesh:attachAttributes(), with optional instance divisor
Some features remain to be implemented, these are marked with TODOs.
Currently it is not allowed to attach a mesh which itself has attachments.
|
2018-03-04 17:07:54 -05:00 |
bjorn
|
8ad882e7a4
|
Add VertexData object;
|
2018-02-10 17:27:29 -08:00 |
bjorn
|
3ed5419005
|
ModelData vertex accessors;
|
2018-01-27 13:43:20 -08:00 |
bjorn
|
032788003a
|
VertexData; IndexData;
|
2018-01-27 12:51:41 -08:00 |
bjorn
|
66d0e42908
|
Refactor VertexFormat;
|
2018-01-26 19:11:40 -08:00 |
bjorn
|
dc801d8590
|
luax_pushvertex;
|
2018-01-26 19:01:41 -08:00 |
bjorn
|
ea7f3d48a2
|
Refactor MeshFormat;
|
2018-01-26 19:01:41 -08:00 |
bjorn
|
1d20e49829
|
Move api header;
|
2017-12-10 12:41:43 -08:00 |
bjorn
|
ddd905627b
|
Mesh:drawInstanced; Model:drawInstanced;
No attribute divisors yet.
|
2017-11-25 19:45:44 -08:00 |
bjorn
|
cb2265e547
|
Remove material from graphics state;
It is now local state to models and meshes and can be passed as
an optional first argument to most primitives.
|
2017-11-25 19:02:28 -08:00 |
bjorn
|
652c31f8d4
|
Optional pose;
|
2017-11-20 21:16:16 -08:00 |