andrewhwood / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

Boolean deformers: don't export correctly. #260

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1 Execute this script 
polyCylinder -r 25 -h 100 -sx 40 -sy 1 -sz 1 -ax 0 1 0 -rcp 0 -cuv 3 -ch 1; 
polySphere -r 40 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1; polyBoolOp -op 2 -ch 1 
-useThresholds 1 -preserveColor 0 pSphere1 pCylinder1; select -r pSphere1 ; 
move -r -os -wd 0 12 0 ; select -r pCylinder1 ; move -r -os -wd 76 0 0 ; select 
-r polySurface1 ; sets -e -forceElement initialShadingGroup; setAttr 
"pCylinderShape1.intermediateObject" 0; setAttr "pCylinderShape1.template" 1; 
setAttr "pSphereShape1.template" 1; setAttr "pSphereShape1.intermediateObject" 
0; select -r transform1 transform2 ; showHidden -a; select -r pCylinder1 ; move 
-r -os -wd -100 0 0 ; currentTime 1 ; setKeyframe "pCylinder1.tx"; currentTime 
100 ; move -r -ls -wd 68.036602 0 0 ; setKeyframe "pCylinder1.tx"; currentTime 
1 ;

2 export to alembic, then reimport.

Picking both, the sphere or anything in the scene and exporting does not seem 
to work, these scene is always static.

Original issue reported on code.google.com by mdavies...@gmail.com on 21 Nov 2011 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 9 Dec 2011 at 5:24

GoogleCodeExporter commented 9 years ago
Adding node.hasFn(MFn::kPolyBoolOp) to the list of nodes to check, it's too bad 
MAnimUtil::isAnimated doesn't check all this stuff for us.

Change is here:
http://code.google.com/r/millerlucas-dev/source/detail?r=6ecd0678020aecaddcb6320
129d50ef69f89c2de

Original comment by miller.lucas on 10 Jan 2012 at 11:26

GoogleCodeExporter commented 9 years ago

Original comment by miller.lucas on 24 Jan 2012 at 1:41