Disable Raytracing in the Maxscript Listener

Hi, I’m trying to disable Raytracing in the Maxscript Listener. The Raytracer tab in the Render Scene Dialogue is no longer accessible with Vray 1.5 and we have some errant materials slowing everything down, which I used to be able to turn off.

I thought (OK, I was hoping) if I typed:

raytraceglobalsettings.enable_raytracing = false

raytracing would turn off, but I get this message:

-- Unknown property: “enable_raytracing” in RaytraceGlobalSettings

If I type this though:

showclass “raytraceglobalsettings.*”

.enable_raytracing appears in the list. I’m sure I’m making a very basic error, can anyone help me please?

In the Render Scene dialog, from the two radio buttons in the lower left corner, switch to Active Shade. Now you will get the Raytracer tab, which you can use to change the settings as you wish. Then switch back to the Production renderer.

Best regards,
Vlado

Thanks Vlado, I was hoping you could help. I found out you can turn it off through the trackview as well. Is it possible to set the following value:

trackviewnodes.raytrace_engine_globals.options.raytracer_enable

to false somehow in a script I could run before rendering? Two solutions to the problem already I know, but I was just interested. Thanks, Simon

that’s not a value, but a key track.


animate on
(
at time 0 (trackviewnodes.raytrace_engine_globals.options.raytracer_enable.value = 0)
)

This will set a key with the value 0 at frame 0

Regards,
Thorsten

Cool, thanks Instinct.