Site icon ProVideo Coalition

Attach Splines To Animated Objects

Attach Splines To Animated Objects
Learn how to attach splines to animated objects, and alembics.

Splines

This article is slightly different than my usual format, as I will be presenting two tutorials on splines. One video will show splines being used more in a visual effects based shot. The other will show how to attach splines to alembics specifically.

Some Backstory

Back in 2018 I worked on a TV miniseries for about three months and I actually went back to my roots doing motion tracking, building shot templates for said tracks, particle/smoke FX, crowd replication, and a variety of other visual effects, even a little compositing. All in all I touched about ninety shots total in this series.

This type of work I don’t normally do these days as I have transitioned over to 3D volumetric and particle FX about four years ago. Every so often however, I will get a call from Dennis Shin to do such work. Dennis is currently VFX supervising at Bemo in Los Angeles, CA. He’s a long time friend of mine, and I enjoy working with him very much on these types of projects. We both have a strong understanding of our skill sets and communicate very well. I respect and trust this man.

C4D and Splines

Along the way Dennis presented two shots in this miniseries that needed something unique. I’ve not dealt with creating a fully digital hospital feeding tube before, so it was fun challenge for me.

So for this one particular effect I had to build a feeding tube that had to properly slide. One actress playing a nurse was pantomiming the action of pushing the tube into another actress’s mouth. The other actress was playing an unconscious patient. A physical prop tube was held in place during the filming, but of course wasn’t actually moving into the mouth. This prop had to be removed from the scene, of which another company was tasked with, and I had to mimic the look and feel of the prop digitally. I was tasked with the build, animation, render, and composite.

I knew I was going to use a spline to create the tube itself, but had to troubleshoot getting it to feel like it was moving forward as the nurse pushes it into the patients mouth. In this tutorial I’ll show you how I used animated nulls, connected individual spline points to those nulls, and how I created the final render material in Redshift3D.

Attach Splines To Animated Objects Tutorial

Alembic Hurdles

Another use case I have run into before when attaching splines or even just accessing geometry point data in general is with Alembics. For those unfamiliar with the Alembic format you can read more details on it here. Basically it’s an open framework that allows you to bake 3D animated geometry. This format is fairly universal, so you can send an animation from one 3D application to another easily without worry of needing the original tool set or plugins that created the 3D animation.

Depending on the 3D application you are using, you can also save other data for the geometry with the Alembic. You can save stuff like point or polygon selections, vertex colors, and vertex transforms. When using Cinema4D you can read this information if you choose them upon importing the Alembic. What becomes a bit confusing though is accessing the polygon points or the polygons themselves. Cinema4D does not immediately make these easy to view or select. There are workarounds though.

In this alternate tutorial I’m gonna show you how to import and attach splines to an animated Alembic file. Accessing the geometry mesh points or polygons of an Alembic in Cinema4D is not obvious, but it is easy.

Attach Splines To Alembics Tutorial

Exit mobile version