Closed wish2023 closed 1 year ago
objects["Cuda"] objects["Cuda.001"] and objects["Cuda.002"] have same obj.data, that mean they has same obj.data.materials.
Fix by adding those code
bpy.data.objects["Cube.001"].data = bpy.data.objects["Cube"].data.copy()
bpy.data.objects["Cube.002"].data = bpy.data.objects["Cube"].data.copy()
result = bpycv.render_data()
Hi, thanks for the awesome blender utils!
I am trying to convert particle emissions to objects and then segment them, but separate objects are considered to be part of the same instance. Here's the minimal code that will generate the issue
The
inst_id
are correctly shown in the UI (One cube hasinst_id = 1001
and second hasinst_id = 1002
, but all cubes seem to be in the same instance indemo-seg.png
(all cubes haveinst_id = 1002
)