Commit Graph

50 Commits

Author SHA1 Message Date
Nick Fisher
41fa55cfb5 set default camera zoom speed to 1.0 2024-06-16 13:22:03 +08:00
Nick Fisher
ef075fb4ba whitespace 2024-06-16 13:22:03 +08:00
Nick Fisher
49f33cd7bf update web/js interop types 2024-06-16 13:22:02 +08:00
Nick Fisher
663be45e6a remove inadvertent dart:ffi dependency 2024-06-16 13:22:02 +08:00
Nick Fisher
5c5897f74d add maxDelta to blend between glTF and dynamic bone animations 2024-06-10 22:32:44 +08:00
Nick Fisher
78662ccade fix quaternion order in JS interop bindings 2024-06-04 22:20:40 +08:00
Nick Fisher
fce1846c27 recalculate world transform from parent hierarchy when setting bone animation 2024-06-04 22:20:13 +08:00
Nick Fisher
2f1edc706b update web bindings 2024-06-04 20:53:34 +08:00
Nick Fisher
15392071e4 add fade in/out arguments to JS export types 2024-06-04 20:53:20 +08:00
Nick Fisher
fd06424f28 add various bone methods to JS interop 2024-06-04 13:15:45 +08:00
Nick Fisher
f31bbccdc9 add fade in/out to dynamic bone animations 2024-06-04 13:14:53 +08:00
Nick Fisher
52204ddd5b documentation 2024-06-03 22:30:17 +08:00
Nick Fisher
a97eea396a add new rest local transforms getter when setting bone animations, rather than needing to reset and get current local transform 2024-06-03 22:30:00 +08:00
Nick Fisher
231c9a96a7 update web bindings 2024-06-01 12:44:40 +08:00
Nick Fisher
18b0b7c20a fix double-add entity in Scene 2024-06-01 12:43:47 +08:00
Nick Fisher
8536dfae01 add ignore parameter for Gizmo 2024-06-01 12:43:25 +08:00
Nick Fisher
5337269f83 add missing implementation methods for web/JS interop viewer 2024-06-01 12:42:31 +08:00
Nick Fisher
3083730c2b fix web/JS extension defn of addBoneAnimation 2024-06-01 12:41:58 +08:00
Nick Fisher
2c588c9eaa add web/JS export implementation for addBoneAnimation 2024-06-01 12:41:15 +08:00
Nick Fisher
40187987a6 add index operator to web PointerPointer extension 2024-06-01 12:40:46 +08:00
Nick Fisher
41d8fd3e65 add implemenation methods for setting transforms/bone matrices 2024-06-01 12:20:03 +08:00
Nick Fisher
910af4d76c add interface methods for setting transforms/bone matrices 2024-06-01 12:19:04 +08:00
Nick Fisher
82f533e6b2 expose methods for getting bone names 2024-05-26 12:11:11 +08:00
Nick Fisher
26f0c4a5b4 add web support for light changes 2024-05-21 13:34:57 +08:00
Nick Fisher
139c191a8a update web bindings 2024-05-21 13:25:10 +08:00
Nick Fisher
d7edf105c4 addLight now accepts a LightType enum; added support for setting falloff, spot light radius, sun radius & halo 2024-05-21 13:23:23 +08:00
Nick Fisher
ece018b7e9 cleanup comments 2024-05-21 10:14:19 +08:00
Nick Fisher
e9b87a9a9a don't use asTypedList/setRange on Float32List as this doesn't work with WASM 2024-05-19 14:18:40 +08:00
Nick Fisher
467b80beb7 use locally scoped vars in js interop for easier debugging 2024-05-19 14:18:05 +08:00
Nick Fisher
4f9672cbbf throw error on web for setCameraModelMatrix 2024-05-19 14:17:24 +08:00
Nick Fisher
43b5cb040a add missing getter for float pointer 2024-05-19 14:16:30 +08:00
Nick Fisher
6280368f68 hide UtfPointer to avoid clashes 2024-05-17 14:51:58 +08:00
Nick Fisher
3a98bd53de web : mandate child entity for morph animation functions and implement some missing functions 2024-05-17 14:49:40 +08:00
Nick Fisher
a566851efe update generated bindings 2024-05-17 14:47:25 +08:00
Nick Fisher
9568ff2c4e add Float32List asTypedList extension 2024-05-17 14:44:07 +08:00
Nick Fisher
ca35b310eb mandate passing childEntity to morph target functions 2024-05-17 14:43:47 +08:00
Nick Fisher
b465553f04 make registerEntity public on scene and mandate passing childEntity to morph target functions 2024-05-17 14:42:28 +08:00
Nick Fisher
a507f789f1 clean up 2024-05-16 00:16:23 +08:00
Nick Fisher
582557353c use Dart bool where possible in web interop 2024-05-16 00:15:55 +08:00
Nick Fisher
ea4c31ecca use Dart bool where possible in web interop 2024-05-16 00:14:50 +08:00
Nick Fisher
5fd0fc60bf web compatibility work 2024-05-15 22:29:56 +08:00
Nick Fisher
85f129d435 compatibility shims for web 2024-05-11 22:38:28 +08:00
Nick Fisher
2c6e953b4b fix compatibility imports 2024-05-11 10:16:13 +08:00
Nick Fisher
19818a66fd separate into native/web conditional imports for compatibility 2024-05-11 10:12:21 +08:00
Nick Fisher
dd5cd812f0 add option to wait for animation to complete 2024-05-09 13:39:37 +08:00
Nick Fisher
f0058d4009 rename gizmo translation args 2024-05-09 13:39:18 +08:00
Nick Fisher
2c9a3bf807 update generated bindings 2024-05-09 13:35:14 +08:00
Nick Fisher
8267a0c5f8 fix 2024-04-30 15:48:50 +08:00
Nick Fisher
14b0b674c5 fix iOS 2024-04-30 14:14:54 +08:00
Nick Fisher
8f9e309c34 initial work to split into dart_filament and flutter_filament 2024-04-30 12:07:26 +08:00