CINEVERSITY

    Maxon Logo
    • Login
    • Search
    • Recent
    • Popular
    • Users
    • Groups

    Cloth glitch on procedural mesh

    Question & Answers
    2
    6
    33
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reading-card last edited by Dr. Sassi

      Hi, I am trying to apply cloth to a procedural mesh. The mesh merges a face mesh from "Moves by Maxon" with a Loft. In order to let the loft's edge points have the same position as the face's edge points for a exact weld, I used a edge cloner or the "edge to spline" plugin. The points are welding correctly (a subdivision object or smoothing creates a smooth even mesh).

      When applying a cloth tag, the mesh shows constant glitches. It seems like the mesh topology would constantly change. Maybe the procedural edge points causing a problem, although if it's point ID's would change, the loft and and welding would change too (not only the cloth simulation). I tried many approaches (using morph, scene nodes, etc.) Nothing works. Thanks for any suggestions!

      I am also trying to attach a sample scene but the website states an error.
      [Cloth glitch on procedural mesh 01.zip]error

      1 Reply Last reply Reply Quote
      • R
        reading-card last edited by

        sample scene download link: https://www.dropbox.com/scl/fi/n4ek69jut3s95gozt1ro2/Cloth-glitch-on-procedural-mesh-01.zip?rlkey=dadewn8jts9zydrteb4364j3o&dl=0

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Dr. Sassi

          Hi reading-card,

          Thanks for updating the file. Zip isn't working by default here, safety/IT-wise. Files in C4D format up to 1MB are direct upload-able.
          Dropbox is perfect (so is WeTransfer, Google, Adobe, and Apple cloud services). Please upload uncompressed, if needed again. Thank you.

          Here is your file back, not considered the final version, but to show the problems. The face border is moving, the Cloner has to prep the result (MG Baking did not improve the results), the Loft Generator builds the Geometry, which is then again built in the Connector, and again In the SDS, while PLA is moving the face, and the Cloth is then to move everything, except for the Vertex map data.

          I have gotten to the point of no Mesh-Chaos.

          Here is the file:
          https://projectfiles.maxon.net/Cineversity_Forum_Support/2026_PROJECTS_DRS/20260102_CV4_2026_drs_26_CAcl_01.c4d.zip

          The question is, do you set up a Pose morph for the Face from the Moves by Maxon? Just to get the full picture.

          My impression is that I need to find a different approach. Example:
          https://projectfiles.maxon.net/Cineversity_Forum_Support/2026_PROJECTS_DRS/20260102_CV4_2026_drs_26_CAcl_11.c4d.zip
          I extended the Face as needed first, harvested some expressions, to added them as Target to the PoseMorphs. The point mode in the PoseMorph needs an on and off switch, which erases all point data, but not the morph target animation (sliders), but then it works. The vibrate tag is only there to trigger some motion for Cloth.

          I will have a look in the morning to it.

          All the best

          Dr. Sassi Sassmannshausen Ph.D.
          Senior Trainer, Maxon Master Trainer, L&D - Strategist
          Cinema 4D mentor since 2004, Member of VES, DCS.

          1 Reply Last reply Reply Quote
          • R
            reading-card last edited by

            Thank you for the prompt reply.
            Had a look at your scenes and both bypasses the essential part: procedurally connecting two (deformed/animated) meshes at their edge points who fit seamless together and add additional effects to it like cloth simulations. This approach preserve a valuable flexibility during the creation process and I am wondering if C4D is capable of that. While the points/UVs remain consistent, it seems the "Mesh-Chaos" is caused by hidden inconsistent mesh interpretations. Would be incredible useful to find a solution for that.

            1 Reply Last reply Reply Quote
            • Dr. Sassi
              Dr. Sassi last edited by Dr. Sassi

              Thank you very much for the reply, reading-card,

              The problem with the Connect Object, and too many influences.
              There are many forces pulling at the same time. The PLA defines the face, but partially the Cloth is contributing to it, and Welding might not always lead to 100% welding, which means the point amount changes. This is not working for the algorithm.
              I searched for another way. I will not list the explorations of the past hours, but share what works.

              My suggestion
              Take the Face with the PLA animation.
              Select the edge loop that marks the end of the “mask”. Extrude the edge by just 0.1cm, create an Edge Selection Tag, and extrude it again, and after deselecting the Edge Selection Tag, create a new one. Name both differently. (Perhaps later, some more. For now, I would like to focus on the workflow.)

              Double-click on the first Edge Selection tag to activate its selection. Shift key down (hold) and click on the Point Selection. Then go to Main Menu Character> Create Cluster.
              Repeat this for the second edge (Points, Cluster).

              In the Cluster Object> Object> Offset, set the offset where the Edge should be in space.

              Note that the S.Z in negative flattens the profile, while S.X and S.Y in positive scales it.

              Create now from the original Points of the face mask a Vertex Weight Tag, name it wisely, this is for the Cloth.

              Set up Cloth (to the Polygon object Face Mask), as you need it, and use the Vertex map as before, in the Mix Animation Tab.

              Apply the Subdivision Surface on top if you like.

              The setup is smaller, in my opinion, easier to handle, and can be adjusted with the Cluster parameter.

              Example
              https://projectfiles.maxon.net/Cineversity_Forum_Support/2026_PROJECTS_DRS/20260102_CV4_2026_drs_26_CAec_01-02.zip

              Screenshot 2026-01-02 at 2.33.07 PM.jpg

              One point, set the Attribute>Scene> Simulation> Scale to the size the object has. 100cm is too larger for this.

              Please let me know if that works for your project

              Cheers

              Dr. Sassi Sassmannshausen Ph.D.
              Senior Trainer, Maxon Master Trainer, L&D - Strategist
              Cinema 4D mentor since 2004, Member of VES, DCS.

              1 Reply Last reply Reply Quote
              • R
                reading-card last edited by

                Thank you for your suggestion. I am looking for a none destructive, procedural solution as the face and the loft will change in future. In the original scene, the actual Moves by Maxon face mesh is used and will be replaced with further face captures. I just baked it to simply the scene. Also, the design of the loft extrusion needs to remain procedural during the creative process to test the behavior of different loft shapes along with the cloth simulating. Thus, the procedural welding is crucial.

                I have tested the welding intensively by adding a Smooth Deformer and Subdivision Surface to the procedurally welded mesh. If points would not be welded or wrongly welded, it would cause already visible glitches, holes or or hard edges. So it seems the problem is somewhere else...

                1 Reply Last reply Reply Quote
                • First post
                  Last post