Commit Graph

50 Commits

Author SHA1 Message Date
justin 409180959c Use vertex pulling for clouds 2025-11-12 19:57:07 +00:00
justin 4121bfb468 Reduce shape vertex size to 8 floats
It is not at all clear whether this is an improvement or not
2025-11-11 21:12:50 +00:00
justin ce438b7ecd Pack shape normals into a word8 2025-11-11 21:03:02 +00:00
justin a65a1cab93 Work towards using vertex pulling for lighting caps, alignment issues 2025-11-11 12:33:33 +00:00
justin b2fd0543dd Cleanup, remove DeriveGeneric language extensions 2025-10-20 12:10:11 +01:00
justin 2056d8ba0e Comment out DeriveAnyClass extensions 2025-10-19 21:50:43 +01:00
justin 44f64f4b47 Move shape parameters into separate file 2023-04-13 02:42:43 +01:00
justin 3c43caee9c Poke word8 colors for shapes 2023-04-13 02:30:23 +01:00
justin d989acd6f2 Allow shadow fidelity option, fix bug in rendering box shadows 2023-03-25 17:22:58 +00:00
justin 850fdf1783 Add normal maps to the floor 2023-03-17 16:51:02 +00:00
justin 6425ef3f0a Use rounded shapes instead of TopPrism 2023-03-17 01:05:41 +00:00
justin 46d6d91138 Refactor, move towards adding cylinders 2023-03-16 17:01:58 +00:00
justin 24c1264f96 Implement shading for more types of shapes (cylinders, boxes) 2023-03-16 15:34:32 +00:00
justin 249262b2b6 Refactor shapes, prepare for different normals at single vertex pos 2023-03-15 21:43:00 +00:00
justin 989140d46e Add shading for shapes and the floor 2023-03-15 18:24:09 +00:00
justin 21f87b96d8 Try to centralize the number of components per vertex in shapes 2023-03-14 23:28:21 +00:00
justin bf1bd5bb0b Implement (not fully working) alternate shadow volumes 2023-02-24 19:51:41 +00:00
justin 715008a030 Bump stackage version, uses later version of GHC 2022-08-22 16:56:11 +01:00
justin aeb22fc9d7 Hopefully fully excise streaming 2022-08-22 12:02:42 +01:00
justin 6a46173fb4 Undo excision of streaming 2022-08-22 11:25:45 +01:00
justin 0006973dc3 Cleanup 2022-08-21 22:41:19 +01:00
justin 7181046aa3 Remove generic and flat instances 2022-08-21 22:38:40 +01:00
justin f1ef75f511 Go back to JSON encoding 2022-08-21 21:23:59 +01:00
justin dd62e30026 Add Store instances 2022-08-21 12:21:05 +01:00
justin 1ce7d4a72d Add Binary instances 2022-08-21 10:58:19 +01:00
justin 6e598339f1 Cleanup 2022-08-20 18:41:04 +01:00
justin ff9dbdf068 Move from store to flat 2022-08-20 17:54:35 +01:00
justin 8571ab9254 Attempt to make CWorld correct instance of Store 2022-08-20 15:53:37 +01:00
justin b8e8413daa Add generic derivations and To/FromJSON instances 2022-07-25 22:49:18 +01:00
justin ac069d08f6 Prop reification/splitting 2022-07-24 13:45:05 +01:00
justin a5730014c8 Reset Shapes to be list (not stream) of ShapeObj 2022-07-10 09:42:24 +01:00
justin 22ac8feb37 Redo shape vertices as a list, should allow for mirroring 2022-07-04 23:17:53 +01:00
justin 6972256751 Attempt to stream SPics, not sure if this improves speed 2022-07-04 20:34:47 +01:00
justin 1e32b05406 Commit before attempting to stream worldSPic more effectively 2022-07-04 11:04:09 +01:00
justin f9a904d52b Make Shapes use Streaming rather than Vector streaming 2022-07-03 23:04:58 +01:00
justin f6d96ec92c Put config/targeting pictures in sensible places, tweak main loop 2022-06-28 01:19:47 +01:00
justin 03b37c4e7b Revert "Turn Shape into a stream"
This reverts commit c7e720248d.
2022-06-27 18:41:43 +01:00
justin c7e720248d Turn Shape into a stream 2022-06-27 18:31:25 +01:00
justin 673e9b11fc Turn shapeObject's vertices into a stream 2022-06-27 17:47:03 +01:00
justin 0f01e422f6 Move towards allowing partial destruction of doors 2022-06-23 14:52:25 +01:00
justin 502be6f64f Cleanup. Start tweaking flares, glares and flashes 2021-10-29 21:47:03 +01:00
justin 952ec1c579 Working dynamic shadows using shape vertices buffer 2021-09-22 10:34:39 +01:00
justin 2804d58a5a Continue shape rendering improvements 2021-09-21 02:04:41 +01:00
justin 464b0b16db Broken commit, just to restore deleted function 2021-09-21 01:28:11 +01:00
justin 7f1a365cac Draw shape shadows using index buffer 2021-09-21 00:43:45 +01:00
justin 5cbcbec101 Working element buffer object 2021-09-20 12:36:35 +01:00
justin c605ac74ff Performance improvements, combine cap and geometry buffer 2021-09-18 19:48:35 +01:00
justin 80aa67015c Performance tweaks 2021-09-18 15:38:46 +01:00
justin 6ac53c052c Working (but slow) shadow shapes 2021-09-17 23:12:51 +01:00
justin 294e01479a Define shape datatype 2021-09-14 01:17:07 +01:00