how to offset a birds wings

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 06 June 2013   #1
how to offset a birds wings

this is expr of fish i can apply it with housefly.
how to offset it from top and bottom so that their is loss in rotation from top or bottom.
================================================== ==================
cc_auto01 = MAIN CONTROL FOR CONTROLLERS.
ATTRIBUTES


Master_Attr = displayable
Amplitude = 0 to 10 = float = default = 1
Speed = 0.1 to 10 = float = default = 1
Delay = -24 to 24 = float or integer =float is better = default = 0
OffsetTopDown = -360 to 360 = default =0
Rotation = x and y and z
bnspA_attrs = displayable

spA_Amp = float

spA_Speed = float

spA_Delay = float = -10 to 10 = for all now on



bnspB_attrs = displayable

spB_Amp = float

spB_Speed = float

spB_Delay = float = -10 to 10 = for all now on


bnspC_attrs = displayable

spC_Amp = float

spC_Speed = float

spC_Delay = float = -10 to 10 = for all now on







bntailA_attrs = displayable

tailA_Amp = float

tailA_Speed = float

tailA_Delay = float = -10 to 10 = for all now on


bntailB_attrs = displayable

tailB_Amp = float

tailB_Speed = float

tailB_Delay = float = -10 to 10 = for all now on


autoSwim = 0 to 1 =default = 0

================================================== ==============
bnspA_expr
float $freq = cc_auto01.spA_Speed * (cc_auto01.Speed / 12);
float $delay = cc_auto01.spA_Delay + (1 * cc_auto01.Delay);
float $amp = cc_auto01.spA_Amp * cc_auto01.Amplitude * 5;
float $onOff = cc_auto01.autoSwim;
if(cc_auto01.Rotation == 0){
bn_spA01.rotateX = ((sin((frame*$freq)+$delay)*$amp) * $onOff) + cc_auto01.OffsetTopDown;
}
else if(cc_auto01.Rotation == 1){
bn_spA01.rotateY = ((sin((frame*$freq)+$delay)*$amp) * $onOff) + cc_auto01.OffsetTopDown;
}
else if(cc_auto01.Rotation == 2){
bn_spA01.rotateZ = ((sin((frame*$freq)+$delay)*$amp) * $onOff) + cc_auto01.OffsetTopDown;
}
bnspB_expr
float $freq = cc_auto01.spB_Speed * cc_auto01.Speed / 12;
float $delay = cc_auto01.spA_Delay + cc_auto01.spB_Delay + (2 * cc_auto01.Delay);
float $amp = cc_auto01.spB_Amp * cc_auto01.Amplitude * 5;
float $onOff = cc_auto01.autoSwim;
if(cc_auto01.Rotation == 0){
bn_spB01.rotateX = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 1){
bn_spB01.rotateY = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 2){
bn_spB01.rotateZ = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
bnspC_expr
float $freq = cc_auto01.spC_Speed * cc_auto01.Speed / 12;
float $delay = cc_auto01.spA_Delay + cc_auto01.spB_Delay + cc_auto01.spC_Delay + (2 * cc_auto01.Delay);
float $amp = cc_auto01.spC_Amp * cc_auto01.Amplitude * 5;
float $onOff = cc_auto01.autoSwim;
if(cc_auto01.Rotation == 0){
bn_spC01.rotateX = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 1){
bn_spC01.rotateY = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 2){
bn_spC01.rotateZ = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
bntailA_expr
float $freq = cc_auto01.tailA_Speed * cc_auto01.Speed / 12;
float $delay = cc_auto01.spA_Delay + cc_auto01.spB_Delay + cc_auto01.spC_Delay + cc_auto01.tailA_Delay + (2 * cc_auto01.Delay);
float $amp = cc_auto01.tailA_Amp * cc_auto01.Amplitude * 5;
float $onOff = cc_auto01.autoSwim;
if(cc_auto01.Rotation == 0){
bn_tailA01.rotateX = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 1){
bn_tailA01.rotateY = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 2){
bn_tailA01.rotateZ = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
bntailB_expr
float $freq = cc_auto01.tailB_Speed * cc_auto01.Speed / 12;
float $delay = cc_auto01.spA_Delay + cc_auto01.spB_Delay + cc_auto01.spB_Delay + cc_auto01.spC_Delay + cc_auto01.tailA_Delay + (2 * cc_auto01.Delay);
float $amp = cc_auto01.tailB_Amp * cc_auto01.Amplitude * 5;
float $onOff = cc_auto01.autoSwim;
if(cc_auto01.Rotation == 0){
bn_tailB01.rotateX = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 1){
bn_tailB01.rotateY = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
else if(cc_auto01.Rotation == 2){
bn_tailB01.rotateZ = (sin((frame*$freq)+$delay)*$amp) * $onOff;
}
================================================== ======

thanks.
 
Old 06 June 2013   #2
how to make dinosaur legs with 10 joints

control will be cluttered with 30 individual attributes and 3 master and 3 extra.



thanks.
 
Old 06 June 2013   #3
make dragon fly wings

PROCEDURALLY ANIMATING DRAGONFLY WINGS IN MAYA WITH NODES

i am working with above rig in lesterbanks.

i cant understand single node and its connection input is not working.
what to keep of nodes like multiply or divide, pma, and of condition.

and please tell me about earlier question of how to make dinosaurs tail.

thanks.
 
Old 06 June 2013   #4
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 11:17 PM.


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