Commit graph

516 commits

Author SHA1 Message Date
Ammar Askar
58ef199af7 Add tests for animations with multiple IK targets 2023-08-26 11:20:16 -04:00
Nahuel Rocchetti
a0acde0273 VMStack -> VMThread 2023-08-25 18:51:26 -03:00
Nahuel Rocchetti
0229014e46 Merge branch 'master' of https://github.com/LazyDuchess/OpenTS2 2023-08-25 09:08:16 -03:00
Nahuel Rocchetti
4358bcfe5b vm better error handling, cleanup 2023-08-25 09:07:51 -03:00
Ammar Askar
776d708657 Add ability to view different animations in SimAnimationTest, fix IK weights on new animation play 2023-08-25 00:43:36 -04:00
Nahuel Rocchetti
e7d5b93b95 clean up stackframe 2023-08-24 19:30:51 -03:00
Nahuel Rocchetti
dcc3951c06 Add more error checking to stackframe. 2023-08-24 19:06:11 -03:00
Nahuel Rocchetti
aa65449f28 Fix stack overflow, test bhav infinite loop 2023-08-24 18:58:01 -03:00
Nahuel Rocchetti
15e1beda47 Update VMNotifyStackObjectOutOfIdle.cs 2023-08-24 15:36:41 -03:00
Nahuel Rocchetti
88c7ace01f implement simantics exceptions 2023-08-24 15:28:15 -03:00
Nahuel Rocchetti
757eb53777
Merge pull request #53 from LazyDuchess/vm
Initial SimAntics VM Implementation
2023-08-24 14:07:27 -03:00
Nahuel Rocchetti
5b206ce748 Implement random number prim 2023-08-24 13:50:53 -03:00
Nahuel Rocchetti
4d3fe674f5 Don't halt, yield 1 tick instead. 2023-08-24 11:39:29 -03:00
Nahuel Rocchetti
b6581440fd Implement VM entity deletion 2023-08-24 10:56:51 -03:00
Nahuel Rocchetti
de63f69908 Make scheduler smarter 2023-08-24 10:16:42 -03:00
Nahuel Rocchetti
66ce0c14a7 Proper Private/SemiGlobal/Global scopes for VM 2023-08-24 08:10:35 -03:00
Nahuel Rocchetti
b843766cf3 Merge branch 'master' into vm 2023-08-24 07:26:25 -03:00
Nahuel Rocchetti
84f2ea1611 Refactor OBJD resource 2023-08-24 07:15:14 -03:00
Nahuel Rocchetti
c3eadd0a57 Implement SemiGlobal Asset 2023-08-24 06:20:54 -03:00
Nahuel Rocchetti
5c3eddbc02 Merge branch 'master' into vm 2023-08-24 05:05:57 -03:00
Nahuel Rocchetti
5ba59f1b31 Remove TSObject, just use OBJD 2023-08-24 05:05:01 -03:00
Nahuel Rocchetti
affca9c7c1 further refactor 2023-08-24 04:51:23 -03:00
Nahuel Rocchetti
26863fae57 clean up 2023-08-24 04:24:25 -03:00
Ammar Askar
e31b1e8c35 Fix inverse kinematics for hands 2023-08-23 15:09:09 -04:00
Ammar Askar
2cb6db9369 Pull IkChainIdx from animation channel flags 2023-08-23 14:09:36 -04:00
Nahuel Rocchetti
efe6e27269 Refactor GoSub a little. 2023-08-22 13:41:02 -03:00
Nahuel Rocchetti
1b91222ff9 don't sleep a negative number 2023-08-22 12:49:02 -03:00
Nahuel Rocchetti
59d8fa9342 Fix interrupt infinite loop potential 2023-08-22 12:05:06 -03:00
Nahuel Rocchetti
f4aaf72404 Implement scheduler, clean up tests a little 2023-08-22 11:57:23 -03:00
Nahuel Rocchetti
72f243513f make VMReturnValue into a struct 2023-08-22 02:47:29 -03:00
Nahuel Rocchetti
d4bf55e6d0 Fix interrupt, test interrupt 2023-08-22 02:38:32 -03:00
Nahuel Rocchetti
92edaf8bad Assign unique IDs to vm entities 2023-08-22 02:30:22 -03:00
Nahuel Rocchetti
4051ab8067 remove unused argument 2023-08-22 02:19:16 -03:00
Nahuel Rocchetti
dbe29265af Make ids shorts, implement more data sources 2023-08-22 02:10:53 -03:00
Nahuel Rocchetti
b16b98abd5 fix interrupt not handling 2023-08-22 01:52:23 -03:00
Nahuel Rocchetti
143b3fb67f Interrupt system 2023-08-22 01:50:42 -03:00
Nahuel Rocchetti
67348d72dd Can notify objects out of idle now. 2023-08-22 01:09:34 -03:00
Nahuel Rocchetti
3ee0b00c84 Simplify Continue Handler 2023-08-22 00:45:05 -03:00
Nahuel Rocchetti
9a87ea04c8 Refactor VM blocking. 2023-08-22 00:32:43 -03:00
Nahuel Rocchetti
92dfcc0193 Refactor primtiives 2023-08-22 00:06:03 -03:00
Nahuel Rocchetti
38c1d3536a optimize gosub argument passing 2023-08-21 23:52:57 -03:00
Nahuel Rocchetti
11e51e1e7c Some comments 2023-08-21 23:50:00 -03:00
Nahuel Rocchetti
524d0b797d Transfer stackobjid to new stack frame. 2023-08-21 23:44:44 -03:00
Nahuel Rocchetti
9710bc5f04 Implement gosub to private/global bhavs 2023-08-21 23:43:35 -03:00
Nahuel Rocchetti
6d3812883c better names for stack frame funcs 2023-08-21 22:11:38 -03:00
Nahuel Rocchetti
a298771cfc Update VMStack.cs 2023-08-21 20:51:49 -03:00
Nahuel Rocchetti
5f8513d320 implement non blocking stack, return exitcodes from stack. 2023-08-21 20:49:12 -03:00
Ammar Askar
1da81c10d6 Add gizmos for hand IK bends 2023-08-21 19:46:04 -04:00
Nahuel Rocchetti
a4d4dacf5c rename expression operators 2023-08-21 20:17:03 -03:00
Nahuel Rocchetti
8df3087498 VM: don't yield if continue callback ends in same tick. 2023-08-21 20:14:42 -03:00