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 Tools Display Modes
  02 February 2006
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

MSA | OSX | xfiles ...Cinema4D Tools
  02 February 2006
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.
  02 February 2006
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
  02 February 2006
Hi Darter,
Are you refering to the C.O.F.F.E.E Node Primer tutorial?
chris hoffman on vimeo | Reel
  02 February 2006
Yes, that's the one.
  02 February 2006
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
  02 February 2006
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.
  02 February 2006
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
Society of Digital Artists

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

All times are GMT. The time now is 10:13 PM.

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