Your first animation
In about ten minutes you will fly the camera through three saved views of your model and export the flight as an MP4. You need a Rhino model, SnowyPlover and ffmpeg (see Install).
1. Save the keyframes as Named Views
In Rhino, frame the model the way the animation should start and run NamedView › Save. Name it View 1. Move the camera, save View 2, then View 3. These are the keyframes the camera will fly through, in order.
Keep the same viewport projection (perspective or parallel) for all three views. Mixing them makes the camera jump.
2. Read the views into Grasshopper
Add a Panel, type the three names on separate lines, and connect it to the namedViews input of
Get Camera From Named Views. Its camera output now holds three cameras. If you change a Named View later, click Update on the component to read it again.
3. Interpolate between them
Add
Animate Keyframes and wire the cameras into cameras. Its t input decides where along the flight the camera is: 0 is View 1, 1 is View 3. Don't wire t straight from a source. Add a Number parameter, name it t, and wire it into t. This is the t hub: later you only have to change what feeds it.
Add
Apply Camera, wire camera into it, and click its button so it reads Active. From now on the Rhino viewport follows the camera.
4. Preview with Duration Counter
Add
Duration Counter and wire t_Counter into the hub. Set totalDuration to the length you want in seconds (try 6). Click Play: the counter runs from 0 to 1 in 6 seconds, and the viewport flies from View 1 to View 3 at the speed of the final video. Pause holds it, and Reset goes back to the start.
Two settings shape the flight:
- mode: right-click the component and pick Smooth for a curved path through the camera positions, or leave it Linear for straight segments. With Smooth,
curvature(0 to 3) controls how wide the curves swing. - durations: one weight per segment. With three views there are two segments;
1, 2spends twice as long on the second one.
The camPath and camFOV outputs preview the path and the view frame in Grasshopper, which helps when the camera does something unexpected. To study one moment, you can temporarily feed the hub from a Number Slider (0 to 1) instead.
5. Swap in View Capture Driver to export
When the preview looks right, replace the preview source with the exporter. Add
View Capture Driver and give it the same totalDuration as the counter, fps 30, and an empty folder such as D:\anim\shot01 as path.
- Disconnect Duration Counter from the hub. Only one source may feed it, otherwise the hub holds two values.
- Connect
master Timeof View Capture Driver to the hub. Nothing else in the definition changes. - Click Export Frames. The component steps t from 0 to 1 and saves one frame each time: 6 s × 30 fps = 180 frames. Click again to stop early.
To go back to previewing, reconnect Duration Counter and disconnect master Time. Keeping both components on the canvas means you only ever move that one wire.
Leave the Rhino window alone while it exports: the frames are captured from the viewport. Set width and height to render at a fixed size such as 1920 × 1080 whatever the size of the viewport.
6. Make the video
Add
FramesToVideo, connect the same folder to folder, and click Make Video. With the defaults you get D:\anim\shot01\keyframe.mp4: H.264 at 30 fps, which plays anywhere. The videoPath output gives the file once it is done.
If frameRate here does not match the fps you exported with, the video plays too fast or too slow. To make a GIF instead, use
FramesToGifs the same way.
Next
- Give the camera and the model their own timing with Event Timeline.
- Add a section cut or growing curves.
- Try other camera moves: orbit, dolly, swing to plan.