Notifications
Clear all

[Closed] Access the "Raytracer" Tab with maxscript in RenderSetup Window

Hi everybody,

I’m trying to save some rendering properties in my own file format, but I’m blocked with the “Raytracer” tab in the render setup window when working with Scanline Renderer. I can’t find my way in accessing those paremeters in the maxscript documentation… Am I really stupid ? :s

Thx for your help

Switcher

2 Replies

They’re accessed through the RaytraceGlobalSettings object. Use like this:


   local r=RaytraceGlobalSettings()
   
   r.showProgressDlg=something
   r.showMessages=something
   
   r.max_ray_depth=something
   r.adaptive_ray_depth_threshold=something
   r.max_levels_color_mode=something
   r.max_levels_specify_color=something
   
   r.enable_antialiasing=something
   r.adaptive_antialiasing_enable_flag=something
   
   r.blurring_amount=something
   r.blurring_aspect_ratio=something
   r.defocusing_amount=something
   r.defocusing_aspect_ratio=something
   
   r.adaptive_antialiasing_threshold=something
   r.antialiasing_minimum_rays_to_fire=something
   r.antialiasing_maximum_rays_to_fire=something
   
   r.enable_raytracing=something
   r.enable_atmosphere=something
   r.enable_self_reflect_refract=something
   r.enable_material_id_rendering_support=something
   
   r.enable_objects_in_raytrace_objects=something
   r.enable_atmosphere_in_raytrace_objects=something
   r.enable_refract_special_effects=something
   
   r.vox_face_limit=something
   r.vox_dim=something
   r.vox_previs=something
   r.vox_maxdepth=something
   
   r.excludeList=something  
 

Thx so much … I just can’t read … :s

Need to sleep …

Again thx Jon-Huhn !