CINEVERSITY

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

Translate Objects to Edge of Other Objects

Question & Answers
experimental visual
2
14
813
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.
  • GregBollella
    GregBollella @Dr. Sassi last edited by Apr 24, 2023, 9:51 PM

    @Dr-Sassi Wow! I wouldn't have figured that out in a million years! Thanks.

    I was hoping to automate the initial creation of the individual objects or polygons as the work I have in mind would need many hundreds. Twenty-one was just for simplicity.

    I feel it may be time to dig into the c4d-Python interface. I am very familiar with coding and happen to just love Python, so, seems the time may be right. Can you give me some pointers to good tutorials and documentation?

    Thanks,
    Greg

    1 Reply Last reply Reply Quote
    • GregBollella
      GregBollella @Dr. Sassi last edited by Apr 24, 2023, 9:54 PM

      @Dr-Sassi
      Here's a link to the work that has inspired my effort.

      https://www.dropbox.com/s/6wbc1h5nhtuxkql/Inspirations%20%E2%80%A2%20Instagram.pdf?dl=0

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi Apr 25, 2023, 3:17 AM Apr 25, 2023, 3:12 AM

        Hi Greg,

        If you like to use Python, there is a specific forum.
        https://developers.maxon.net/?page_id=1114

        Besides that, you can produce those polygons in large numbers quickly with this idea:
        CV4_2023_drs_23_MOsm_01.c4d

        Other than that, going by the image, that would be an easy material to create.
        CV4_2023_drs_23_TXex_01.c4d

        A little work is needed to get a progressive UV set up. (If I read the image correctly.)
        Let me know if that is of any interest. Typically people run when UV(W) mapping 😉 (or XPresso) is mentioned even remotely.
        I have developed this "UV stuff of unorthodox projection" for some photo work of mine.
        So, when I saw that they do it with film, I was curious how to get it done quickly with my favorite tools.

        Enjoy

        login-to-view

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

        GregBollella 1 Reply Last reply Apr 25, 2023, 4:01 AM Reply Quote
        • GregBollella
          GregBollella @Dr. Sassi last edited by Apr 25, 2023, 4:01 AM

          @Dr-Sassi Here's an interesting technique to achieve the look. Got this idea from the inspirational piece. Not as much control if I wrote some python, but ...

          https://www.dropbox.com/s/w9w5i6wdaompciq/TextureStretchForCV-Apr23.c4d?dl=0

          I believe I did a save-with-assets so the texture should be included... I hope.

          Greg

          1 Reply Last reply Reply Quote
          • Dr. Sassi
            Dr. Sassi last edited by Apr 25, 2023, 5:37 AM

            Hi Greg,

            No texture included.

            If you have only a C4D file, then no texture is stored. The function you mentioned sets up a folder with the project file and a "tex" named folder with the content, eventually, other parts.

            The whole folder must be shared, requiring a DropBox, Apple, Adobe, Wetransfer, or Google cloud service. I do not touch other cloud services, sorry, but I had, at one point, set limits for many reasons. No exception.

            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.

            GregBollella 1 Reply Last reply Apr 25, 2023, 2:52 PM Reply Quote
            • GregBollella
              GregBollella @Dr. Sassi last edited by Apr 25, 2023, 2:52 PM

              @Dr-Sassi Thanks, I will remember this for next time 🙂

              Turns out that this technique doesn't animate well. So I need to re-think...

              Cheers,
              Greg

              1 Reply Last reply Reply Quote
              • Dr. Sassi
                Dr. Sassi last edited by Dr. Sassi Apr 25, 2023, 5:05 PM Apr 25, 2023, 5:04 PM

                Hi Greg,

                Please have a look here if Animation is your target.

                CV4_2023_drs_23_TXex_03.c4d

                It is the same file from above, just animated.

                Cheers

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

                GregBollella 1 Reply Last reply Apr 27, 2023, 4:56 PM Reply Quote
                • GregBollella
                  GregBollella @Dr. Sassi last edited by Apr 27, 2023, 4:56 PM

                  @Dr-Sassi Here's an interim scene using Nodes to create the effect. Looks pretty good but now I need to figure out how to assign a different RS shader to each piece. Suggestions appreciated, as always!!

                  https://www.dropbox.com/s/r3cgn24zzt89yom/LoopTesting-Apr23_00.c4d?dl=0

                  Greg

                  1 Reply Last reply Reply Quote
                  • Dr. Sassi
                    Dr. Sassi last edited by Dr. Sassi Apr 28, 2023, 6:21 AM Apr 27, 2023, 9:38 PM

                    Hi Greg,

                    Before you read though all of that; check this out, perhaps it explains all already
                    https://www.youtube.com/watch?v=2_Tlj00nnnY

                    Materials
                    https://www.youtube.com/live/J02AVM2U8r8?feature=share&t=3695

                    Please have a look here:
                    https://help.maxon.net/c4d/en-us/#html/Capsules.html

                    Typically I answer only with project files. I avoid answering from memory as things change or the memory is incomplete. Theoretical answers should be labeled as Brainstorming. Anyway, the past 17 years running this forum (CV1 to CV4 now) have shown me that any derivation from that is not keeping the quality high. I try to keep those things out.
                    Similar to that is guessing; not my thing; project files work, or they don't.

                    If I open the doors to Nodes, I must reply to any question, as we keep it equally here. Which I can't; let me explain:
                    The key point and target here is the creation of Capsules, which are a kind of Plugins. When I talk about "opening the doors," then I expect, in no time, that an avalanche of requests comes in to build a Capsule for everything, like a plugin ala cart order service. It can't be that this is something even a larger team can offer. I hope there will be a better option to learn it when the system is more defined.

                    Yes, that is an undefined space. I hope we as a team will find a solution to teaching and supporting this for Technical Directors.

                    With that long-winded intro (sorry about that, but I write in a forum), let me answer it in this way:

                    Instead of doing all in the Node editor, create a capsule that takes on a single segment, "Polygon Object", as a parent.
                    This object can have Unserdata in Integer format, which can be read by Redshift 3D.

                    With this, you can create a lot of Capsules that would work like, if I get this coding lingo correctly, object-based, or in simpler words, a callable function.

                    Below is an example that uses an integer provider from the user data and uses an UserData node to drive the Shader Selector, either as Node or Reference-based content.

                    Perhaps you can take it from there.
                    https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230426_CV4_2023_drs_23_RSms_01.zip
                    or here with Capsule, as an example:
                    https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2023_PROJECTS_DRS/20230427_CV4_2023_drs_23_RSms_11.zip

                    Enjoy

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

                    GregBollella 1 Reply Last reply Apr 29, 2023, 6:12 PM Reply Quote
                    • GregBollella
                      GregBollella @Dr. Sassi last edited by Apr 29, 2023, 6:12 PM

                      @Dr-Sassi Thanks for all the info.

                      Here is where I ended up. Completely parametric. Current set of colors is random and I think as the next step with this technique I'll put in more control of the colors.

                      https://www.dropbox.com/s/vctzoe9kr61i3o7/AbstractPastels60-Apr23_00.c4d?dl=0

                      Greg

                      1 Reply Last reply Reply Quote
                      • Dr. Sassi
                        Dr. Sassi last edited by Apr 29, 2023, 6:25 PM

                        Thanks for sharing, Greg,

                        I love your progress and ingenuity with it.

                        I look forward to your next iteration with the color refinement.

                        Enjoy your weekend

                        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
                          14/14
                          Last post