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 |
bjorn
|
ecde864ec4
|
Use spooky BOOleans everywhere;
|
2017-10-31 01:14:09 -07:00 |
bjorn
|
1ebc527c74
|
Load vertex colors for models;
|
2017-10-23 19:24:29 -07:00 |
bjorn
|
65c26e47f2
|
Remove some weird Mesh return codes;
|
2017-10-22 07:20:40 -07:00 |
bjorn
|
2c0d85a84a
|
Use UNSIGNED_SHORT for indices when possible;
|
2017-10-22 07:04:52 -07:00 |
bjorn
|
e8f2166e00
|
Remove textures from Models and Meshes;
|
2017-10-21 12:34:58 -07:00 |
bjorn
|
03c01cb97a
|
Use access bits better when mapping Meshes;
|
2017-08-08 01:33:52 -07:00 |
bjorn
|
dd1db4c86f
|
lovr.graphics.box; Better non-uniform scale;
|
2017-06-21 19:42:34 -07:00 |
bjornbytes
|
6c25b9bd4f
|
Fix Mesh:getVertexMap;
|
2017-06-13 21:28:15 -07:00 |
bjorn
|
011b669892
|
Correct error check in Mesh:setVertexMap;
|
2017-06-10 14:09:33 -07:00 |
bjorn
|
2ae10967c4
|
Error in setVertices when overflowing Mesh size;
|
2017-03-23 17:49:57 -07:00 |
bjorn
|
94a5dab7b5
|
Meshes use mapped buffers;
|
2017-03-11 17:27:18 -08:00 |
bjorn
|
b417df1de9
|
Improve Mesh error message;
|
2017-03-11 15:26:43 -08:00 |
bjorn
|
7648bffda7
|
Mesh:isAttributeEnabled; Mesh:setAttributeEnabled;
|
2017-03-11 14:47:13 -08:00 |
bjorn
|
a2e1fd8972
|
Rename Buffer to Mesh;
|
2017-03-11 14:13:49 -08:00 |