You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to improve the rendering performance of three-vrm on WebGPURenderer.
During my profiling, I found that models with morphs have much lesser GPU performance compared to the same model without morphs.
Reproduction steps
Load a GLTF model with morphs
Render
See the value renderer.info.render.timestamp
Code
constloader=newGLTFLoader();constgltf=awaitloader.loadAsync(url);// a model with morphsscene.add(gltf.scene);
Live example
Here is my fixture.
This loads the same model under 4 different finishes (without skins and morphs, with morphs, with skins, with both) and calculates the runtime CPU/GPU performance. Each model is rendered for 100 frames and does the same profiling for five sets.
On the "result" row of the textarea, the second column indicates the model name, the third is the mean CPU time, and the fourth is the mean GPU time.
I used renderer.info.render.timestamp to profile the GPU performance on WebGPU; I'm not sure how reliable this value is.
Description
I'm trying to improve the rendering performance of three-vrm on WebGPURenderer.
During my profiling, I found that models with morphs have much lesser GPU performance compared to the same model without morphs.
Reproduction steps
renderer.info.render.timestamp
Code
Live example
Here is my fixture.
This loads the same model under 4 different finishes (without skins and morphs, with morphs, with skins, with both) and calculates the runtime CPU/GPU performance. Each model is rendered for 100 frames and does the same profiling for five sets.
On the "result" row of the textarea, the second column indicates the model name, the third is the mean CPU time, and the fourth is the mean GPU time.
I used
renderer.info.render.timestamp
to profile the GPU performance on WebGPU; I'm not sure how reliable this value is.https://three-webgpu-profile-morphs.glitch.me/
https://glitch.com/edit/#!/three-webgpu-profile-morphs
Here is the result on my machine (Alienware x16 r1, Intel i9-13900HK, NVIDIA RTX 4070 Laptop):
Screenshots
No response
Version
r170
Device
Desktop
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered: