How? Color attribute driving jiggle chop

   8349   11   1
User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Hello!
So here I am banging my head on the walls to figure how to use the color attribute of an object to affect the intensity of the jiggle chop effect. Before I go crazy…can someone help me? I attached the scene I'm using to this post.

So right now I got:

1- a moving torus
2- a channel sop jiggling my torus via a jiggle chop…
3- a paint sop adding some black and white values to the torus…

Only thing missing is this: I would like the painted color to act as a multiplier for the jiggle effect…so whenever it's colored black…it would not be jiggling…

I thing this is a simple concept, but I cannot achieve it…

Please help me!!!

Attachments:
test_chopsv01.rar (17.9 KB)

JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Staff
3455 posts
Joined: July 2005
Offline
apply the jiggle to only those points that are not black
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
537 posts
Joined: Dec. 2005
Offline
Don't go crazy JR Gauthier!

Here ya go! This method uses blending with the expression CHOP. You can use the same subtractive blending method in the point SOP also.

Attachments:
selectiveJiggle.zip (14.1 KB)

User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Thank you so much for those quick awnser…

I'll have a look right away!
JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Member
7710 posts
Joined: July 2005
Offline
Here's a slightly more optimized version to avoid un-necessary time dependencies. For kicks, I did the blending using H9.5's VOP SOP instead.

Attachments:
selectiveJiggle2.hip (105.8 KB)

User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Hello Andrew!
I think I'm getting almost everything here except the expression…

$V*ic(1,$C,$I) + (1-$V)*ic(2,$C,$I)

I'm not sure to the whole of it…just to make sure…


$V is the value of the jiggle weight…

ic(1,$C,$I) is the jiggling channels t*

ic(2,$C,$I) is the non-jiggling channels t*

Is that it?


Thank you very much! Chops is so amazing!
JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Thanks Edward, I'll have a look at it!
JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
User Avatar
Staff
809 posts
Joined: July 2006
Offline
For whatever it's worth, here is a version of Andrew's file with a simplified CHOPs network. It does the same thing; it's just a bit simpler. Of course, Andrew's approach has the advantage that you could scale the x,y,z components of the jiggle independently if you wanted.

I also moved the painting into the animation object itself. That speeds things up a bit, as in Edward's file.

Attachments:
selectiveJiggle3.hipnc (75.1 KB)

User Avatar
Member
537 posts
Joined: Dec. 2005
Offline
Yeah that's right .. you got it!

jrgauthier
Hello Andrew!
I think I'm getting almost everything here except the expression…

$V*ic(1,$C,$I) + (1-$V)*ic(2,$C,$I)

I'm not sure to the whole of it…just to make sure…


$V is the value of the jiggle weight…

ic(1,$C,$I) is the jiggling channels t*

ic(2,$C,$I) is the non-jiggling channels t*

Is that it?


Thank you very much! Chops is so amazing!
User Avatar
Member
537 posts
Joined: Dec. 2005
Offline
Hi Edward .. ok I have NO CLUE .. how your file is working. Where is the VOP sop getting it's info from?

edit———-

AH WAIT … inside of it!! ok NM ops:

edward
Here's a slightly more optimized version to avoid un-necessary time dependencies. For kicks, I did the blending using H9.5's VOP SOP instead.
User Avatar
Member
7710 posts
Joined: July 2005
Offline
andrewlowell
AH WAIT … inside of it!!

Nifty, eh?

Here's the same file that I posted before except only using 5 VOPs this time by making use of the Mix VOP.

Attachments:
selectiveJiggle2.hip (111.6 KB)

User Avatar
Member
243 posts
Joined: Oct. 2007
Offline
Wow! Thanks for all the answer, that is so great!! I can't believe how much answer in a single day!!


JR Gauthier
Character Animation & Design
www.turboatomic.com
http://www.vimeo.com/user2847970 [vimeo.com]
  • Quick Links