Skip to content

Commit

Permalink
remove call to deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsulej committed Sep 27, 2019
1 parent 168d909 commit e6c9f08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/1_basic_plot_making/5_parametric_surface.py
Expand Up @@ -43,7 +43,7 @@ def main():

rt = TkOptiX(width=750, height=900)

rt.set_param(min_accumulation_step=2, max_accumulation_frames=500)
rt.set_param(min_accumulation_step=2, max_accumulation_frames=500, light_shading="Hard")
rt.set_uint("path_seg_range", 6, 15)

rt.setup_material("plastic", m_plastic)
Expand All @@ -69,7 +69,6 @@ def main():
aperture_radius=0.4, aperture_fract=0.2,
focal_scale=0.92, fov=35)

rt.set_light_shading("Hard")
rt.setup_light("light1", pos=[-15, 20, 15], color=8, radius=6)

rt.start()
Expand Down

0 comments on commit e6c9f08

Please sign in to comment.