kaiwu999 / alembic

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

AbcExport: renderableOnly doesn't account for animated visibility #304

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Logging issue for Stephen Mann who initially reported this  -

---
I need to export all the objects, some of which have their visibility animated, 
either by the control directly above them, or by a control above that one, etc 
If the visibility channel is not directly keyed on the object itself, alembic 
will not know if its "visible" or not.  

I ended up writing a script that would assume the object is visible, then check 
all the parents till it found a hidden one.  which would then key the 
visibility directly on the object itself.  ( or course , if all visibility 
channels = 1,. keyed vis is 1) , and yes, inefficient. 

if you use the "renderable only" flag for alembic export, it will ignore hidden 
objects... It will also ignore objects that start out hidden, but have their 
visibility keyed on later in the animation.. even if its directly keyed to the 
object..

Original issue reported on code.google.com by francois...@gmail.com on 13 Mar 2013 at 4:44