Open andybak opened 4 weeks ago
I haven't really started planning an approach but I don't see any reason this needs an extension. We could probably do it with regular gltf animation keys.
I am tempted to do an initial quick implementation using scene level extras just to get something working. With the "legacy" gltf format we currently use for uploading to Icosa - there's not much point in spending time finessing it. We'll eventually switch over to the UnityGLTF exports but I need to update three-icosa to work with those.
Ah, moving a camera node? that makes sense. Animation pointer extension in UnityGLTF can give us the camera fov zoom as an animation property too.
With some help from @hybridherbst I think I've cracked this. Got some bugs to iron out but I am now creating GLTF keyframes from our camera path knots.
Is this a new extension? we can use the
ICOSA_
prefix if so