DIYer22 / bpycv

Computer vision utils for Blender (generate instance annoatation, depth and 6D pose by one line code)
MIT License
464 stars 58 forks source link

how to control the rotation (x-y plane) of an object #33

Closed shadowwkl closed 2 years ago

shadowwkl commented 2 years ago

Dear authors,

In the ycb_demo.py file, I set all the random location and rotation variables to a fixed value, but the objects in the generated images still rotate in the x-y plane, could you please tell me if I miss something?

e.g. line 44 - 46 and line 48, in the meantime, I set to run the physical engine for 0 frame in line 69-70.

Thanks a lot!