CGTalk > Techniques > Character Rigging
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 09-07-2013, 08:01 AM   #1
TD25
Veteran
portfolio
sunny
frameboxx
Delhi, India
 
Join Date: Jun 2012
Posts: 62
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-19-2013, 05:21 PM   #2
shinyprem
Expert
 
shinyprem's Avatar
portfolio
Prem Anand Earnest Dhass
Team Lead Rigging
Technicolor India
Bangalore, India
 
Join Date: Sep 2006
Posts: 600
Send a message via Yahoo to shinyprem
Hi
Do the fish spine with ikSpline and apply sine deformer to the ikSpline curve.
Rgds,
__________________
Prem
Download vehicleRigGenerator @ http://www.creativecrash.com/marketplace/44706
 
Old 09-21-2013, 06:45 AM   #3
TD25
Veteran
portfolio
sunny
frameboxx
Delhi, India
 
Join Date: Jun 2012
Posts: 62
spine ri

i like indians.

thanks.
 
Old 09-21-2013, 08:13 AM   #4
TD25
Veteran
portfolio
sunny
frameboxx
Delhi, India
 
Join Date: Jun 2012
Posts: 62
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-21-2013, 08:26 AM   #5
TD25
Veteran
portfolio
sunny
frameboxx
Delhi, India
 
Join Date: Jun 2012
Posts: 62
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-21-2013, 08:26 AM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:11 PM.


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