Blend A Sphere With A Cube

hello,

how do i do this? blend shape can't. is there a script?

thanks
jen

What version of Maya are you running jenny?

hi Laz
on v6 at the moment. will be on 8 in the next month or so.

Jen

I know a way with 8, it has an tool which can transfer vertex positions between mesh even if the topology is different. Wouldn't have a clue about 6 though haven't used it in over a year.

thanks laz. i have no idea either.

to be more specific on what i am trying to do..

i have a house, i need to blend each facade with each other (eg front facade with back facade / side with front / side with back etc) and also each element of the house (eg roof with each facade / chimney with each facade / chimney with roof etc ). to create morphed objects out of each interaction between the different geometries..

any ideas?

thanks

jen

Ok this ones a bit tricky for normals, for the shape its piece of cake.

CODE
file -f -new;
playbackOptions -min 0 -max 24 -ast 0 -aet 24;
window -e -vis 0 $gCommandWindow;
catchQuiet(window -e -vis 0 scriptEditorPanel1Window);
polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 1 0 -ch 1;
viewFit;
annotate -tx "Make a Cube" -p 0 0.8 0;
setAttr "annotationShape1.displayArrow" 0;
refresh; pause -sec 1;
setAttr -type "string" annotationShape1.text "Lets duplicate It";
refresh; pause -sec 1;
select -r pCube1;
duplicate -rr;
move -r 2 0 0;
viewFit -all;
refresh; pause -sec 1;
setAttr -type "string" annotationShape1.text "Select first and smooth it, with a continuity";
refresh; pause -sec 1;
select -r pCube1;
polySmooth  -mth 0 -dv 2 -c 1 -kb 1 -ksb 1 -khe 0 -kt 0 -kmb 1 -suv 1 -sl 1 -dpe 1 -ps 0.1 -ro 1 -ch 0 pCube1;
refresh; pause -sec 1;
setAttr -type "string" annotationShape1.text "Select second and smooth it, without a continuity";
refresh; pause -sec 1;
select -r pCube2;
polySmooth  -mth 0 -dv 2 -c 0 -kb 1 -ksb 1 -khe 0 -kt 0 -kmb 1 -suv 1 -sl 1 -dpe 1 -ps 0.1 -ro 1 -ch 0 pCube2;

polySoftEdge -angle 30 -ch 0 pCube1;

refresh; pause -sec 1;
setAttr -type "string" annotationShape1.text "Make Blend";
select -r pCube2;
select -tgl pCube1;
blendShapeDeleteTarget "blendShape";
setAttr -type "string" annotationShape1.text "give a hardenTreshold";
refresh; pause -sec 1;
polySoftEdge -angle 70 -ch 0 pCube1;

setAttr -type "string" annotationShape1.text "Animate";
refresh; pause -sec 1;
currentTime 0;
setKeyframe "blendShape1.pCube2";
currentTime 24;
setAttr "blendShape1.pCube2" 1;
setKeyframe "blendShape1.pCube2";
playbackOptions -loop "oscillate";
select -cl ;

setAttr -type "string" annotationShape1.text "AndPlay";
refresh; pause -sec 2;
modelEditor -edit -displayAppearance smoothShaded -activeOnly false modelPanel4;
play;

paste a run in your script editor its a teaching video of sorts. As you se the normals jump, that can be fixed but ist not as easy as it sounds, anyway thets the basic idea. but for custom shapes you need to do shrink wrapping which is essentially a dynamics simulation used to model. Search the forums

thanks, ive been getting my head around shrinkwrapping.

however the video script crashes everytime it gets tot he animate bit?

jen