Saimah got in touch and asked if there was a quicker way to start the V-Ray Interactive Production Rendering (IPR). He said he found going through the Render Settings, and from the frame buffer time-consuming.
Is there a way to create a shortcut?
The answer is yes we can make a keyboard shortcut and this is probably the quickest way to run an interactive render.
Before I show you that, I just want to make you aware of the IPR button in the V-Ray toolbar. If you click and hold on render you will see a dropdown with V-Ray IPR on.
I looked in the Customise UI under the V-Ray Keyboard shortcuts and could not see a โRun Interactiveโ shortcut in here. We do have the option for IPR in the viewport but I prefer rendering in the frame buffer.
So letโs use a script. To start a V-Ray IPR render using scripts we can type vrayStartIPR() in the MaxScript Mini Listener (in the bottom left of the screen). So typing vrayStartIPR() and hitting enter will start the V-Ray Interactive render we want. But we donโt want to type or copy and paste this every time. So letโs create a keyboard shortcut for that.
Create a Script
Go to Scripting > New Script.
We want this to be a macro script so type macroscript.
Then type the name of your script, I called it VRayIPR.
Next, write category: this is going to help us find our script from the Customise UI menu. I will call mine โLuxury Visualsโ
And finally, add vrayStartIPR()
So all together it should look something like thisโฆ
macroscript VrayIPR category: "Luxury Visuals"
(vrayStartIPR())
Now save this. I just saved it to the desktop. Then I dragged and dropped it into the viewport.
Assign a Shortcut
Go to Customize > Customize UI and under keyboard find the Luxury Visuals category from the dropdown. Click on VrayIPR, in the hotkey assign your keyboard shortcut. I used Ctrl+\ and hit assign.
Now thatโs assigned, when you hit Ctrl+\ you will start a V-Ray Interactive Production Render.
This is how I would tackle the problem, if you know an easier way I would love to hear it. There is a video of this process below. If you enjoyed using scripts to speed up your 3d work then check out how to make a copy and paste script video.
Get my BEST updates delivered to your inbox. Join my email list and get my favorite content regularly. Unsubscribe anytime.
Render On!