PDA

View Full Version : Surface Runner


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

1. Basic example with one bug.
http://www2.11moon.com/sample_files/20110801/Surface_Runner_basic.mp4
http://www2.11moon.com/sample_files/20110801/Surface_Runner_basic.zip


2. Example where the bug are copied to 10 by "Hierarchy" node.
http://www2.11moon.com/sample_files/20110801/Surface_Runner_10.mp4
http://www2.11moon.com/sample_files/20110801/Surface_Runner_10.zip


3. Example where the bug are copied freely by MoGraph
http://www2.11moon.com/sample_files/20110801/Surface_Runner_MoGraph.mp4
http://www2.11moon.com/sample_files/20110801/Surface_Runner_MoGraph.zip

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

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

http://www2.11moon.com/sample_files/20110801/Surface_Runner2.mp4
http://www2.11moon.com/sample_files/20110801/Surface_Runner2_basic.zip
http://www2.11moon.com/sample_files/20110801/Surface_Runner2_MoGraph.zip

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".

typografschaft
08-02-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?

tofuji
08-02-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.

http://www2.11moon.com/sample_files/20110801/axis.zip


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.


XPresso
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

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

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

http://www2.11moon.com/sample_files/20110801/Surface_Runner2_MoGraph_XPresso.zip

typografschaft
08-02-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 ;-)

tofuji
08-03-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.

http://www2.11moon.com/sample_files/20110803/XPresso_TP_Cloner_SR2.zip
http://www2.11moon.com/sample_files/20110803/XPresso_Dynamics_Cloner_SR2.zip

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.

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

CGTalk Moderation
07-16-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.