Commit Graph

40 Commits

Author SHA1 Message Date
Roz K cb763962fd
Merge vertex and param formats. 2023-01-06 18:40:58 +01:00
Roz K ebc6ededf3
Improve mesh struct after switching to mesh indices. 2023-01-04 09:06:13 +01:00
Roz K a5adfacdfd
Use mesh indices in batch. 2023-01-03 14:05:25 +01:00
Roz K d0741afda7
Stores meshes into vertices. 2023-01-03 12:59:07 +01:00
Roz K ed87f292ff
Split batch fill and batch draw. 2023-01-02 17:01:36 +01:00
Roz K beca8798bf
Rename create_shader. 2023-01-01 08:09:37 +01:00
Roz K e80bbe2418
Remove begin_frame and end_frame, add clear_buffer. 2023-01-01 07:57:10 +01:00
Roz K ae3333e22e
Move samplers bindings to shaders. 2022-12-31 13:36:48 +01:00
Roz K 2095e335ea
More errors handling. 2022-12-31 12:26:41 +01:00
Roz K 43d62948b7
Move vertex array and buffers from vertices to batch. 2022-12-31 09:38:18 +01:00
Roz K 3b21e1610a
Batch commands memory optim. 2022-12-30 14:49:00 +01:00
Roz K 306ac3d312
Add a parameter to enable/disable debug output. 2022-12-30 14:11:48 +01:00
Roz K 7db5304d40
Switch back to SoA parameters. 2022-12-30 10:50:56 +01:00
Roz K 33abfd834a
Add mat4_orbit. 2022-12-29 08:11:12 +01:00
Roz K af0edd5e6d
Add set_param_mat3. 2022-12-27 06:20:18 +01:00
Roz K ad2e89f684
Cleanup mat4 setters. 2022-12-27 06:18:51 +01:00
Roz K 6b33f8285c
Add mat3 instances parameters. 2022-12-26 14:05:06 +01:00
Roz K cdfce62c90
Rename TEXTURE_FORMAT_32F to TEXTURE_FORMAT_FLOAT_32. 2022-12-25 04:20:19 +01:00
Roz K e286d33c35
Cleanup pointers types and addrs. 2022-12-25 04:05:44 +01:00
Roz K 026ead0b33
Split display from render and rework init/terminate. 2022-12-24 11:27:53 +01:00
Roz K 65b25c8be3
Add button and motion events. 2022-12-24 06:36:20 +01:00
Roz K abd5989de8
Add basic XIM support for key events. 2022-12-23 13:28:29 +01:00
Roz K 61cfdbccf3
Add support for key press and release events. 2022-12-23 10:18:26 +01:00
Roz K 709974412a
Add a buffer method to hide ctypes array contruction. 2022-12-23 10:14:05 +01:00
Roz K 337d7b14f5
Rename _lib to _engine. 2022-12-23 10:13:24 +01:00
Roz K ccce6c5d83
Add vec3_rotate and vec3_mul_vec3. 2022-12-20 15:26:53 +01:00
Roz K abf1e87a36
Cleanup more ctypes bindings. 2022-12-20 14:37:27 +01:00
Roz K 84ea17f1cc
Cleanup ctypes bindings. 2022-12-20 13:34:07 +01:00
Roz K ddb9b0598f
Cleanup: remove slot from texture. 2022-12-19 06:27:34 +01:00
Roz K 028ba40148
Cleanup: rework resources creation. 2022-12-18 03:39:34 +01:00
Roz K 5c9e10eea8
Change instance parameters from SoA to AoS. 2022-12-17 16:50:41 +01:00
Roz K 3df976c154
Custom instance parameters. 2022-12-17 04:58:19 +01:00
Roz K 8f3612bed2
Cleanup: remove texlevels from instance params. 2022-12-05 05:50:04 +01:00
Roz K af25548752
Fix ctypes binding for load_shader. 2022-12-04 03:16:01 +01:00
Roz K 1e56cc1c28
Add mat4_mul_vec3. 2022-11-29 03:05:34 +01:00
Roz K dfc2bbc408
Cleanup: remove projection and views and add setters for mat3 and mat4 instead. 2022-09-20 03:10:59 +02:00
Roz K 59df9e8748
Add mat4_projection and mat4_lookat. 2022-09-20 02:54:59 +02:00
Roz K 601336f1f9
Fix cdll loading path. 2022-09-20 02:47:07 +02:00
Roz K eb15d04f2c
Cleanup: move all GLX to render_context_glx. 2022-09-19 02:02:58 +02:00
Roz K b3547c90f1
Renderer and Python ctypes bindings. 2022-08-28 04:23:13 +02:00