Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: V4 #420

Merged
merged 140 commits into from
Aug 20, 2024
Merged

feat: V4 #420

merged 140 commits into from
Aug 20, 2024

Conversation

JaimeTorrealba
Copy link
Member

No description provided.

andretchen0 and others added 30 commits January 11, 2024 22:31
andretchen0 and others added 14 commits July 24, 2024 07:26
* chore(deps): update deps to latest

* chore: on demand invalidation composable with prop change detection

* feat: on-demand orbit-controls

* feat: on-demand camera controls

* feat: invalidate also on autoRotate

* feat: on-demand map controls and refactor

* feat: on-demand transform controls

* feat: on-demand keyboard controls

* feat: on-demand keybaord controls

* chore: added demo suffix to control pages to avoid confusions

* feat: on-demand pointer lock controls

* feat: on-demand scroll controls

* feat: on-demand levioso

* feat: correct orbit controls auto rotate invalidation

* feat: on-demand text3d

* feat: on-demand mouse-parallax

* feat: on-demand fbo and size watcher refactor

* chore(playground): refactor to use useLoop and sub components

* chore: remove unused import for lint fix

* chore(playground): refactor lensflare demo to use useLoop

* feat: on-demand sampler

* feat: on-demand invaldiation on reflector prop change

* chore: added render activity graph and try to make on-demand work on AnimatedSprite

* chore: renamed positional audio demo

* chore: on-demand smoke

* feat: on-demand precipitation

* feat: on-dermand stars

* feat: on-demand Environment

* feat: on-demand sky

* feat: on-demand Ocean component

* chore: testing on-demand on fit

* feat: on-demand Wobble Material

* feat: on-demand invalidation holographic material

* feat: on-demand reflection material

* feat: on-demand custom shader material

* chore: rename bakeshadows demo

* chore: misc route

* chore: ci, update action setup

* chore: update Tres core

* fix: reimplement ContactShadows for v4 core

* docs: change link name

* fix(ContactShadows): add invalidate to updates

---------

Co-authored-by: alvarosabu <[email protected]>
* feat(Sparkles): invalidate on update

* chore: fix linter error

* refactor(Sparkles): remove renderMode predicate before invalidate
* chore: remove `useOnDemandInvalidation` on Levioso

* chore: remove composable `useOnDemandInvalidation`

* chore: remove composable from Ocean

* chore: remove composable on Precipitation

* chore: remove composable from sky

* chore: remove from Fit

* chore: remove from smoke

* chore: remove from orbit-controls

* chore: remove composable from Text3D

* chore: remove from mouse parallax

* chore: remove composable from Reflector

* chore: only needed fbo invalidation

* chore: remove composable from useSurfaceSampler

* chore: remove composable from all controls

* chore: add invalidation on loop

* chore: remove prop speed check on loop for Levioso

* chore: remove invalidateOnDemand on MapControls

* chore: remove `invalidateOnDemand` from Keyboard controls

* chore: add invalidate on fit method, remove watch props
This PR adds an `autoRender` flag to `FBOOptions`.

This flag allows consumers of `useFBO` who want to take control of when
and where to render the render target instead of always rendering it
with the default scene and camera.

Co-authored-by: Alvaro Saburido <[email protected]>
@alvarosabu alvarosabu marked this pull request as ready for review July 31, 2024 14:02
alvarosabu and others added 13 commits July 31, 2024 16:05
* fix: type assertion for props as params of `normalizeVectorFlexibleParam`

* fix: type assertion on camera and pointerlock controls

* refactor(BlurPass): fix TS errors

* refactor(SVG): fix TS errors

* refactor(Lensflare): fix TS errors

* refactor(Reflector): silence and explain TS error

* refactor(HolographicMaterial): add declaration for clock

* refactor(MeshWobbleMaterial): fix TS error

* fix(useProgress): remove extraneous, unused argument

* chore(types): fixed gradient type issue from core

* fix(types): controls types

* chore(types): fix loaders types

* chore(types): HTML

* chore(types): improve occlude type on HTML

* refactor(environment)!: properly type and return texture ref

BREAKING CHANGE: `useEnvironment` now returns a ref with the texture instead of an object { texture }

* chore(types): HTML, backdrop and Sparkles type issues

* chore(types): correct occlusion types without the refs

* fix(transform-controls): fps drops due prop watcher for invalidation

* chore: type issues on transform controls

---------

Co-authored-by: Peter <[email protected]>
* fix: remove explicit fallthrough attr attachment

* fix: remove infinite loop

* docs: move click from canvas to object

* docs: convert props table to HTML

* docs: rephrase
@alvarosabu alvarosabu merged commit 0cdd58e into main Aug 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

v4
4 participants