Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Colorizing individual clones

    SDK Help
    0
    3
    228
    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.
    • H
      Helper
      last edited by

      On 25/03/2013 at 03:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   14 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,

      this is a bit strange task and unfortunately I have not much time to solve it, so I hope, someone here has an idea.

      I have a field of clones, generated by my object plugin using GVO (see my previous post). The task is to colorize single clone objects depending on some calculations. Using SetColorProperties works well for the editor view, but I need a solution, that also works when rendering.

      It would be the best, if it could be integrated in the object plugin, rather than making a separate shader plugin. Any ideas?

      Thanks in advance,

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 25/03/2013 at 09:03, xxxxxxxx wrote:

        Just set the usecolor mode in the ObjectColorProperties to "On". Then it should also render.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 26/03/2013 at 14:34, xxxxxxxx wrote:

          Thanks, but that doesn't work for objects, that have a material attached. So now I use GetClone() to make copies of the original object, go recursive through their children and delete all texture tags. The clones that have to be colored, get these objects as master.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post