BlenderProc icon indicating copy to clipboard operation
BlenderProc copied to clipboard

Iss 636 parent cleanup

Open cornerfarmer opened this issue 3 years ago • 1 comments

Merge first: #633

  • Puts all children / parent methods into the entity class
  • get_children() and get_parent() now use convert_to_entity_subclass to return the blender objects wrapped into the correct class
  • Adds tests

Fixes #636

cornerfarmer avatar Aug 02 '22 10:08 cornerfarmer

BlenderProcHelper result for run 306:

Done with: [`amass_human_poses_python 22s`, `blenderkit_python 18s`, `bop_object_on_surface_sampling 45s`, `bop_object_physics_positioning 53s`, `bop_object_pose_sampling_0 27s`, `bop_object_pose_sampling_1 27s`, `bop_scene_replication 108s`, `camera_depth_of_field_python 21s`, `camera_sampling_python 18s`, `diffuse_color_image_python 17s`, `dust_python 17s`, `front_3d_python 116s`, `front_3d_with_improved_mat 18s`, `front_3d_with_improved_mat_python 90s`, `haven_python 20s`, `ikea_python 19s`, `motion_blur_rolling_shutter_python 23s`, `motion_blur_rolling_shutter_python 20s`, `nocs_python 17s`, `optical_flow_python 23s`, `physics_convex_decomposition 146s`, `physics_convex_decomposition_python 150s`, `physics_positioning_python 21s`, `random_backgrounds_python 16s`, `random_room_constructor 16s`, `random_room_constructor_python 60s`, `replica 33s`, `replica_python 319s`, `rock_essentials 41s`, `shapenet_python 17s`, `shapenet_with_suncg 24s`, `shapenet_with_suncg_python 57s`, `stereo_matching 130s`, `stereo_matching_python 31s`, `suncg_basic 30s`, `suncg_basic_python 33s`, `suncg_with_cam_sampling 21s`, `suncg_with_cam_sampling_python 55s`, `suncg_with_improved_mat 16s`, `suncg_with_improved_mat_python 71s`, `suncg_with_object_replacer 20s`, `suncg_with_object_replacer_python 59s`] Quicker Examples: [amass_human_poses 11s, auto_shading 4s, auto_shading_python 8s, basic 5s, basic_python 12s, blenderkit 3s, bop_object_on_surface_sampling_python 2s, bop_object_physics_positioning_python 4s, bop_object_pose_sampling_0_python 4s, bop_object_pose_sampling_1_python 4s, bop_scene_replication_python 2s, camera_depth_of_field 3s, camera_object_pose 8s, camera_object_pose_python 12s, camera_sampling 3s, coco_annotations 6s, coco_annotations_python 14s, diffuse_color_image 3s, dust 3s, entity_displacement_modifier 6s, entity_displacement_modifier_python 15s, entity_manipulation 5s, entity_manipulation_python 6s, front_3d 8s, git_log 1s, haven 4s, ikea 3s, lens_distortion 5s, lens_distortion_python 13s, lens_distortion_python 11s, light_sampling 3s, light_sampling_python 11s, material_manipulation 4s, material_manipulation_python 2s, material_randomizer 3s, material_randomizer_python 9s, motion_blur_rolling_shutter 10s, motion_blur_rolling_shutter 7s, multi_render_python 4s, object_pose_sampling 4s, object_pose_sampling_python 10s, on_surface_object_sampling 5s, on_surface_object_sampling_python 9s, optical_flow 12s, physics_positioning 7s, pix3d 3s, pix3d_python 9s, random_backgrounds 3s, scenenet 0s, scenenet_python 4s, scenenet_with_cctextures 0s, scenenet_with_cctextures_python 4s, semantic_segmentation 7s, semantic_segmentation_python 13s, shapenet 3s, shapenet_with_scenenet 0s, shapenet_with_scenenet_python 4s, tests_python 4s, urdf_loading_and_manipulation_python 5s]

The BlenderProcHelper test are done without an error! Last update: 08/03/2022, 10:56:11

themasterlink avatar Aug 03 '22 08:08 themasterlink

BlenderProcHelper result for run 314:

Done with: [`amass_human_poses_python 24s`, `blenderkit_python 17s`, `bop_object_on_surface_sampling 53s`, `bop_object_physics_positioning 70s`, `bop_object_pose_sampling_0 17s`, `bop_object_pose_sampling_1 16s`, `bop_scene_replication 99s`, `camera_depth_of_field_python 17s`, `camera_random_trajectories_python 33s`, `diffuse_color_image_python 18s`, `dust_python 27s`, `front_3d_python 115s`, `front_3d_with_improved_mat 18s`, `front_3d_with_improved_mat_python 90s`, `haven_python 20s`, `ikea_python 17s`, `motion_blur_rolling_shutter_python 30s`, `motion_blur_rolling_shutter_python 23s`, `optical_flow_python 22s`, `physics_convex_decomposition 145s`, `physics_convex_decomposition_python 148s`, `physics_positioning_python 21s`, `random_backgrounds_python 17s`, `random_room_constructor 19s`, `random_room_constructor_python 63s`, `replica 61s`, `replica_python 323s`, `rock_essentials 42s`, `shapenet_with_suncg 24s`, `shapenet_with_suncg_python 61s`, `stereo_matching 130s`, `stereo_matching_python 38s`, `suncg_basic 31s`, `suncg_basic_python 34s`, `suncg_with_cam_sampling 22s`, `suncg_with_cam_sampling_python 54s`, `suncg_with_improved_mat 16s`, `suncg_with_improved_mat_python 74s`, `suncg_with_object_replacer 19s`, `suncg_with_object_replacer_python 61s`, `urdf_loading_and_manipulation_python 35s`] Quicker Examples: [amass_human_poses 10s, auto_shading 4s, auto_shading_python 8s, basic 5s, basic_python 12s, blenderkit 3s, bop_object_on_surface_sampling_python 2s, bop_object_physics_positioning_python 4s, bop_object_pose_sampling_0_python 4s, bop_object_pose_sampling_1_python 4s, bop_scene_replication_python 2s, camera_depth_of_field 3s, camera_object_pose 8s, camera_object_pose_python 12s, camera_sampling 3s, camera_sampling_python 14s, coco_annotations 10s, coco_annotations_python 7s, diffuse_color_image 3s, dust 3s, entity_displacement_modifier 6s, entity_displacement_modifier_python 15s, entity_manipulation 5s, entity_manipulation_python 6s, front_3d 9s, git_log 1s, haven 4s, ikea 2s, lens_distortion 5s, lens_distortion_python 13s, lens_distortion_python 11s, light_sampling 5s, light_sampling_python 9s, material_manipulation 4s, material_manipulation_python 4s, material_randomizer 3s, material_randomizer_python 14s, motion_blur_rolling_shutter 7s, motion_blur_rolling_shutter 10s, multi_render_python 2s, nocs_python 12s, object_pose_sampling 5s, object_pose_sampling_python 9s, on_surface_object_sampling 4s, on_surface_object_sampling_python 9s, optical_flow 12s, physics_positioning 7s, pix3d 3s, pix3d_python 10s, random_backgrounds 3s, scenenet 0s, scenenet_python 2s, scenenet_with_cctextures 0s, scenenet_with_cctextures_python 2s, semantic_segmentation 9s, semantic_segmentation_python 7s, shapenet 2s, shapenet_python 14s, shapenet_with_scenenet 0s, shapenet_with_scenenet_python 2s, tests_python 4s]

The BlenderProcHelper test are done without an error! Last update: 08/16/2022, 11:44:54

themasterlink avatar Aug 16 '22 09:08 themasterlink