Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D color change on collision / proximity

  • color change on collision / proximity

    Posted by James Kowalski on December 28, 2015 at 6:56 pm

    Hey all, and happy holidays!

    I’m trying to build a rig that, at its core is a grid array of cubes. I’d like these cubes to change color based on collision and proximity of any object that animates through the array. The cubes should not only just change color, but also inherit the color of whatever object has made contact with the array.

    I’m trying to do this with just mograph tools, as I want this rig to accept anything I throw at it – dynamic objects, keyframed objects, keyframed materials, etc.

    If you’re curious, the end product will be a much larger scale, and will power a 7500 node LED installation. I’m trying to develop this method as a means of controlling, and interfacing with the installation.

    Attached is a file that is getting close, but I have yet to figure out how to inherit color from multiple objects.

    I’m effectively changing the color of the cubes based on the proximity of multiple objects using the shader effector with a proximal shader.

    9599_proofofconcept.c4d.zip

    Thanks for any help!!

    James Kowalski replied 10 years, 5 months ago 1 Member · 1 Reply
  • 1 Reply
  • James Kowalski

    December 30, 2015 at 6:29 pm

    Made some more progress on this, but I’ve hit another wall.

    So I’m using the shader effector with a proximal shader to colorize my array, very similar to what Chris Schmidt is doing here : https://vimeo.com/34832479 (12:30 mark) But I can’t figure out how to make the proximal recognize the internal space of the geometry. So instead of just effecting the clones where the edges and vertices of my proximal object are intersect (creating an outline), I want the clones inside the proximal object to be effected as well.

    Image attached for reference. Thanks again for any thoughts or input!

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy