Commit Graph

163 Commits

Author SHA1 Message Date
Peter Slattery d08de9b99f Stopped freeing assembly file memory after load since its in the transient buffer anyways. 2020-09-07 12:47:12 -07:00
Peter Slattery c7522bfa4b Added a default tag to every strip specifying which assembly it is a part of 2020-09-07 12:37:32 -07:00
Peter Slattery cc41442923 added assembly_center field to assembly files and used it to place assemblies at construction time 2020-09-07 11:12:58 -07:00
Peter Slattery 44486acca4 did a bunch of animation timeline todos - just simplifying function call signatures 2020-09-06 21:42:21 -07:00
Peter Slattery 736b7ab85e Prevented array index out of bounds error when accessing animation procs form the GlobalAnimationClips array 2020-09-06 21:18:49 -07:00
Peter Slattery 337b4ac271 Implemented tag based filtering of led strips 2020-09-06 21:10:36 -07:00
Peter Slattery 1db836890f Cleaned up world -> panel space conversion 2020-09-06 20:33:28 -07:00
Peter Slattery 7c134774c3 sculpture view cleanup 2020-07-18 13:08:28 -07:00
Peter Slattery 078f4e3ed7 Fixed the sculpture view. 2020-07-18 12:59:57 -07:00
Peter Slattery 62e22979f3 Separated out the engine from the editor. 2020-07-18 12:27:36 -07:00
Peter Slattery 50c2ef9290 Cleaning up, converting over to using new gs files. 2020-07-18 12:00:14 -07:00
Peter Slattery 295a5aaaa0 Fixed problem where leds were being drawn with the wrong color 2020-06-27 14:10:25 -07:00
Peter Slattery 266f42c4f6 Whatever I was doing last time + made leds always be camera facing. Probably could use some speed up later on. 2020-06-27 11:23:50 -07:00
Peter Slattery e3d7a90a13 app_state.Interface_ -> app_state.Interface 2020-06-22 17:39:58 -07:00
Peter Slattery dc25b268f7 compressed some ui drawing code. 2020-06-21 21:59:42 -07:00
Peter Slattery a0072cd57b removed foldhaus_debug_visuals.h Cleaned up assembly parsing. 2020-06-21 21:26:13 -07:00
Peter Slattery 23c9dabfbb A bit more cleanup around sacn and assemblies. 2020-06-20 17:05:58 -07:00
Peter Slattery 9c432a3807 Cleaned up some extraneous variables in the assembly structure 2020-06-19 18:53:23 -07:00
Peter Slattery 69db4b436c Pulled the leds out of assemblies and into their own subsystem. 2020-06-15 15:36:50 -07:00
Peter Slattery bfd9d6671c Finished parsing the new assembly file format 2020-06-09 20:33:51 -07:00
Peter Slattery c2f3b9193d platform_file_handler functions now take strings rather than char arrays 2020-05-30 15:09:06 -07:00
Peter Slattery 0b3d603e04 Created platform_file_handler and integrated it 2020-05-30 14:54:37 -07:00
Peter Slattery 3418f1417a Updated build batch files. 2020-05-11 18:22:02 -07:00
Peter Slattery 94a6e023bf Unblocked the build directory, since it now has the actual build batch files. 2020-05-11 18:09:27 -07:00
Peter Slattery bc8424a852 Updated gitignore. 2020-05-11 18:09:05 -07:00
Peter Slattery 20427d9dbd Project folder structure fixup. 2020-05-11 18:06:54 -07:00
Peter Slattery a4a16e494b Fixed the source path in build_osx.sh 2020-03-29 16:50:55 -07:00
Peter Slattery f874ba5289 Began building out the osx platform layer 2020-03-29 16:47:47 -07:00
Peter Slattery b843937295 Refactored rect functionality of gs_vector_matrix to make it not conflict with windows headers (just added gs_ to all functions). refactored Profiler interface code to use the new interface layout system. 2020-03-21 22:44:44 -07:00
Peter Slattery 5922a4bf27 Pulled more old ui code out and replaced it with the layout based ui 2020-03-21 21:13:35 -07:00
Peter Slattery cb98100a94 Began working on a new ui layout system. Deprecated a lot of old ui code, in favor of new ui_ code 2020-03-20 00:55:13 -07:00
Peter Slattery 803f5c82ae Updated gs_vector_matrix 2020-03-19 21:50:11 -07:00
Peter Slattery f461ee2044 Metaprocessor now generates an enum of panel types, app now passes a cursor type out to the platform layer, which handles setting the cursor style. 2020-03-12 22:42:59 -07:00
Peter Slattery 27c0c5e16f Removed old layer/pattern code 2020-03-08 20:28:49 -07:00
Peter Slattery 391d989e2a Updated the todo file 2020-03-08 16:16:23 -07:00
Peter Slattery f3c308e8fd Began implementing a file view panel 2020-03-08 16:15:26 -07:00
Peter Slattery 2fbc916c79 Fixed problem where overlapping animation clips would trigger multiple drag animation block commands. 2020-03-08 14:57:34 -07:00
Peter Slattery d5309819e6 Implemented the structure for different layers to have blend modes.
We now copy the led buffer for each assembly once per layer that has an active animation in it. The animations edit these temporary buffers, which are then blended together after all layers have created buffers, for each assembly.
2020-03-08 14:44:28 -07:00
Peter Slattery f1936a016c Updated todo list. Enforced execution order of animation blocks - they now execute in layer order, from top to bottom. 2020-03-07 16:29:07 -08:00
Peter Slattery de1a9474f0 Added rudimentary layers to the animation system. 2020-03-07 16:06:10 -08:00
Peter Slattery 3a20883a49 Converted evertthing over to useing frame ranges 2020-03-01 17:19:30 -08:00
Peter Slattery bfa31882e5 todo list cleanup 2020-03-01 15:55:07 -08:00
Peter Slattery 0cb97b3c9a Fixed a problem with the dragging of animation clips. Releasing the button wouldn't stop dragging. 2020-03-01 15:44:58 -08:00
Peter Slattery 780ccbd1a3 Converted thinsg over to using time ranges and implemented zoom. Also restructured how different parts of the timeline view know where they are. The timeline now constructs all the bounds, and each element just draws itself inside the provided bounds. 2020-03-01 15:24:12 -08:00
Peter Slattery 197b6accc7 Moved everything over to using frames rather than seconds in the animation system. 2020-02-29 17:11:15 -08:00
Peter Slattery dc36d44cd2 Clamped Animation Clips to the timeline 2020-02-29 16:02:30 -08:00
Peter Slattery 8f94aea56a Implemented Snapping Animation Clips 2020-02-29 15:43:06 -08:00
Peter Slattery 4224ba15fb Solved crash when not viewing the sculpture view panel
The sculpture view panel was the one which handled the job system. If the panel was closed, jobs stopped being completed and the queue filled up.
2020-02-29 15:07:56 -08:00
Peter Slattery b103ede28c Made the meta system put generated files relative to the root file rather than at an absolute path 2020-02-29 14:43:07 -08:00
Peter Slattery 67d3dd1e26 Began generating panel info via the meta program 2020-02-29 14:23:46 -08:00