CINEVERSITY

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

    Converting mograph color shader to texture for obj

    Question & Answers
    2
    2
    126
    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.
    • A
      Alex_Manic last edited by

      Hi everyone,
      I fractured an object using Voronoi and applied a color shader to get random colors to fragments.
      I'm wondering how I can apply or bake mograph color shader to each individual object.
      I need to export obj with colors I've set up.
      Hope I've explained it clearly enough.

      Here is the main project and another one where I've connected the fractured objects.

      https://www.dropbox.com/scl/fo/uynql3ilym8g6tqtjld4q/AJ_oNh0TBFpXvQsUPHrqy3U?rlkey=zxkjmv486t1qonfz4yqkxq1lo&dl=0

      Appreciate the help.
      Thanks

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

        Hi Alex_Manic,

        Than k you very much for the file and for using Dropbox.

        This is a little bit tricky.

        Your linear cutting of the object allows for a straightforward workflow.
        First I set the gaps to something smaller (5cm instead of 10cm)

        Then I took the orientation of the related Matrix for a Standard Render Camera, so it faces the "cuts" perpendicular or, in other words, as straight stripes. This means the camera needs to be far away and has a long focal length. I rendered this out an Emmision only.
        I then used the standard camera with a standard material (meaning I was not in Redshift then) to set up a simple Camera Map.

        This allows me to project the image back to the object in any resolution.

        I reset the gap back to 10 cm, and in a Color Vertex Tag, I used the Color shader to use the Camera Map Material tag. This sets all points (Vertext) to the needed color.

        Back to Redshift, a material with a simple Vertex node, works now.

        My tip is to store it as Alembic.

        https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_PROJECTS_DRS/202400501_CV4_2024_drs_24_TXwc_01.zip

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