DLR-RM / BlenderProc

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

How to import different frame in .blend #1123

Open Daa98 opened 4 months ago

Daa98 commented 4 months ago

Describe the issue

Hello, thanks for your important work! I'm new to blender as well as blenderproc. And I'm working to get a dataset where cloth are moving. As i known, blenderproc cannot simulate cloth yet. So, is there any ways to import different frames or .blend that I have set up cloth physics in blender to blenderproc? Thanks!

Minimal code example

.

Files required to run the code

No response

Expected behavior

.

BlenderProc version

main branch

cornerfarmer commented 4 months ago

Hey @Daa98

have you tried importing the object via load_blend? I am not sure whether this will also load the physics sim, probably not. Alternatively, you could also run the clothes sim in blenderproc similarly to how its done in https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/object/PhysicsSimulation.py