api icon indicating copy to clipboard operation
api copied to clipboard

Does `lookAt` track an object or is it a shortcut for a point?

Open azaroth42 opened this issue 1 year ago • 2 comments

If lookAt is interpreted as a shortcut to defining a point -- e.g. look at the centroid point of this model when the scene is built, regardless of whether the model is visible, hidden or has been moved completely -- or look at the model, regardless of where it happens to be if it has been moved, animated or whatever. Thus if you move the object and there's a lookAt that references it, does it track the movement or does it stay static?

azaroth42 avatar Jun 12 '24 16:06 azaroth42

Can the camera move and/or change focal length to ensure that the looked at thing is visible? Especially if the looked at thing is animated or otherwise dynamically transformed?

azaroth42 avatar Jun 12 '24 16:06 azaroth42

If the application of a content state modifies the Scene by moving a model, then a Camera that was looking at that model must update to lookAt the model's new centroid position. Transition behavior between the two states is undefined.

The state of animations within a Model that may be activated (by an activating annotation) is not available to IIIF so is left to the client.

Other properties of the camera do not change (unless the applied content state changes them).

tomcrane avatar Mar 17 '25 17:03 tomcrane