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
    • Recent
    • Tags
    • Users
    • Login

    Python or Xpresso drives light [SOLVED]

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 248 Views
    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 Offline
      Helper
      last edited by

      On 26/12/2014 at 11:34, xxxxxxxx wrote:

      Is there a way to drive a light's color with a the colors from a multi-shader? I have tried to use a data node, cloner object, iterator, with color output but it doesn't seem to work. Print to console also shows some weird results from the color port that don't look like RGB values. Can anyone help? Thanks.

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

        On 06/01/2015 at 01:13, xxxxxxxx wrote:

        Hi Swinn,

        not quite sure, what you are actually aiming at. But I played around a bit yesterday evening. If you only want to color a bunch of cloned lights with a multishader, you don't need any Xpresso nor Python. Please have a look at the attached scene, maybe this already helps.
        Multishader_Light.zip

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

          On 06/01/2015 at 03:16, xxxxxxxx wrote:

          Ahh!!! That's perfect! Exactly what I was looking for! Now I can tie the two multishaders together with Xpresso. Thank-you very much! 🙂

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