Xpresso | Help with alternate direction

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2006   #1
Xpresso | Help with alternate direction

I tried to help out myself but failed...
We need to have a object move in two directions. Plus and Minus.
What we have is the sound of a basedrum. Each beat is a positive value and thus the
object moves in the positive direction. (That works fine)
What we would like to happen is that the object moves to a positive and negative direction
every second beat. That is, back and forth.

I thought that the FlipFlop, MonoFlop and Freeze xpresso nodes would be good but
I can't get it right

Any input and or ideas are very welcome.

My attempts so far includes trying to make a switch that switches between 0 and 1 each time the sound is Zero and the history of the object is either negative or positive.
...and there I got lost

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
Old 02 February 2006   #2
Hi Lennart,

I don't know if this might be of any help. There are XPresso challenges running at 3DAttack. One challenge was splitting alternate particles to follow 2 splines.
You might be able to use the xp-splitter to your needs.
Check out Xpresso Challenge 6. . Try Scola's solution.

HTH, Al.
 
Old 02 February 2006   #3
mdme_sadie's COFFEE node tutorial involves creating a counter node. You could easily modify this to increment for each drum beat, feed the output into a Modulo node set to 2, and feed its output into a Condition node containing the positive and negative values.

The tutorial is at http://www.peranders.com
 
Old 02 February 2006   #4
Hi Darter,
Are you refering to the C.O.F.F.E.E Node Primer tutorial?
__________________
chris hoffman on vimeo | Reel
 
Old 02 February 2006   #5
Yes, that's the one.
 
Old 02 February 2006   #6
is that english?

is this tutorial geared for begginers to XPRESSO?
I did not get really far. I understand the principals, but i just cant put it all together to work for this...
__________________
chris hoffman on vimeo | Reel
 
Old 02 February 2006   #7
For me the tutorial was useful for extending the functionality of XPresso and a good introduction to COFFEE programming.

If you don't have any programming experience at all, it might be better to start with XPresso basics and take it from there.
 
Old 02 February 2006   #8
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:17 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.