1
$\begingroup$

I have a PNG sequence of an animated 2D character waving. I'd like to put it in my blender scene like a cardboard cut out (so the scene treats it as a 3D object with a very small amount of depth). Basically it would be like if you had a cardboard cutout that can move around and the shape of the cutout coincides with the character's body movement (basically the shape of the "cardboard cutout" would exclude the alpha of the current PNG on each frame). This means the shape of the 3D object would change every frame and match the shape of the 2D character. Is there a way to do this that wouldn't be a huge headache? Let me know if there are any clarifications you need to form a better picture of what I'm going for here. Thanks in advance!

$\endgroup$
1
  • $\begingroup$ Can you share the 2d animation sequence? $\endgroup$ – Maulik Sharma Mar 30 at 5:39
0
$\begingroup$

When using the "Import Image as planes" function (Shift A in the 3D Window), there are options for using alpha, animating an image sequence and use an emitter or shadeless shader.

The 3D shape is not affected, but the result is a cardboard cutout.

The images of the sequence have to be named with the same base name and a progressive number (Object_001, Object_002, .......).

In the shader editor you will use the image texture node to set the duration and the time offset of the animation.

If combined with grease pencil objects the material has to be set as "Alpha clip" in order to work in Eevee, to avoid uncorrect Z depth.

enter image description here

$\endgroup$
0
$\begingroup$

If you need your cutout to have thickness, and you don't have too many frames, you could probably do it manually in the following way:

  1. Load each png into inkscape
  2. use the fill tool on the transparent area, this will give you the contour as vector line
  3. remove anything but the contour of the image
  4. save as svg
  5. load svg into blender as curve
  6. convert to mesh
  7. extrude
  8. animate the visibility of each frame, so that it is shown in the appropriate moment only

Steps 5 to 8 could probably be automated with python rather easily

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.