icosa-foundation / icosa-gallery

Icosa Gallery is a 3D model hosting solution, intended as a replacement for Google's Poly
https://icosa.gallery
5 stars 0 forks source link

Store camera paths in GLTF and allow them to be used in the gallery #13

Open andybak opened 4 weeks ago

mikeskydev commented 4 weeks ago

Is this a new extension? we can use the ICOSA_ prefix if so

andybak commented 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.

mikeskydev commented 4 weeks ago

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.

andybak commented 2 weeks ago

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.