Posts tagged #C4D

C4D - Select every other point in a spline

I've just received a request for a way to select every other point on a spline in C4D. Here's my way of doing it. The script can be found on the downloads page. Here's the code with comments:

import c4d

def main():

    op = doc.GetActiveObject() # Get the active object
    if not op: return False #If nothing is active, end the script
    #If the selected object is not a spline, end the script
    if not type(op) != c4d.Ospline: return False 

    #Get the selection object which the object uses to manage what is and isnt selected
    sel = op.GetPointS() 
    sel.DeselectAll()    #Deselect everything to begin with

    cnt = op.GetPointCount() #Get the number of points in the object
    for i in xrange(cnt):    #Loop through the point IDs
        if i%2 == 0: sel.Select(i) #If the number is odd, select the point
        #Change i%2 == 1 for selecting even numbers 
        #Change i%3 == 0 for selecting every third pont etc
    c4d.EventAdd() #Update the scene

if __name__=='__main__':
Posted on May 6, 2017 .

Resonate 2015 - Bare Conductive workshop

The Resonate festival in Belgrade was amazing as always. Top inspirational talks, hands on workshops and some fun parties.

I was taking part in the Bare Conductive workshop, messing around with an awesome bit of hardware, the Touch Board with conductive paint.

Cut a long story short, we ended up controlling a spaceship (in Cinema 4D world) with a conductive ink potato and an actual banana.

Here's what it looked like:

Controlling C4D spaceship with a banana

Controlling C4D spaceship with a banana


Posted on April 26, 2015 .

MAXON - Shard Lights story

MAXON have just published a story on the Jason Bruges Studio - Shard Lights project. I've been working very closely on this project and have been telling Maxon about how we used Cinema 4D to shape this installation.

You can read the story here: MAXON - Shard Lights

This isn't the first story I've worked on with MAXON. You can find some coverage of the Jason Bruges Studio project -  Aerial Dynamics which has some interesting uses of C4D too. 

You can find that on here: MAXON - Aerial Dynamics

Posted on April 13, 2015 .

Variable cloning between two splines

I'm working on a completely parametric model for a project at the moment, which updates all of the components when the parameters are changed. This includes distribution, count and even structure.

Here's a how the distribution works:


Posted on April 10, 2015 .

Dichroic Blossom - Visualisation & Prototyping in openframeworks

Dichroic Blossom - A Jason Bruges Studio project:

This video shows my openframeworks prototype for how the wall might behave. Here I textured a photo from the real world prototype to each possible position in the virtual grid and mapped it accordingly. The mouse can be used to trigger branching or the data can be imported live from the Cinema 4D setup. The real world prototype is mapped to a section of the virtual grid and the values are send via DMX.

Posted on March 12, 2015 .