RE: New OMR WebGL Render Engine
2019-10-21, 13:01 (This post was last modified: 2019-10-21, 13:02 by Lasse Deleuran.)
2019-10-21, 13:01 (This post was last modified: 2019-10-21, 13:02 by Lasse Deleuran.)
(2019-10-20, 1:37)Travis Cobbs Wrote: Sorry. I could have sworn that panning worked right in the past. I don't know anything about the JS tools you are using, so I don't know how to make it work right. Ideally you want to have it move the camera (in the opposite direction) instead of moving the model.
I agree with you wholeheartedly... and I found the solution:
controls.screenSpacePanning = true
This has been added to the latest push to master and now the panning moves the camera up/down instead of forward/backward. Zoom is still enabled, so you get full control of where the camera is.
This is standard in the other sample files I have made - it just seems to not be standard for stuff that uses perspective camera. Strange...