CREATE A V-RAY IPR KEYBOARD SHORTCUT FOR QUICKER RENDERING

Jake Denham
3 min readJul 20, 2020

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.

  1. We want this to be a macro script so type macroscript.
  2. Then type the name of your script, I called it VRayIPR.
  3. Next, write category: this is going to help us find our script from the Customise UI menu. I will call mine “Luxury Visuals”
  4. 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!

--

--

Jake Denham

I help aspiring CGI Artists create photo-realistic images | Official V-Ray Mentor.