Hi markmack,
Instead of checking the option "View as 360 degree panorama" from the plugins tab of the Frame Properties, you can execute the following VBScript code:
- Code: Select all
StartPanorama(AMPanoHorizontalAngle,AMPanoVerticalAngle,AMPanoAspectRatio)
where "AMPanoHorizontalAngle", "AMPanoVerticalAngle", and "AMPanoAspectRatio" are the same parameters as those that you usually specify in the Frame Properties.
I can't try it out right now because I am in travel and I am using AM in a virtual machine (3D is not allowed). However it should work fine.
Alternatively, you can retrieve the current viewing angle with the following code:
- Code: Select all
HorizontalAngle = Component("AMPano").Object.GetHorizontalCameraAngle
VerticalAngle = Component("AMPano").Object.GetVerticalCameraAngle
and you can set the viewing angle with the following code:
- Code: Select all
Component("AMPano").Object.SetHorizontalAngle HorizontalAngle
Component("AMPano").Object.SetVerticalAngle VerticalAngle
If you use global variables to remember the last frame (like in
this plugin) and to remember the last camera angle, it should do the trick.
To better understand how the panoramic plugin works, be sure to edit the plugin by clicking "Create/Modify Plugins", then selecting "AMPanoramaPlugin_v7_part1of4" and clicking "Edit Selected Plugin".
Regards,
GM-Support