I have some CHOPs that are exporting channel to control the blend parameters of blendShape SOP.
That I want to do is to create a wave using a wave CHOP and then duplicate this wave, creating same number of channels as operators connected to my blendShape, all the channels are the same but I need to automete the process of duplicating the original wave using the number of blends in a blendShape.
The only Copy operator in CHOPs that I know is Copy CHOP that needs a second input to copy channels to, there isn't a “normal” copy that only duplicate channels? Like the Copy SOP when you don't have a template connected.
Thanks
Procedural channel duplication in CHOPs
6430 6 2- lisux
- Member
- 581 posts
- Joined: July 2005
- Offline
- digitallysane
- Member
- 1192 posts
- Joined: July 2005
- Offline
If it's in fact the same channel, you can use the Export CHOP and it's “path” field. This enables you to export the same channel to many targets.
Another way would be:
Place a Constant CHOP, in the Common tab choose Units: Samples;
In the Chanel Tab uncheck “Single Frame” and then in the “End” field put the number of copies you need;
Append a Shuffle CHOP and set it to Split All Samples;
Place your Wave CHOP, and append a Math CHOP to it;
Pipe the Shuffle CHOP as a second input to the Math CHOP;
Set the Math CHOP to: Combine CHOPS: Add (make sure the value of your constant CHOP channel is 0); Match By: Channel Number;
Dragos
Another way would be:
Place a Constant CHOP, in the Common tab choose Units: Samples;
In the Chanel Tab uncheck “Single Frame” and then in the “End” field put the number of copies you need;
Append a Shuffle CHOP and set it to Split All Samples;
Place your Wave CHOP, and append a Math CHOP to it;
Pipe the Shuffle CHOP as a second input to the Math CHOP;
Set the Math CHOP to: Combine CHOPS: Add (make sure the value of your constant CHOP channel is 0); Match By: Channel Number;
Dragos
- malexander
- Staff
- 5161 posts
- Joined: July 2005
- Offline
- lisux
- Member
- 581 posts
- Joined: July 2005
- Offline
digitallysaneThanks digitalinsane, it works perfectly very clever the technique, now with the adition of a couple of espressions the system is complitely procedural and I can control every blandShape with CHOPs.
If it's in fact the same channel, you can use the Export CHOP and it's “path” field. This enables you to export the same channel to many targets.
Another way would be:
Place a Constant CHOP, in the Common tab choose Units: Samples;
In the Chanel Tab uncheck “Single Frame” and then in the “End” field put the number of copies you need;
Append a Shuffle CHOP and set it to Split All Samples;
Place your Wave CHOP, and append a Math CHOP to it;
Pipe the Shuffle CHOP as a second input to the Math CHOP;
Set the Math CHOP to: Combine CHOPS: Add (make sure the value of your constant CHOP channel is 0); Match By: Channel Number;
Dragos
Thanks to twod, I am already using wildcards to export my channels,
Un saludo
Best Regards
Pablo Giménez
Best Regards
Pablo Giménez
- craig
- Member
- 557 posts
- Joined: July 2005
- Offline
Unless I'm missing something, can't you just do this in one CHOP?
Put down the Wave CHOP, and then in the Channel tab, where it says Channel Name, put
chan
Bingo - 9 identical channels of wave. And if you don't know in advance how many copies of the wave you need, you can still do this
chan
and it should work.
Put down the Wave CHOP, and then in the Channel tab, where it says Channel Name, put
chan
Bingo - 9 identical channels of wave. And if you don't know in advance how many copies of the wave you need, you can still do this
chan
and it should work.
- digitallysane
- Member
- 1192 posts
- Joined: July 2005
- Offline
- lisux
- Member
- 581 posts
- Joined: July 2005
- Offline
craigThanks Craig, it works perfectlt, I forget the use of square brackets for ranges.
Unless I'm missing something, can't you just do this in one CHOP?
Put down the Wave CHOP, and then in the Channel tab, where it says Channel Name, put
chan
Bingo - 9 identical channels of wave. And if you don't know in advance how many copies of the wave you need, you can still do this
chan
and it should work.
Un saludo
Best Regards
Pablo Giménez
Best Regards
Pablo Giménez
-
- Quick Links