diff options
| author | yum <yum.food.vr@gmail.com> | 2022-09-29 15:09:29 -0700 |
|---|---|---|
| committer | yum <yumfood@airmail.cc> | 2022-09-29 15:09:29 -0700 |
| commit | 963f8aecb44a6cff83a75a60deec102562d79ff1 (patch) | |
| tree | 86d1ad21a12ac732c7043d03416eab2b111daf33 /osc_ctrl.py | |
| parent | 6aecadd5f73fc92992435b2d210a55a01280de95 (diff) | |
delete SetLetters.cs
Doesn't work in game.
Also change # of characters per slot to 80, down from 128.
Also realize that VRChat supports 256 BITS of parameter, not 256 BYTES.
Next design idea:
* 3 8-bit parameters: letter, row, col
* 1 boolean parameter: active
* one animation for each slot/letter combo, as usual
* one fx layer like this:
if !active:
do nothing
if row == 0:
if col == 0:
if letter == 0:
play row00_col00_letter00 animation
* because write defaults are off, we should be able to "save" letters
by simply setting active = false
* thus we don't need to simultaneously address the entire board, saving
memory
Diffstat (limited to 'osc_ctrl.py')
| -rw-r--r-- | osc_ctrl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/osc_ctrl.py b/osc_ctrl.py index 9a986a1..9cb33cf 100644 --- a/osc_ctrl.py +++ b/osc_ctrl.py @@ -19,7 +19,9 @@ client = udp_client.SimpleUDPClient(args.i, args.p) for i in range(1,100): addr="/avatar/parameters/_Letter_Row00_Col00_03" - msg = ((15 << 24) | (16 << 16) | (17 << 8) | 18) + #addr="/avatar/parameters/_Letter_Row00_Col00" + #msg = ((15 << 24) | (16 << 16) | (17 << 8) | 18) + msg = i % 2 print("send {} to {}".format(msg, addr)) client.send_message(addr, msg) time.sleep(1) |
