First, I would like to thank you for this useful library!
One improvement I would love to see would be some more options for camera controls. In particular, I feel it would be nice to disable camera roll in some circumstances (and keep the z-axis pointing upwards).
I've managed to patch in OrbitControls which I took from this file in three.js (demo). It works well so I was just wondering if there are any plans to support OrbitControls (or something similar) in future?
Alternatively, I would be happy to submit a pull request adding an option to useOrbitControls to elegans.
Edit: I see there was a previous pull request regarding camera controls but I don't think it was addressing quite the same issue.
First, I would like to thank you for this useful library!
One improvement I would love to see would be some more options for camera controls. In particular, I feel it would be nice to disable camera roll in some circumstances (and keep the z-axis pointing upwards).
I've managed to patch in
OrbitControls
which I took from this file in three.js (demo). It works well so I was just wondering if there are any plans to supportOrbitControls
(or something similar) in future?Alternatively, I would be happy to submit a pull request adding an option to use
OrbitControls
to elegans.Edit: I see there was a previous pull request regarding camera controls but I don't think it was addressing quite the same issue.