gkjohnson / three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.
https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html
MIT License
1.27k stars 125 forks source link

When the shape key changes, the canvas does not respond to the change. #653

Open Milesssssss opened 1 week ago

Milesssssss commented 1 week ago

When the shape key changes, the canvas does not respond to the change. Or shold i reset scene? Demo site: https://codepen.io/chengda-ma/pen/dyEZqPd

Platform:

gkjohnson commented 1 week ago

If you change anything that will modify geometry in the scene you need to call setScene, again. If it's still not working then it's possible that the caching mechanism isn't working correctly for morph target geometry at the moment.

Milesssssss commented 1 week ago
image

As the demo shows, it's still not working.