Login | Register 
Products Applications Downloads Features Wiki forum Store
 

Making a keyframe CHOP not loop...

Still a little green? Ask your beginner's questions here

Making a keyframe CHOP not loop...

Postby mji » Wed Mar 10, 2010 11:15 pm

I have a keyframe comp with a curve in it... I set playback to sequential and turned on play mode... it plays and then loops when it gets to the end. I'd like it to just hold the last value. Is there a way of doing this?
Thanks,
Michael
mji
 
Posts: 82
Joined: Tue Oct 28, 2008 3:21 pm

Re: Making a keyframe CHOP not loop...

Postby Jesse » Thu Mar 11, 2010 3:22 am

Just dealt with this myself... one approach:



hook a trigger up to your in CHOP within Animation COMP, point StopDAT
(CHOP Execute) to trigger.

Stop DAT

Code: Select all
tabcell animation1/time/state Rc play 1 0

opparm -c animation1/time/cframe reset 1

tabcell animation2/time/state Rc play 1 0

opparm -c animation2/time/cframe reset 1


Start DAT

Code: Select all
tabcell animation2/time/state Rc play 1 0

opparm -c animation1/time/cframe reset 1

tabcell animation1/time/state Rc play 1 1


- J
------
recent convert from Pure Data
User avatar
Jesse
 
Posts: 137
Joined: Wed Feb 03, 2010 1:29 pm

Re: Making a keyframe CHOP not loop...

Postby mji » Fri Mar 12, 2010 5:32 pm

Thanks for your response... I can't seem to figure out what animation1 and animation2 are supposed to be. I have a keyframe1 in my comp, but neither of those two ops.
mji
 
Posts: 82
Joined: Tue Oct 28, 2008 3:21 pm

Re: Making a keyframe CHOP not loop...

Postby mji » Sat Mar 13, 2010 9:48 am

I think you must be using an older build... none of those cells seem to exist in the tables inside my keyframe COMP. I did get something kind of working... but it's not very reliable. It relies upon known values of a channel in the keyframe CHOP to set the speed to zero when it surpasses a threshold. This seems like a really bad way of doing things. Anyone have a better idea?
Thanks,
Michael
mji
 
Posts: 82
Joined: Tue Oct 28, 2008 3:21 pm

Re: Making a keyframe CHOP not loop...

Postby mji » Sat Mar 13, 2010 10:37 am

Also, I don't think the -c parameter exists anymore... if it does, it's not documented. Is it the -p (pulse?) parameter? If so, it seems to no longer work on the reset parameter of a keyframe CHOP. I submitted a bug report regarding this.
mji
 
Posts: 82
Joined: Tue Oct 28, 2008 3:21 pm

Re: Making a keyframe CHOP not loop...

Postby rob » Mon Mar 15, 2010 3:34 pm

mji wrote:Also, I don't think the -c parameter exists anymore... if it does, it's not documented. Is it the -p (pulse?) parameter? If so, it seems to no longer work on the reset parameter of a keyframe CHOP. I submitted a bug report regarding this.


Hello.

The -c has been made obsolete, but won't cause any errors.

Ive removed the 'reset' parameter since its synonymous with 'cue'.
(Accesses to reset will be redirected to 'cue' so things will still run unchanged).

Youre right about the opparm -p not working. Im looking into now, but it may affect
a certain type of CHOP in general.

Finally, Ive gone ahead and added a new play mode type called 'Play Once'.
Its similar to Sequential, but does not loop.
That should make things much simpler.

Cheers
Rob.
User avatar
rob
Staff
 
Posts: 193
Joined: Tue Nov 13, 2007 12:14 am


Previous topic Next topic

Return to Beginners

Who is online

Users browsing this forum: No registered users and 1 guest