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: 423 enable on demand render mode usage #436

Merged
merged 42 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d7eb9fe
chore(deps): update deps to latest
alvarosabu Jun 6, 2024
37e6948
chore: on demand invalidation composable with prop change detection
alvarosabu Jun 6, 2024
e9f23e1
feat: on-demand orbit-controls
alvarosabu Jun 6, 2024
c17a7ab
feat: on-demand camera controls
alvarosabu Jun 6, 2024
f7ce6ff
feat: invalidate also on autoRotate
alvarosabu Jun 6, 2024
ff4e850
feat: on-demand map controls and refactor
alvarosabu Jun 6, 2024
385c1a1
feat: on-demand transform controls
alvarosabu Jun 6, 2024
928db6b
feat: on-demand keyboard controls
alvarosabu Jun 6, 2024
2c02b8b
feat: on-demand keybaord controls
alvarosabu Jun 6, 2024
e4c817e
chore: added demo suffix to control pages to avoid confusions
alvarosabu Jun 6, 2024
e6125ac
feat: on-demand pointer lock controls
alvarosabu Jun 6, 2024
543a29a
feat: on-demand scroll controls
alvarosabu Jun 6, 2024
c159dc2
feat: on-demand levioso
alvarosabu Jun 6, 2024
83503c5
feat: correct orbit controls auto rotate invalidation
alvarosabu Jun 6, 2024
232b869
feat: on-demand text3d
alvarosabu Jun 15, 2024
4369e3c
feat: on-demand mouse-parallax
alvarosabu Jun 15, 2024
75d563a
feat: on-demand fbo and size watcher refactor
alvarosabu Jun 15, 2024
7ddfdc3
chore(playground): refactor to use useLoop and sub components
alvarosabu Jun 15, 2024
aef0bf4
chore: remove unused import for lint fix
alvarosabu Jun 15, 2024
3bb4625
chore(playground): refactor lensflare demo to use useLoop
alvarosabu Jun 15, 2024
19db54b
feat: on-demand sampler
alvarosabu Jun 15, 2024
eb8b3a4
feat: on-demand invaldiation on reflector prop change
alvarosabu Jun 15, 2024
593f4a0
chore: added render activity graph and try to make on-demand work on …
alvarosabu Jun 17, 2024
a3d7f47
chore: renamed positional audio demo
alvarosabu Jun 17, 2024
fb4bddb
chore: on-demand smoke
alvarosabu Jun 17, 2024
fb665eb
feat: on-demand precipitation
alvarosabu Jun 17, 2024
74ee39f
feat: on-dermand stars
alvarosabu Jun 17, 2024
adc0ea8
feat: on-demand Environment
alvarosabu Jun 17, 2024
5f0fe94
feat: on-demand sky
alvarosabu Jun 17, 2024
806587c
feat: on-demand Ocean component
alvarosabu Jun 17, 2024
ee5f40d
chore: testing on-demand on fit
alvarosabu Jun 17, 2024
14b3bc3
feat: on-demand Wobble Material
alvarosabu Jun 17, 2024
4b2ce7c
feat: on-demand invalidation holographic material
alvarosabu Jun 21, 2024
0895163
feat: on-demand reflection material
alvarosabu Jun 21, 2024
262e0aa
feat: on-demand custom shader material
alvarosabu Jun 21, 2024
008897c
chore: rename bakeshadows demo
alvarosabu Jun 21, 2024
775addb
Merge branch 'v4' into feature/423-enable-on-demand-render-mode-usage
alvarosabu Jun 21, 2024
605d5f9
chore: misc route
alvarosabu Jun 29, 2024
c4998d9
Merge branch 'v4' into feature/423-enable-on-demand-render-mode-usage
alvarosabu Jul 14, 2024
91289e5
Merge branch 'v4' into feature/423-enable-on-demand-render-mode-usage
alvarosabu Jul 14, 2024
5e441bc
chore: ci, update action setup
alvarosabu Jul 14, 2024
8e0b18f
Merge branch 'v4' into feature/423-enable-on-demand-render-mode-usage
alvarosabu Jul 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: invalidate also on autoRotate
alvarosabu committed Jun 6, 2024
commit f7ce6ff4f3824171294d3bb09bf272c9e60c6046
2 changes: 2 additions & 0 deletions src/core/controls/OrbitControls.vue
Original file line number Diff line number Diff line change
@@ -313,6 +313,8 @@ const { onBeforeRender } = useLoop()
onBeforeRender(() => {
if (controlsRef.value && (enableDamping.value || autoRotate.value)) {
controlsRef.value.update()

invalidateOnDemand()
}
})