pyntcloud icon indicating copy to clipboard operation
pyntcloud copied to clipboard

There seems to be a limitation of the angel that we can rotate the point cloud.

Open ethanjyx opened this issue 6 years ago • 1 comments

Describe the bug There seems to be a limitation of the angel that we can rotate the point cloud.

To Reproduce Steps to reproduce the behavior:

  1. Render any point cloud.
  2. Try to rotate it freely, by dragging the mouse up and down.
  3. There is a limitation of how much you can rotate upwards.

Expected behavior I would expect I can endless drag upwards to keep rotating the item.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser (if necessary) chrome

Additional context Working in a jupyter notebook.

ethanjyx avatar Apr 01 '19 22:04 ethanjyx

Hola @ethanjyx !

It is true that there is a limitation and it is given by three.js default arguments https://threejs.org/docs/#examples/controls/OrbitControls

Support for updating this arguments should be added to:

https://github.com/daavoo/pyntcloud/blob/master/pyntcloud/plot/pythreejs_backend.py#L56

Contributions are wellcome

daavoo avatar Jun 18 '19 05:06 daavoo