2
$\begingroup$

I'm a newbie here but willing to learn.

I have 4 shapes that make 1 flag. I've "compound path" in illustrator and exported it to SVG. The flag with the wind added on it does not hold the 4 shapes all together.

screenshot

Blend file: http://www.makconcept.com/temp/4shape-flag.blend

$\endgroup$
8
  • $\begingroup$ Do you want the flag to have 'Missing' (transparent) areas, or is it supposed to be contiguous? $\endgroup$
    – Robin Betts
    Commented Jul 12, 2021 at 21:39
  • $\begingroup$ Thanks Robin for writing! I've tried the continuous flag.. with a white background.... don't like it... I really want the missing transparency to be as is... but waving like 1 real full flag :)... can this be done? $\endgroup$
    – Sandra
    Commented Jul 12, 2021 at 21:58
  • 2
    $\begingroup$ Hello and welcome. While files, images, and external videos or links may be helpful additions they should not be the only way to obtain information about your issue. Don't make understanding your question rely on downloading a file, watching a video or visiting an external site. Use the builtin tools to upload images or gifs, along with thoroughly explaining the problem in written form so it can be indexed and searched for thus helping future visitors with similar issues. $\endgroup$ Commented Jul 12, 2021 at 22:10
  • $\begingroup$ Thanks Duarte :) $\endgroup$
    – Sandra
    Commented Jul 12, 2021 at 22:11
  • $\begingroup$ @Sandra Did you read everything Duarte Farrajota Ramos wrote? Not just the first sentence, right? ;-) What about an image? A screenshot? Maybe add it right to your question next time for everyone to see? hint hint hint $\endgroup$
    – Blunder
    Commented Jul 13, 2021 at 1:32

1 Answer 1

2
$\begingroup$

Unless you have a special reason for islands of geometry, it would be much simpler to use a texture, to mask transparency.

  • The cloth simulator is a simulator. Give it 4 pieces of cloth, and they will behave as 4 pieces of cloth. So you have to tell the simulator, somehow, you want the behaviour of a single rectangle.
  • The flag should be provided to the simulator ready to be deformed by forces, not in an already deformed state
  • The topology matters. The 'cloth' is modelled as (a fancy version of) point-masses at the vertices, connected by edges interpreted as springs. A nice even density of points connected by edges of about the same length will behave more like real-world fabric.

So it would be easier to make the flag an evenly subdivided plane of one material.

Either in your 2D graphics package, or Blender, create a transparency mask at the same aspect ratio as your flag (easiest in pure black and pure white), and save it as pixels:

enter image description here

In an orthogonal view, UV unwrap your plane with 'Project fron View > Bounds'.

Plug the texture into the alpha channel of the flag's material, for an EEVEE render. (You will have to set the material's Blend Mode to allow transparency.)

enter image description here

This should give you more flexibility with your simulation.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .