Closed ShapingView closed 3 months ago
Hi @ShapingView I think the coordinates given to camera attributes correspond to the scene domain, ie (0, 0, 0)
is always the center of the domain. Don't know if it's possible to change this so that it refers to data coordinates instead...
Thanks for the response, @emmanuelle Is there a way to translate the camera attributes from the data domain into the scene domain parameters? If so, that would at least be a workaround.
@ShapingView it is not possible at the moment, sorry. There is an open issue related to this, see https://github.com/plotly/plotly.js/issues/579
I also would be very interested in this feature or at least a way of figuring out the mapping between scene coordinates and data coordinates. Is there an affine or projection matrix somewhere?
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson
Hello everyone,
I frequently have the issue with not being able to properly set the 3D camera parameters.
I don't see how the 3D camera setting parameters can be used to set the center or the eye on a specific location in the plotted 3D coordinate system.
Here comes a simple example:
The resulting plot looks like this:
The view is obviously centered somewhere in the middle between the point clouds, and the distance z=3 in the eye parameter does not correspond to the 3D graph distance as well (its more like 20 or 30).
Hope you guys can help me out here, since I did not find any way to work around this.