@@ -287,17 +287,12 @@ def _load_optix_win():
287287 optix .set_coordinates_geom .argtypes = [c_int , c_float ]
288288 optix .set_coordinates_geom .restype = c_bool
289289
290- optix .get_work_distribution .restype = c_int
291-
292- optix .set_work_distribution .argtypes = [c_int ]
293- optix .set_work_distribution .restype = c_bool
294-
295290 optix .get_noise_threshold .restype = c_float
296291
297292 optix .set_noise_threshold .argtypes = [c_float ]
298293 optix .set_noise_threshold .restype = c_bool
299294
300- optix .setup_camera .argtypes = [c_wchar_p , c_int , c_void_p , c_void_p , c_void_p , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_bool , c_wchar_p , c_bool ]
295+ optix .setup_camera .argtypes = [c_wchar_p , c_int , c_int , c_void_p , c_void_p , c_void_p , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_float , c_bool , c_wchar_p , c_bool ]
301296 optix .setup_camera .restype = c_int
302297
303298 optix .update_camera .argtypes = [c_wchar_p , c_void_p , c_void_p , c_void_p , c_float , c_float , c_float , c_float , c_float , c_float , c_float ]
@@ -941,16 +936,12 @@ def delete_geometry(self, name): return self._optix.delete_geometry(name)
941936
942937 def set_coordinates_geom (self , mode , thickness ): return self ._optix .set_coordinates_geom (mode , thickness )
943938
944- def get_work_distribution (self ): return self ._optix .get_work_distribution ()
945-
946- def set_work_distribution (self , mode ): return self ._optix .set_work_distribution (mode )
947-
948939 def get_noise_threshold (self ): return self ._optix .get_noise_threshold ()
949940
950941 def set_noise_threshold (self , thr ): return self ._optix .set_noise_threshold (thr )
951942
952- def setup_camera (self , name , camera_type , eye , target , up , aperture_r , aperture_fract , focal_scale , chroma_l , chroma_t , fov , rxy , cx , cy , sensor_height , blur , glock , textures , make_current ):
953- return self ._optix .setup_camera_ptr (name , camera_type ,
943+ def setup_camera (self , name , camera_type , work_distribution , eye , target , up , aperture_r , aperture_fract , focal_scale , chroma_l , chroma_t , fov , rxy , cx , cy , sensor_height , blur , glock , textures , make_current ):
944+ return self ._optix .setup_camera_ptr (name , camera_type , work_distribution ,
954945 IntPtr .__overloads__ [Int64 ](eye ),
955946 IntPtr .__overloads__ [Int64 ](target ),
956947 IntPtr .__overloads__ [Int64 ](up ),
@@ -1715,16 +1706,12 @@ def delete_geometry(self, name): return self._optix.delete_geometry(name)
17151706
17161707 def set_coordinates_geom (self , mode , thickness ): return self ._optix .set_coordinates_geom (mode , float (thickness ))
17171708
1718- def get_work_distribution (self ): return self ._optix .get_work_distribution ()
1719-
1720- def set_work_distribution (self , mode ): return self ._optix .set_work_distribution (mode )
1721-
17221709 def get_noise_threshold (self ): return self ._optix .get_noise_threshold ()
17231710
17241711 def set_noise_threshold (self , thr ): return self ._optix .set_noise_threshold (thr )
17251712
1726- def setup_camera (self , name , camera_type , eye , target , up , aperture_r , aperture_fract , focal_scale , chroma_l , chroma_t , fov , rxy , cx , cy , sensor_height , blur , glock , textures , make_current ):
1727- return self ._optix .setup_camera_ptr (name , camera_type ,
1713+ def setup_camera (self , name , camera_type , work_distribution , eye , target , up , aperture_r , aperture_fract , focal_scale , chroma_l , chroma_t , fov , rxy , cx , cy , sensor_height , blur , glock , textures , make_current ):
1714+ return self ._optix .setup_camera_ptr (name , camera_type , work_distribution ,
17281715 IntPtr (eye ),
17291716 IntPtr (target ),
17301717 IntPtr (up ),
0 commit comments