Commit graph

399 commits

Author SHA1 Message Date
afe7c43351 Overrides - Functionality implemented
... with a few leftover bugs and a few missing features. Still, it works
nicely.
2017-11-20 14:33:57 +01:00
2b1657ac3a Overrides - Camera angles problem fixed
Because of fucking numerical instability, updating the UI's input values
every frame caused problems. Fixed this by making sure it's set only if
the override is disabled or at the first frame after it is enabled.
2017-11-20 11:36:30 +01:00
75af2c15c7 Overrides - Fixed NaN in camera handling 2017-11-20 11:26:53 +01:00
aa58b016c2 Overrides - Camera UI
Camera control using the input overrides panel works, although the
controls are a bit too sensitive (and there's a risk of fucking things
up with bad Up vectors)
2017-11-20 11:12:27 +01:00
b954f20e0e Overrides - Camera configuration
Camera overrides read their configuration from the script and make sure
that it is valid.
2017-11-20 10:05:09 +01:00
1078ff67b5 Overrides - Further work on camera data
It *should* be ready to be used with the overrides system now.
2017-11-20 08:38:22 +01:00
bebf54cfee Overrides - Started rework of camera 2017-11-19 23:47:26 +01:00
7a4595e8e8 Overrides - Various color grading bugs fixed 2017-11-19 23:03:50 +01:00
761b9fca1c Overrides - Color grading overrides
Still a big bug in the widget.
2017-11-19 21:54:13 +01:00
def4f9e9ea Overrides - Color grading - Moved UI to separate files 2017-11-19 21:19:11 +01:00
17aecb3693 Overrides - Color grading - UI prototype finished
... And it mostly works!
2017-11-19 21:06:03 +01:00
04ebfad3e3 Overrides - Color grading - Color wheel 2017-11-19 18:49:01 +01:00
78aa60fcc7 Overrides - Color grading widget - Component mode 2017-11-19 16:13:41 +01:00
2c97f3a52e UI overhaul
* Use menus instead of a silly window with checkboxes
* Windows can be closed, cannot be collapsed
* Left side windows have more vertical space
* Specific window for the sequencer
2017-11-19 10:21:08 +01:00
f16ff2ec2e Overrides - Defining more in the script 2017-11-19 08:51:23 +01:00
01326eda80 Overrides - Duplicate names handling fixed 2017-11-18 17:34:29 +01:00
7d85a87488 Overrides - Various bugs fixed, new overrides in script 2017-11-18 16:13:07 +01:00
aeefcbb633 Overrides - Support for integers 2017-11-18 15:17:42 +01:00
8cd6231206 Overrides - Fixed two bugs
* Sub-sections were ignored in the definitions
* Using the same label for all ImGui controlled caused problems.
2017-11-18 12:33:02 +01:00
0796847b5e Overrides - Support in program
There's still a bug with the subsections (either during parsing or at
merge, but KID INTERRUPT!!!!)
2017-11-18 09:48:37 +01:00
12f580d384 Parser - Overrides stored in the AST 2017-11-17 20:33:56 +01:00
3a59078323 Parser + overrides - Partial parsing of ui-overrides sections 2017-11-17 14:09:36 +01:00
4ac51553bc Overrides - Implementation for floats
Also fixed some UI stuff.
2017-11-16 23:15:44 +01:00
422ab564f3 Overrides - Started work
+ Basic structures
+ Partial implementation in the sync manager
+ Partial implementation of the single float override
+ Silly hardcoded tests in the demo/main files
2017-11-16 12:20:21 +01:00
c18702c2f3 Parser - Fixed potential memory leak 2017-11-16 12:01:54 +01:00
42b9b2bdb3 Sync - Started working on UI overrides 2017-11-16 09:55:56 +01:00
7f3eed227b Old code removal 2017-11-16 08:36:05 +01:00
555105feb8 Parser/compiler - Display errors on the console 2017-11-16 08:34:13 +01:00
e0e7ab5441 Ops - Auto-reload + resize support 2017-11-15 23:12:09 +01:00
c3171aba94 Ops - Fixed profiler exit
It needs a glFinish( )
2017-11-15 22:39:49 +01:00
914464811a Refactoring - Ops header renamed 2017-11-15 20:36:08 +01:00
fd0df03428 Refactoring - Compiler & parser moved to separate header 2017-11-15 18:58:37 +01:00
0c9ca6c04e Parser/compiler - Some refactoring 2017-11-15 18:44:34 +01:00
b7f79c11b0 Old code removal, 4/4 2017-11-15 17:24:42 +01:00
af974518cb Old code removal, 3/???
This isn't technically old code, just code I wrote but ended up not
using.
2017-11-15 17:19:40 +01:00
e98f2d831e Old stuff removal, commit 2/??? 2017-11-15 17:18:01 +01:00
f1d7935421 Removed some now-unused code 2017-11-15 17:16:12 +01:00
1d66085483 TODO list updated 2017-11-15 10:04:09 +01:00
1b06f9e299 IT LIVES!!!!!!!!
Ok, so it can display stuff.
2017-11-15 09:46:07 +01:00
210be3a852 Main script runs
Fixed a few more bugs, and now the main script runs without crashing. It
fails to produce any output, however.
2017-11-14 23:44:13 +01:00
3de255aad0 Started using new control code + bugfixes
The program is loaded and its init part is run. Many bugs were fixed in
the process, including various new bugs in the shaders manager.
2017-11-14 22:04:00 +01:00
8a0afc345f Control - Run guard 2017-11-14 17:46:45 +01:00
d5d463fd2c See? Bugs. 2017-11-14 17:42:26 +01:00
c05ab54ca7 Finished implementation of the emulator
It's probably full of bugs so meh
2017-11-14 17:35:13 +01:00
6deb59d884 Control / compiler - Fixed program initialization
Program initialization returns an identifier, unlike the rest
of the initializers which require an allocated GL ID.
2017-11-14 15:37:42 +01:00
96d821828f Shaders - Made it possible to load programs separately 2017-11-14 15:27:25 +01:00
71f6fed1ee Control - All opcodes that do not use assets are done 2017-11-14 14:25:55 +01:00
512c981402 Control - Implemented all basic opcodes
+ memory access
+ flow control
+ FPU ops
2017-11-14 12:49:59 +01:00
8b7964632a Compiler - Additional asserts on FPU stack 2017-11-13 18:53:42 +01:00
83b76a96f6 Compiler - Output debugging instruction 2017-11-13 18:51:15 +01:00