Closed bb0928 closed 3 months ago
If you set skip_inside_check
to True here:
then the inside check should be skipped.
However, I am not sure the inside check really is so time intensive. Did you do some preformance profiling? Also the inside check has its reason, otherwise objects might be placed inside each other.
Thanks for your reply. I can avoid those circumstances simply by setting skip_inside_check to True.
Describe the issue
I am using blenderproc to render scenes for BOP dataset. I use one bop_obj for target object while using "tyol" dataset for distracting object. However, almost every time i run my script, there is a warning like below: " Warning: Detected that obj_000004 is completely inside obj_000001. This might be wrong, if obj_000001 is not water tight or has incorrect normals. If that is the case, consider setting skip_inside_check to True. Warning: Detected that obj_000004 is completely inside obj_000001. This might be wrong, if obj_000001 is not water tight or has incorrect normals. If that is the case, consider setting skip_inside_check to True. Warning: Detected that obj_000004 is completely inside obj_000001. This might be wrong, if obj_000001 is not water tight or has incorrect normals. If that is the case, consider setting skip_inside_check to True. Warning: Detected that obj_000004 is completely inside obj_000001. This might be wrong, if obj_000001 is not water tight or has incorrect normals. If that is the case, consider setting skip_inside_check to True. It took 12 tries to place obj_000001 It took 1 tries to place obj_000009 It took 1 tries to place obj_000006 " although the rendered picture includes both target and distractor object, this warning made it extremely time-consuming. I have tried to modify blenderproc.python.utility.CollisionUtility.CollisionUtility.check_mesh_intersection, and changed "skip_inside_check" to True, but it doesn't work. I still encounter the same warning. What should I do. Thanks a lot.
Minimal code example
Files required to run the code
main_boat_random.py ObjectPoseSampler.py CollisionUtility.py
Expected behavior
BlenderProc version
3.3.1