Commit Graph

81 Commits

Author SHA1 Message Date
Rod Kay
177376ab6d opengl.shader: Disable logging of shader programs. 2024-08-24 14:00:08 +10:00
Rod Kay
e8180cd883 opengl.renderer.lean: Add function to check if a light already exists. 2024-08-20 12:51:57 +10:00
Rod Kay
77d92d5e3b opengl+gel.world: Performance mods. 2024-08-18 11:31:26 +10:00
Rod Kay
0889c6c07c opengl.shader: Only show debug info when in debug build mode. 2024-04-24 20:05:09 +10:00
Rod Kay
55cac1b347 opengl.tasks: Only check tasks are the same during debug build mode. 2024-04-24 19:48:30 +10:00
Rod Kay
55099f4991 opengl.errors: Use new 'Debugging' function to optimise out error checks when not building in 'debug' mode. 2024-04-24 19:20:07 +10:00
Rod Kay
5860ed71fb opengl.errors: Add a 'Debugging' function with separate bodies for debugging and not debugging. 2024-04-24 19:13:34 +10:00
Rod Kay
e202ce548d opengl: Bug fixes for opengl mesa software rendering. 2024-04-24 18:15:27 +10:00
Rod Kay
b9d9930a93 opengl.context: Add extra debugging message. 2024-04-24 12:41:30 +10:00
Rod Kay
081fcd860e opengl.model.texturing: Rid 'limited with' of 'openGL.Model'. 2024-04-24 12:40:42 +10:00
Rod Kay
6c0f5d9394 opengl.geometry: Add subprograms to get and set the model. 2024-04-24 12:38:29 +10:00
Rod Kay
66b60b5f8e opengl.renderer.lean: Add an 'add' procedure to allow manually managing light id's. 2024-03-10 14:25:05 +11:00
Rod Kay
ccfaff517b opengl.light: Add a forge. 2024-03-10 14:23:13 +11:00
Rod Kay
9ef4cc7026 opengl.palette: Add 'moonlight' color. 2024-03-03 20:27:03 +11:00
Rod Kay
92e2d91d09 opengl.light: Change light defaults. 2024-02-28 22:25:32 +11:00
Rod Kay
0b655ea2be opengl.light: Add 'Strength' to lights. 2024-02-28 21:11:59 +11:00
Rod Kay
d807a87cc1 opengl.program.lit: Cosmetics. 2024-02-28 19:52:06 +11:00
Rod Kay
e27c348247 opengl: Add 'no_Shine' constant. 2024-02-28 19:40:32 +11:00
Rod Kay
6e2edae1fb opengl.shaders: Rid 'lit_colored_skinned.frag' shader. 2024-02-23 23:01:16 +11:00
Rod Kay
68c1ff4764 opengl.shaders: Use unified lighting and texturing 'snippets' for fragment shaders. 2024-02-23 22:36:18 +11:00
Rod Kay
d1f702aab5 opengl.model: Use 'default_Shine' for all lit models. 2024-02-23 18:35:07 +11:00
Rod Kay
1937fb28c5 opengl-texture: Check for errors when setting wrap parameters. 2024-02-13 17:10:36 +11:00
Rod Kay
88dc115bad opengl.geometry.lit_colored_textured: Add TODO for shine. 2024-02-13 17:07:52 +11:00
Rod Kay
02411c1995 opengl.geometry.lit_textured: Cosmetics. 2024-02-13 17:07:01 +11:00
Rod Kay
f9c00d89a9 opengl.demo: Add texture tiling for polygons. 2024-02-13 17:05:53 +11:00
Rod Kay
009f0e1167 opengl.geometry: Fix 'Shine' attribute bug. 2024-02-12 21:02:08 +11:00
Rod Kay
c7f58797f3 opengl.texture: Add simple tiling. 2024-02-03 21:38:58 +11:00
Rod Kay
a0316025cf opengl.texture: Make 'GL_REPEAT' the default wrap mode. 2024-02-03 21:17:28 +11:00
Rod Kay
180625eb89 opengl.texture.coordinates: Cosmetics. 2024-02-03 20:20:17 +11:00
Rod Kay
7e1a4c47f6 opengl.model.circle: Add a 'colored' model. 2024-01-09 17:05:08 +11:00
Rod Kay
f4baa64e8f opengl.remote_model: Set default 'Shine' to '1.0'. 2024-01-09 16:57:56 +11:00
Rod Kay
50766e1772 opengl.camera: Cosmetics. 2023-12-31 21:13:42 +11:00
Rod Kay
b7f584ca7f Tidy. 2023-12-08 17:14:00 +11:00
Rod Kay
dbe487c074 lace.events: Optimise. 2023-12-08 14:42:45 +11:00
Rod Kay
f12686d233 opengl.model: Add a lit and textured circle model. 2023-11-23 23:09:29 +11:00
Rod Kay
fa02760f9c opengl.texture.coordinates: Add 'centroid' as part of the result in simple function to compute texture coordinates from a set of vertices. 2023-11-14 22:22:43 +11:00
Rod Kay
eadf53f890 opengl.model.polygon: Add a lit and textured model. 2023-11-14 19:50:14 +11:00
Rod Kay
a4a75d528e opengl.texture.coordinates: Add simple function to compute texture coordinates from a set of vertices. 2023-11-14 19:48:45 +11:00
Rod Kay
c9ecff7d86 opengl: Cosmetics. 2023-11-10 19:24:40 +11:00
Rod Kay
e7e0f6fc09 opengl.renderer.lean: Set 'no_context_Clearer' as the default context clearer. 2023-11-10 19:03:00 +11:00
Rod Kay
3bb82e5a39 opengl: Cosmetics. 2023-11-10 18:38:10 +11:00
Rod Kay
2f6670a24c gel.demo: Use 'gel_sdl'. 2023-11-03 18:02:54 +11:00
Rod Kay
0b4d19522b gel.window: Add support for a Gtk window. 2023-11-03 15:21:29 +11:00
Rod Kay
8ea8928fd0 opengl.model.sphere.lit_colored_textured: Update texturing and add color. 2023-10-21 14:21:26 +11:00
Rod Kay
833584970a opengl.model.sphere.lit_colored_textured: Update texturing. 2023-10-21 13:41:32 +11:00
Rod Kay
4861f54232 opengl.model: Add basic texturing subprograms. 2023-05-31 15:22:25 +10:00
Rod Kay
ce41c9afef opengl.geometry.texturing: Use 'Mixin' generic. 2023-05-31 11:39:01 +10:00
Rod Kay
ec4a9b357a opengl.geometry.texturing: Add 'Mixin' generic. 2023-05-31 10:54:59 +10:00
Rod Kay
715e9edb80 openGL.Geometry: Rid unused 'Textures' array type. 2023-05-31 09:31:12 +10:00
Rod Kay
6850241aa9 openGL.Geometry.texturing: Factor out texturing code from 'openGL.Geometry.lit_textured'. 2023-05-31 08:05:58 +10:00