Matlab axis position camera
2 views (last 30 days)
Show older comments
Hi, I have a problem in axis position in perspective vision of the camera. I don't understand where it place the axis origin. Could someone help me? Thank you
2 Comments
Jan
on 20 Jul 2017
What is your question? Please post some code which demonstrates your problem? Otherwise it would be required to rephrase the complete documentation of camorbit, zoom, axes, axis, camdolly, campan, camroll, camzoom, etc. Better spend the time to explain your specific problem.
Answers (1)
Will Nitsch
on 27 Jul 2017
You can find some useful diagrams/information on camera properties here: https://www.mathworks.com/help/matlab/visualize/low-level-camera-properties.html
The origin in MATLAB is at 0,0,0. So if you want to calculate new camera positions for something like rotating around the center of your data, your math that does so should include an offset for x, y and z that account for the position of the center of the data. This point is also the camera target.
0 Comments
See Also
Categories
Find more on Camera Views in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!