how to add delay to spine of fish

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 09 September 2013   #1
how to add delay to spine of fish

Script
//spA_expr
float $freq = cc_autoSpine01.spA_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + (1 * cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spA_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spA01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) + cc_autoSpine01.Offset;

//spB_expr
float $freq = cc_autoSpine01.spB_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spB_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spB01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) ;

//spC_expr
float $freq = cc_autoSpine01.spC_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spC_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spC01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) ;


//spD_expr
float $freq = cc_autoSpine01.spD_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spD_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spD01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) ;


//spE_expr
float $freq = cc_autoSpine01.spE_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + cc_autoSpine01.spE_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.spE_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_spE01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) ;


//tail_expr
float $freq = cc_autoSpine01.tail_Speed * cc_autoSpine01.Speed / 12;
float $delay = cc_autoSpine01.spA_Delay + cc_autoSpine01.spB_Delay + cc_autoSpine01.spC_Delay + cc_autoSpine01.spD_Delay + cc_autoSpine01.spE_Delay + cc_autoSpine01.tail_Delay + (2 *cc_autoSpine01.Delay);
float $amp = cc_autoSpine01.tail_Amp * cc_autoSpine01.Amplitude * 5;
float $onOff = cc_autoSpine01.autoSwim;
bau_tail01


neither multiplying (2 *cc_autoSpine01.Delay) as 1,2,3,4,5,6 nor 1.

what is the solution for delay.

thanks.
 
Old 09 September 2013   #2
Hi
Do the fish spine with ikSpline and apply sine deformer to the ikSpline curve.
Rgds,
__________________
Prem
Download Vehicle Rig
Blog
 
Old 09 September 2013   #3
spine ri

i like indians.

thanks.
 
Old 09 September 2013   #4
first rigging with brand new computer

if this is the result with new computer and heat map. then what will be with old.

http://www.youtube.com/watch?v=fvo0...eature=youtu.be

thanks.
 
Old 09 September 2013   #5
camtasia

though it is from camtasia.i dont know why it is not of good quality.though original was good(share and produce in avi).

thanks.
 
Old 09 September 2013   #6
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 07:08 PM.


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