DLR-RM / BlenderProc

A procedural Blender pipeline for photorealistic training image generation
GNU General Public License v3.0
2.79k stars 449 forks source link

[QUESTION]: Is there a way to play model animation from within blend file? #724

Open Stsh4lson opened 2 years ago

Stsh4lson commented 2 years ago

Am i able to play animation attached to a blend file from withing blender proc? I have rigged dog model with animation in a .blend file. I loaded that object into blendproc and i want to play the animation, is it possible? Thanks

Stsh4lson commented 2 years ago

I managed to load animations using argument obj_types=['mesh', 'armature', 'empty'] in bproc.loader.load_blend(. Although i can't get POI for such objects because i get

ERROR... in compute_poi
bb_points = obj.get_bound_box()
AttributeError: 'Entity' object has no attribute 'get_bound_box'
themasterlink commented 2 years ago

Hey,

we currently do not support animations stored in blend files. But we are always open for a contribution :)

Best, Max