CINEVERSITY

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

    Polygon selection, invert procedurally

    Question & Answers
    capsules selection animation procedural cinema 4d
    2
    5
    16
    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 would like to invert/adjust a polygon selection procedurally. So I have a selection tag with the original polygon selection. Then add another selection tag, activate fields, drag the first tag in the list and remap invert. However, I am getting strange results. Even when the field layer is set to index, the selected polygons differ from the original. Example:
      https://www.dropbox.com/s/tgx5fsv7kcgie26/poly select - field problem 1.c4d?dl=0

      Many thanks for any help!

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

        Hi reading-card,

        Thanks for the file and for using DropBox.

        Please have a look here:
        https://www.dropbox.com/s/udom0dkibo6od68/CV4_2023_drs_23_FIip_01.c4d.zip?dl=0

        When I use the selection information and create a Matrix as intermediate storage, it works flawlessly.
        The Matrix is used as a Point object, and the Radius in the setting is crucial.

        I hope that helps.

        All the best

        Dr. Sassi Sassmannshausen Ph.D.
        Maxon Master Trainer
        Cinema 4D mentor since 2004, Member of VES, DCS.

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

          Thank you for having a look! The Matrix works only when the mesh topology is constant. Eg, when adding a Py-Extrude Modifier it gets scrambled up. Here is a more complete example, where I inverted the selection manually: https://www.dropbox.com/s/cagy1dvff5acjmn/poly select - field problem 3.c4d?dl=0
          However, I need the invert process stay procedurally to let the whole effect chain update automatically if the original selection changes. From how I understood the selection tag and field functionality, it should work, but it only works as expected with point selections... Thanks for any hint!

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

            Hi reading-card,

            The Polygon selection contains no geometry. Just a set of information. You can see that while the object is selected in the Structure Manager. Set the Mode to Polygon. To my knowledge, this is not reproducing geometry in the fields.

            I do not use the Py-Extrude anymore, as it is no longer supported, AFAIK, and I don't have it installed.

            Perhaps have a look here:
            https://www.dropbox.com/s/cabmtsw8oap3oqh/CV4_2023_drs_23_MOge_01.c4d.zip?dl=0

            I have used the Extrude Geometry Generator. You find those in the Asset Browser> Operators> Geometry Modifiers.

            Similar to that concept is the option to define Selections. (Those are found as well in the Operator offerings.
            Please have a look here (YouTube Link)
            https://youtu.be/3DQKbJ2xWgo

            More advanced and that typically needs training that I can give here in the forum is the Node Editor:
            https://www.cineversity.com/vidplaylist/scene_nodes_-technology_preview/scene_nodes-_technology_preview_introduction_component_selections
            Here, the selection can be set in the pipeline and then done. In your example, the selection of the objects leads to a change in the base information.

            All the best

            Dr. Sassi Sassmannshausen Ph.D.
            Maxon Master Trainer
            Cinema 4D mentor since 2004, Member of VES, DCS.

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

              P.S.: Here is a file that provides some ideas.

              Selected some polygons, then update the Polygon Selection tag on the Plane.
              https://www.dropbox.com/s/vw73i4fyg5oiuhv/CV4_2023_drs_23_MOge_11.c4d.zip?dl=0

              Please note that the sequence of the objects is crucial.

              Dr. Sassi Sassmannshausen Ph.D.
              Maxon Master Trainer
              Cinema 4D mentor since 2004, Member of VES, DCS.

              1 Reply Last reply Reply Quote
              • First post
                Last post