Position of sphere updated based on camera position/pan/rotation
Ältere Kommentare anzeigen
Hi,
I have a gui, where I want to plot a sphere whose position gets updated based on the camera properties.Basically, if the camera rotates, the sphere all rotates, so all movement is mirrored.
I have code which extracts the cam Position, cam Target, cam ViewAngle, camViewVector, cam RightVector and cam UpVector.
Does anyone have an idea on an efficient way this can be done?
Thanks, Rheeda
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Camera Views finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!