From 963f8aecb44a6cff83a75a60deec102562d79ff1 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 29 Sep 2022 15:09:29 -0700 Subject: 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 --- osc_ctrl.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'osc_ctrl.py') 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) -- cgit v1.2.3