Visual style experimentation
Combine Particle and Rail sop together to create a contrast effect.
This effect can be used for the expression of contrast concept from two sperated but liked parts.
Download : Toe
Month: April 2016
Easy way to make a metaball effect with TouchDesigner
Easy_Metaball_Effect
We can make a 2d metaball effect in TouchDesigner with Blur and LooKup Top.
Adding more filter tops afterward will make the visual more interesting.
Download Toe file
Tscript to Python in Touchdesigner
//Copy Sop
$PT : The Point Number of the Template-> me.inputPoint.index
$CY – The Number of Copies. -> me.copyIndex
$NCY – The Number of Copies -> me.copyTotal
< //Primative Sop &PR : Primitive number -> me.inputPrim.index
//Primitive Sop
$CEX, $CEY, $CEZ – The centroid of the primitive.
-> me.inputPrim.center[0]/me.inputPrim.center[1]/me.inputPrim.center[2]
$NX, $NY, $NZ – The normal of the primitive. Will be 0 for some primitives like sphere and tube (which don’t have normals).
-> me.inputPrim.normal[0] / me.inputPrim.normal[1] / me.inputPrim.normal[2]
$CR, $CG, $CB – Red, green and blue primitive color.
-> me.inputColor[0] / me.inputColor[1] / me.inputColor[2]
Index of primavitve me.inputPrim.index
//Point Sop
$TX TY TZ :The point position -> me.inputPoint.x / me.inputPoint.y / me.inputPoint.z
For particles
$LIFE : me.inputPoint.life[0]
//For Expression Chop
first channel of first input is ‘ me.inputs[0][0]
//Someting input
me.inputVal
me.inputs[0][0]
//Turn on/off render flag
op.render = 1 -> Turn on
op.render = 0 -> Turn off
//See https://www.derivative.ca/wiki088/index.php?title=Python_Tips
$PT : The Point Number of the Template-> me.inputPoint.index
$CY – The Number of Copies. -> me.copyIndex
$NCY – The Number of Copies -> me.copyTotal
< //Primative Sop &PR : Primitive number -> me.inputPrim.index
//Primitive Sop
$CEX, $CEY, $CEZ – The centroid of the primitive.
-> me.inputPrim.center[0]/me.inputPrim.center[1]/me.inputPrim.center[2]
$NX, $NY, $NZ – The normal of the primitive. Will be 0 for some primitives like sphere and tube (which don’t have normals).
-> me.inputPrim.normal[0] / me.inputPrim.normal[1] / me.inputPrim.normal[2]
$CR, $CG, $CB – Red, green and blue primitive color.
-> me.inputColor[0] / me.inputColor[1] / me.inputColor[2]
Index of primavitve me.inputPrim.index
//Point Sop
$TX TY TZ :The point position -> me.inputPoint.x / me.inputPoint.y / me.inputPoint.z
For particles
$LIFE : me.inputPoint.life[0]
//For Expression Chop
first channel of first input is ‘ me.inputs[0][0]
//Someting input
me.inputVal
me.inputs[0][0]
//Turn on/off render flag
op.render = 1 -> Turn on
op.render = 0 -> Turn off
//See https://www.derivative.ca/wiki088/index.php?title=Python_Tips
Draw a line with Music
Sound : Patrick Hutchings Jazz Orchestra – (Student recording) City Festival music.patrickhutchings.com.au/album/student-recording-city-festival
Download : Toe