Commit graph

110 commits

Author SHA1 Message Date
Aria Minaei
e153c4cbbb WIP: Upgrade to THREE.r155: Remove the legacy/physical lighting distinction 2023-08-05 09:30:16 +02:00
Aria Minaei
487573424c WIP: Upgrade to THREE.r155 - Fix the bug with TransformControls
Prior to this, any change caused by TransformControls would cause the SnapshotEditor's frameloop to halt
2023-08-05 06:29:40 +02:00
Aria Minaei
872b2f741f WIP: Upgrade to THREE 155: Fix the double key error in r3f 2023-08-04 11:27:52 +02:00
Aria Minaei
3837e179bb WIP: Upgrade to THREE 155: Upgrade OrbitControls 2023-08-04 10:54:17 +02:00
Aria Minaei
7a5b1c744c Fix a bunch of react18 type errors 2023-08-03 21:25:45 +02:00
Aria Minaei
5387fda517 Use react18 in playground 2023-08-03 21:02:05 +02:00
Aria Minaei
f562d225c6 WIP: Upgrade to react 18
At this point, the studio and core work with react 18, but r3f doesn't.
2023-08-03 20:42:40 +02:00
Aria Minaei
46e58ca6d8 Pin to three 0.133 and add a visual regression test for it 2023-08-03 13:16:51 +02:00
Aria Minaei
e05b724742 0.6.3-dev.1 2023-08-03 11:32:15 +02:00
Aria Minaei
041627f7e4 Fix the dangling promises 2023-08-03 10:52:10 +02:00
Aria Minaei
1280de02d0 Fix React's DCE error in r3f
This fixes the react error that says "React is running in production mode, but dead code elimination has not been applied."
2023-08-01 17:47:17 +02:00
Aria Minaei
5a51cb0402 0.6.2 2023-07-24 19:23:35 +02:00
Colin Duffy
8b8d2bf431 fix(geometry): PlaneBufferGeometry deprecated, used PlaneGeometry 2023-07-16 22:23:01 +02:00
Aria Minaei
2052824aca 0.6.1 2023-05-12 19:28:23 +02:00
Aria Minaei
4d7373e1a9 Add support for typescript's bundle mode to @theatre/r3f 2023-05-12 19:13:52 +02:00
Aria Minaei
f3f6eaad86 0.6.1-dev.5 2023-03-08 12:26:33 +01:00
Aria Minaei
93fc53c45c 0.6.1-dev.4 2023-02-06 19:40:50 +01:00
Aria Minaei
e8ac6c77ea 0.6.1-dev.3 2023-02-03 13:00:32 +01:00
Aria Minaei
5c135a3cb9 0.6.1-dev.2 2023-02-01 16:15:02 +01:00
Aria Minaei
069c87fbcf 0.6.1-dev.1 2023-02-01 12:33:53 +01:00
Aria Minaei
24af219f76 0.6.0 2023-01-25 19:04:36 +01:00
Aria Minaei
4be16f36c1 0.6.0-rc.4 2023-01-25 17:54:52 +01:00
Aria Minaei
3d44575828 0.6.0-rc.3 2023-01-25 17:20:53 +01:00
Aria Minaei
33235e9cd7 0.6.0-rc.2 2023-01-24 18:47:10 +01:00
Aria Minaei
3e65a3eaa2 0.6.0-rc.1 2023-01-24 16:24:03 +01:00
Aria Minaei
ee357b341e 0.6.0-dev.6 2023-01-24 08:53:22 +01:00
Aria Minaei
43669313c7 0.6.0-dev.5 2023-01-23 23:21:28 +01:00
Aria Minaei
2b396a5295 0.6.0-dev.4 2023-01-16 13:53:56 +01:00
Aria
d649858529 Feature: Custom RAFDrivers (#374)
Co-authored-by: Pete Feltham <dev@felthy.com>
Co-authored-by: Andrew Prifer <andrew.prifer@gmail.com>
2023-01-14 15:01:09 +01:00
Aria Minaei
a24a149a52 Remove Derivation.tapImmediate()
This is now just an extra flag on `Derivation.onChange()`
2023-01-04 20:49:43 +01:00
Aria Minaei
45b548660c 0.6.0-dev.3 2023-01-04 20:35:56 +01:00
Aria Minaei
f6361e7905 0.6.0-dev.2 2023-01-02 22:34:50 +01:00
Aria Minaei
438a83d2d4 0.6.0-dev.1 2023-01-02 19:47:23 +01:00
Aria Minaei
c58bc694ee Fix: Re-render the panels when object identity change
This fixes the pesky "Argument 'der' in 'useDerivation(der)' should not change between renders."
2022-12-31 22:54:52 +01:00
Aria Minaei
95b329b02d 0.5.1 2022-12-31 10:54:27 +01:00
Aria Minaei
fcd3ab7ec5 0.5.1-rc.2 2022-12-07 10:24:50 +01:00
Aria Minaei
a9adc2640c 0.5.1-rc.1 2022-11-25 11:21:28 +01:00
Aria Minaei
a8a9b5ef05 Rename deleteObject() and related params
Since `sheet.deleteObject()` doesn't actually delete the values
of the props of that object, I decided to rename it to `detachObject()`.

Also, the param `override` sounded too similar to the concept of value overrides,
so I renamed it to `reconfigure`.
2022-11-10 16:23:15 +01:00
Andrew Prifer
43714fdf17
Notification improvements (#324) 2022-10-21 20:32:53 +00:00
Andrew Prifer
965d7085dc
Add runtime type checks to r3f (#323)
* Add better error/warning messages to r3f

* Fix notifications playground
2022-10-21 19:17:45 +00:00
Aria Minaei
ef5752cbd3 Add a playground for dynamic trees in r3f 2022-10-18 11:43:54 +02:00
Aria Minaei
a9c3c00153 Implement dynamic scene trees in r3f
This makes it possible to add/remove objects on the fly, do hot-module reloading, change object configs on the fly, and more.
2022-10-18 11:43:54 +02:00
Andrew Prifer
e708463377
Remove useless TS type (#318) 2022-10-17 14:13:23 +00:00
Andrew Prifer
29e036638b
Normalize theatre keys in r3f (#317)
Also remove a stray console log and make makeStoreKey make more sense.
2022-10-16 16:02:35 +00:00
Andrew Prifer
54ed4c3c41
Improve light support in theatre/r3f (#316)
Add color to all light types and add ambient and hemisphere lights
2022-10-14 13:43:53 +00:00
Andrew Prifer
6497bf2097
Add instant editable cameras to the r3f extension (#315)
Add spruced up editable orthographic/perspective camera
2022-10-13 18:14:53 +00:00
Andrew Prifer
3ec8c20fa6
Warn about (possibly) incorrect custom camera (#308)
Print a warning if people use e.perspectiveCamera or e.orthographicCamera
2022-10-06 14:22:39 +00:00
Aria Minaei
87acdbe9ea 0.5.0 2022-09-17 18:54:11 +02:00
Aria Minaei
c97377d868 0.5.0-rc.4 2022-09-17 18:54:11 +02:00
Andrew Prifer
8680f9d89e
Replace uniqueName with theatreKey (#285) 2022-09-14 08:36:49 -04:00