ZhUyU1997 / open-pose-editor

online 3d openpose editor for stable diffusion and controlnet
https://zhuyu1997.github.io/open-pose-editor/
MIT License
782 stars 192 forks source link

Show camera position and rotation parameters #56

Closed shirayu closed 1 year ago

ZhUyU1997 commented 1 year ago

OrbitControls will break the rotation of the camera after setting. So I revert it, wait for a better solution.

shirayu commented 1 year ago

I'm not sure if this is related to the problem, but it seems that Three.js internally uses quaternions to represent rotation, so we may need to update camera.quaternion instead of directly changing the value of camera.rotation.