Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kaell

Pages: [1]
1
Python and Java API / Re: Animation to replicate image camera positions
« on: September 05, 2019, 09:30:30 PM »
Hi Alexey,

it seems keyframe transform has Y and Z axis inverted relative to camera transform, so that:
Code: [Select]
keyframe.transform = camera.transformhas to be modified to:
Code: [Select]
keyframe.transform = camera.transform * Metashape.Matrix().Diag([1, -1, -1, 1])
so that each keyframe looks in direction of model instead of opposite direction..... see https://www.agisoft.com/forum/index.php?topic=11146.0

Hi Paulo,

Can this script be used on Photoscan 1.4?

Pages: [1]