CINEVERSITY

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

    Texturing ropes of different lenghts: How to avoid stretching when sweeping splines?

    Question & Answers
    2
    3
    38
    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.
    • G
      glass-force last edited by glass-force

      I want to create a design of a stitched yarn. I drew the design with splines, and then used a Sweep to give them thickness. When I apply my yarn texture it stretches the texture depending on the length of the spline. I want the texture to maintain its aspect ratio and repeat to fill the length.
      I tried to rebuild the splines with MoSpline to have vertexes at equal intervals but that doesn't seem to solve the issue. How can I have a scene of many different 'ropes' of differing lenghts without the texture stretching? thank you.

      FILE: yarn_01.c4d

      01539e85-108a-4d0e-a008-321cabee377e-image.png
      8d48f864-66d1-4aae-9a70-712227ffc285-image.png
      c133c34b-8dd0-4af8-b5a9-df588f890fa8-image.png

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

        Hi glass-force,

        Thank you so much for the file and the preview of your work. Which surely avoided some dead-end suggestions, without that information.

        You were already heading in the right direction.

        The MoSpline allows resetting the Vertex Points of a Spline, like every 2cm.
        This can be used directly or provided to a "Destination Spline".

        That Spline can be used in the Matrix Scatter or RS Render Tag.
        While the Spline produces vertices, the Matrix needs to create "matrix-points" on the Vertex.

        This allows rendering a single element (very similar to MoGraph instances) very quickly, even with a relatively large number of such elements.

        I used a capsule here, as the rounded ends allow a specific bend of the Spline without showing up as a single element. Depending on your eventual "CU" (close-up), this needs more or less attention, i.e., size-wise (See yellow markings in the image).

        CV4_2026_drs_25_RSvt_01.c4d

        Screenshot 2025-10-31 at 1.43.20 PM.jpg

        Edit: Please note that the "Close Spline" of the top in the list Spline will decide for all, hence the "Flower" sets that for the Line, and doubles the "clones/particles".

        I hope that helps, as the UV Texel system should take care of scale consistency, but it does not for the procedural UV maps it produces. A reason for that is surely that Splines can be animated and have a changing number of segments in a resulting Sweep, for example. For a single SplineSweep that could be solved with XPresso, but I'm not sure if that is a workable way for multiple-segment Splines with varying lengths.

        Let me know if there are any questions.

        Enjoy your project

        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
        • Dr. Sassi
          Dr. Sassi last edited by Dr. Sassi

          P.S.: If you need more details, here is a mini model to be used as an object-particle in the RS Render tag.

          CV4_2026_drs_25_RSvt_11.c4d

          Screenshot 2025-10-31 at 8.25.33 PM.jpg

          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
          • First post
            Last post