View Full Version : Surface Runner

08 August 2011, 09:56 AM
 This is first development of my old bugs.

1. Basic example with one bug.

2. Example where the bug are copied to 10 by "Hierarchy" node.

3. Example where the bug are copied freely by MoGraph

08 August 2011, 11:31 AM
Neato, this is pretty awesome concept you have here. Will be sure to give myself a lesson of these files.

08 August 2011, 02:37 PM
This is first update of bugs

Here I used 2 noise nodes to add natural behavier to the bug.
They are "stop (randomly changed their speed)" and "drunk (randomly changed their direction)".

Notes to use noise node.
1. "Scale" and "Frequency" values are very important to control noise effect.
2. Prevent unnatural synchronization, "seed" value is changed by ID number of TP.
3. Also position vector in noise field is matched to bugs position.
4. Noise node for "nz1_in" works in "absolute".

08 August 2011, 05:32 PM
Oh boy, awesome stuff tofuji, keep it comin' :-)
One question though, the vector calculations in your coffee nodes,
would it be also possible to do them only with xpresso nodes?

08 August 2011, 07:47 PM
One question though, the vector calculations in your coffee nodes,
would it be also possible to do them only with xpresso nodes?

Yes, please see another example which treat simple target function.

XPresso nodes and COFFEE expression have both advantages and disadvantages. But, in case of matrix/vector functions, I recommend to use COFFEE. Because it is much more simple, and easy to add functions.

Advantages: TP, easy to get/set objects (tags, materials, parameters, etc)
Disadvantages: difficlut to handle structures ("if - else", for, switch, break), difficult to make complex things

Advantages: easy to make complex things, easy to handle structures
Disadvantages: difficlut to read/write "code", no TP, difficult to get/set objects

08 August 2011, 08:36 PM
This is the file which does not use COFFEE node.

08 August 2011, 08:46 PM
Thanks for the example tofuji,
I read today a little on your site about the coffee/xpresso comparison,
awesome stuff you have there. My problem is that I can't write any code,
connecting nodes is a lot easier :-)

And thanks very much for the example purely with xpresso, learning a lot here
you are right, coffee is much more suitable for this kind of tasks ;-)

08 August 2011, 10:53 AM
In these files, I have used "Matrix" object to bridge "Cloner" to "XPresso", because there is no way to control Cloner from XPresso directly. The Matrix object has a good function that "act as TP". So you can control the Matrix object from XPresso as a TP group.

However the bridge is not only one. mark render mentioned that other ways like "TP" and "Dynamics". They are bit complex, but still possible. I have made additional example with the ways.

Function is completely same, at least in this case. And Matrix is the most simple way, so I used it. However there should be different possibilities with different bridges. If you have interest in other bridges, please check it.

07 July 2012, 11:29 AM
i haven't though of a use for this yet but it's great. Thanks for sharing..

CGTalk Moderation
07 July 2012, 11:29 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.