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
Elliot
735bd983a5
Fix/0.5-compatability-tests ( #293 )
...
* Working changes
* Fix window undefined bug by updating lib
* Fix TransformControlsImpl import
* Fix compatibility tests>simple debuggable examples
2022-09-13 15:37:39 -04:00
Andrew Prifer
494c60d0c3
Require Opt modifier for orbiting ( #286 )
2022-08-25 19:55:47 +02:00
Andrew Prifer
14603bccbd
Make transform controls only update the props that are being manipulated in the current mode of the transform controls ( #279 )
...
Only update the transform that is being manipulated in the current mode
2022-08-15 15:15:37 +00:00
Cole Lawrence
8bd37a28d6
r3f fix: Pinching creates more than one undo level in r3f P-202
...
See https://linear.app/theatre/issue/P-202/pinching-creates-more-than-one-undo-level-in-r3f-history-bug
2022-08-02 16:06:15 -04:00
Cole Lawrence
984a61347f
Use "Theatre.js" for name consistency
...
Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
2022-07-25 12:01:26 -04:00
Cole Lawrence
58f04685ad
r3f: Accept function for objRef like for setState
2022-07-25 12:01:26 -04:00
Cole Lawrence
a48155f8dc
r3f readme: Update with corrected API
2022-07-25 12:01:26 -04:00
Cole Lawrence
5ca3edead8
dev: Fix r3f tsconfig to include TSX files
2022-07-25 12:01:26 -04:00
Aria Minaei
a8176a36f7
0.5.0-rc.3
2022-07-12 18:37:04 +02:00
Aria Minaei
00a039a713
Fix exports
of @theatre/r3f
so it is consistently interpreted across bundlers
...
Before this commit, the exports field of `@theatre/r3f` was:
```
"exports": {
".": "./dist/index.js",
"./extension": "./dist/extension/index.js"
},
```
So users could import the extension from '@theatre/r3f/extension'
However, if the user’s bundler doesn’t support the exports field, they’d have to import from @theatre/r3f/dist/extension. There are 3 problems with this approach:
1. We have to ask users to try both paths and see which works for their bundler.
2. Users can’t copy code from each other if their bundler setups are different.
3. To make matters worse, if a user’s bundler supports exports, they can’t import from @theatre/r3f/dist/extension.
This is all confusing, so we're fixing it by exposing @theatrer/3f/dist/extension and not @theatre/r3f/extension. Uglier, but more consistent, and avoids the above 3 problems.
2022-07-12 17:49:09 +02:00
Aria Minaei
cbfc8861b5
Add comment about bundling deps in r3f/extension
2022-07-08 14:08:57 +02:00
Aria Minaei
0631d02d31
0.5.0-rc.2
2022-07-07 22:34:51 +02:00
Aria Minaei
8d977ed6ba
Don't minify @theatre/r3f/dist/extension.js
2022-07-07 22:34:51 +02:00
Andrew Prifer
d1ef903355
Enable hiding the reference window ( #241 )
2022-06-29 15:06:24 +00:00
Andrew Prifer
a3d9892841
Relax editable TS types to allow creating editable versions of all the JSX.IntrinsicElements elements. ( #237 )
...
Enable custom editable components through relaxed typescript types
2022-06-28 16:11:28 +00:00
Andrew Prifer
b98c5d86b6
Fix editable TS ( #235 )
...
Fix primitive not being supported by the typings
2022-06-28 15:06:55 +00:00
Elliot
2854881e17
Add support for passing scalars to vector props ( #228 )
...
Co-authored-by: Andrew Prifer <AndrewPrifer@users.noreply.github.com>
2022-06-26 15:47:20 +00:00
Andrew Prifer
0e724d631d
Reference window fixes and improvements ( #227 )
2022-06-18 17:37:09 +02:00
Andrew Prifer
262d7d61d3
r3f fixes ( #222 )
...
* Minify r3f extension bundle, because it is expected by the React dead code elimination check, since we bundle React in it
* Add children to props, since it is required by React 18 types
* Fix getting context attributes for gl in ReferenceWindow
* Don't bundle threejs in extension
* Fix editor not responding to scene initialization
* Fix SnapshotEditor css
2022-06-18 00:59:45 +00:00
Elliot
bebf281517
Fix process.env.version
in browser-bundles ( #206 )
...
* Fix `process.env.version` in browser-bundles
- also fix tsdoc warns in mjs files
Co-authored-by: Fülöp Kovács <kovacs.fulop@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
* Change to `process.env.THEATRE_VERSION`
Co-authored-by: Fülöp Kovács <kovacs.fulop@gmail.com>
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
2022-06-09 19:05:25 +02:00
Aria
9b4aa4b0e0
Make @theatre/r3f
play well with different vs of react,three,r3f #177
2022-05-27 21:59:51 +02:00
Andrew Prifer
0690a85ae2
UI improvements/sidebar pinning ( #175 )
...
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-25 20:42:01 +02:00
Aria
ec18687a98
Re-do bundling, compat tests, and extension API ( #174 )
2022-05-25 00:37:18 +02:00