Skip to content

Commit d69155a

Browse files
committed
chore(set_max_amount_of_samples): remove from all examples except the basic one, as the default value should work in all examples
1 parent 4e5ed38 commit d69155a

File tree

39 files changed

+2
-79
lines changed

39 files changed

+2
-79
lines changed

examples/advanced/camera_depth_of_field/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
# activate normal and depth rendering
4242
bproc.renderer.enable_normals_output()
4343
bproc.renderer.enable_depth_output(activate_antialiasing=False)
44-
# set the amount of samples, which should be used for the color rendering
45-
bproc.renderer.set_max_amount_of_samples(350)
4644

4745
# render the whole pipeline
4846
data = bproc.renderer.render()

examples/advanced/coco_annotations/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
# activate normal rendering
3838
bproc.renderer.enable_normals_output()
3939

40-
# set the amount of samples, which should be used for the color rendering
41-
bproc.renderer.set_max_amount_of_samples(50)
42-
4340
# render the whole pipeline
4441
data = bproc.renderer.render()
4542
seg_data = bproc.renderer.render_segmap(map_by=["instance", "class", "name"])

examples/advanced/diffuse_color_image/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
bproc.renderer.enable_depth_output(activate_antialiasing=False)
3636
# Also enable the diffuse color image, which describes the base color of the textures
3737
bproc.renderer.enable_diffuse_color_output()
38-
# set the amount of samples, which should be used for the color rendering
39-
bproc.renderer.set_max_amount_of_samples(350)
4038

4139
# render the whole pipeline
4240
data = bproc.renderer.render()

examples/advanced/dust/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
# activate normal and depth rendering
4040
bproc.renderer.enable_normals_output()
4141
bproc.renderer.enable_depth_output(activate_antialiasing=False)
42-
# set the amount of samples, which should be used for the color rendering
43-
bproc.renderer.set_max_amount_of_samples(350)
4442

4543
# render the whole pipeline
4644
data = bproc.renderer.render()

examples/advanced/entity_displacement_modifier/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
# activate normal and depth rendering
4444
bproc.renderer.enable_normals_output()
4545
bproc.renderer.enable_depth_output(activate_antialiasing=False)
46-
# set the amount of samples, which should be used for the color rendering
47-
bproc.renderer.set_max_amount_of_samples(350)
4846

4947
# render the whole pipeline
5048
data = bproc.renderer.render()

examples/advanced/lens_distortion/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
# activate normal and distance rendering
4848
bproc.renderer.enable_normals_output()
4949
bproc.renderer.enable_distance_output(activate_antialiasing=True)
50-
# set the amount of samples, which should be used for the color rendering
51-
bproc.renderer.set_max_amount_of_samples(350)
5250

5351
# render the whole pipeline
5452
data = bproc.renderer.render()

examples/advanced/lens_distortion/main_callab.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
# activate normal and distance rendering
4646
bproc.renderer.enable_normals_output()
4747
bproc.renderer.enable_distance_output(activate_antialiasing=True)
48-
# set the amount of samples, which should be used for the color rendering
49-
bproc.renderer.set_max_amount_of_samples(20)
5048

5149
# render the whole pipeline
5250
data = bproc.renderer.render()

examples/advanced/material_randomizer/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
# Replace the material with a random one
3939
obj.set_material(i, random.choice(materials))
4040

41-
# set the amount of samples, which should be used for the color rendering
42-
bproc.renderer.set_max_amount_of_samples(350)
43-
4441
# render the whole pipeline
4542
data = bproc.renderer.render()
4643

examples/advanced/motion_blur_rolling_shutter/main_motion_blur.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737

3838
# activate depth rendering
3939
bproc.renderer.enable_depth_output(activate_antialiasing=False)
40-
# set the amount of samples, which should be used for the color rendering
41-
bproc.renderer.set_max_amount_of_samples(350)
4240

4341
# render the whole pipeline
4442
data = bproc.renderer.render()

examples/advanced/motion_blur_rolling_shutter/main_rolling_shutter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141

4242
# activate depth rendering
4343
bproc.renderer.enable_depth_output(activate_antialiasing=False)
44-
# set the amount of samples, which should be used for the color rendering
45-
bproc.renderer.set_max_amount_of_samples(350)
4644

4745
# render the whole pipeline
4846
data = bproc.renderer.render()

0 commit comments

Comments
 (0)