The transform is linear, but it’s from two points between which it is desired to be rotated in transition, but it moves in a straight line across the model while adjusting the camera angle. This is the special case where the camera up vector is exactly for the start and end frame. The hopping up and down is indicative of a non-linear transform … note that if you place the camera in the X/Y plane (or otherwise orient it horizontally), the animation doesn’t hop up and down at all. Interpolating from one scene to another should be a simple linear transformation between the initial camera location and orientation vector to the next location and orientation. The hopping up and back down during the scene transitions has always been a source of annoyance for me, but I’ve accepted it and moved on. I then export the animation and upload it to YouTube where I add one of their inane (but free) audio tracks. Most of my SketchUp “videos” involve orbiting around my model and creating scenes. This makes the camera appear to hop from scene to scene. The native animation loop slightly increases the camera position’s z value, peaking mid-way through the transition. Running this code in the Ruby Console … mod = Sketchup::active_model The most important to prevent “the jumpiing” would be the camera up vector. The camera target points and up vectors differ for all scene page cameras.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |