This page provides a step-by-step introduction to V-Ray for Revit.
This tutorial covers the basic workflow of rendering a simple scene with V-Ray for Revit. It will show you how to block out your lighting, camera, and materials with V-Ray’s Real-Time renderer before switching over to the higher quality Production renderer for the final results. By the end of it, you will have a better understand of V-Ray for Revit’s User Interface and how you can begin using it to render out your own scenes.
To follow this tutorial, you will need to have the V-Ray for Revit plugin installed. This tutorial is a companion to go along with the QuickStart video posted on our YouTube channel and available here:
To download the files used in this tutorial, please click on the button below.
We will start with a sample scene already installed with Revit. Start by Opening a project inside Revit and navigate to the C:\program files\autdoesk\revit(version)\samples folder and open the file rac_basic_sample_project file.
V-Ray RT is a real time renderer designed to be able to view scene changes in real time. Let's start a V-Ray RT render now to fine tune our settings.
Once the scene loads, Open the V-Ray Tab from the Toolbar.
We’ll start off by rendering a view from an existing scene camera. Click on the From Yard 3D view in the project browser to open that window.
Click the Disable Shadows button at the bottom of the window to speed up the interface a bit.
First thing you’ll notice is that the Revit interface locks out controls for plugins while in a perspective view. This is true for all plugins in Revit and is normal behavior. Switch back to the title page view, and you’ll see controls are active again.
Disabled in 3D View
Enabled on Title Page
For a real-time render of the yard view, select View from the V-Ray Toolbar and select the From Yard option.
Go ahead and leave the Quality set to Draft for now.
Click on resolution Icon in the V-Ray tab to open a V-Ray Resolution window. You can select from preset resolutions, enter your own, or use Crop Region which is similar to Revit’s existing workflow. Let’s use the 800x450 preset, the fewer pixels V-Ray needs to calculate the faster the render will be.
Next you can toggle artificial lights on or off by clicking the Artificial Lights icon. Leave them off for now.
Next we can choose how the environment will light the scene by using a V-Ray Sun light or use a Dome light. With dome lights you can use image based lighting to help create more realistic reflections and highlights. Click on the drop-down menu and select V-Ray Sun to use V-Ray's built in sun and sky system.
Click on Render with V-Ray drop-down. Here you can choose Render with V-Ray RT to start a real time rendering of the From Yard view we selected. The render will continue to get less noisy as it continues to run.
Stop the render by clicking the Stop icon at the top right of the in V-Ray Frame Buffer. (VFB) Now that we have a visual, we can make some adjustments to the scene.
Let’s now replace the grass material with a V-Ray material. Click on the Material Browser in the V-Ray toolbar.
All standard materials from Revit are supported in V-Ray, which allows scenes to render without creating any new materials. However, V-Ray materials can offer more surface possibilities if required.
Locate a grass material by searching in the filter box. Browser.
AutoGen means the material is using a standard Revit material. Click on the AutoGen drop-down to Switch it to the V-Ray material. This opens a browser to load a VRmat material. Use the material this tutorials assets called Gren_Grass_Dark.vrmat. You’ll find that material in the assets you can download for this tutorial from the button at the top of this page.
Similar to Revit materials, you'll need to set a size for this material. Since this VRayMaterial is a big map, use 10,000 by 10,000 mm, and then randomly pick a Rotation amount with the slider. Close the dialog when you're done.
Before we start another V-Ray RT render, you can optionally take full advantage of CUDA hardware rendering on an NVIDIA graphics card for a faster V-Ray RT render. If you have a strong NVIDIA GPU, click on the settings option go ahead and select the GPU Cuda option here, otherwise you can leave it at CPU.
Click on Render V-Ray RT to fire it up. Leave it running for the next step.
Let’s change the location of our view by moving the camera around. As you let V-Ray RT run, the render will automatically update as the camera moves in Revit.
Go back to the From Yard view. Go ahead and press ZE to Zoom Extents to make this easier, and open up the Navigation Wheel and orbit the view. As you move the camera around, you can see how the image in the VFB updates fairly quickly. Go ahead and find a view you like.
Let's address the sun angle next. In the Properties scroll down to the Camera heading and click Edit.
Changes made here will affect the render in real time when rendering with V-Ray RT. Click on Sun Settings button here which will bring up the window. Let’s change the time from 12pm to 3pm. You can also change the time of year, if you'd like, we'll leave it as is though. Click Apply, and you’ll see RT update the image to have a more afternoon-time light.
We can change from the sun lighting system to a High Dynamic Range Image (HDRI) for something a little more photoreal. HDR images can give exquisite results in lighting and reflections.
Switch back to the Project Title sheet to get access to the plugin settings again. Click on the V-Ray Sun icon to access environmental lighting and switch it to the Dome Light.
The RT render updates and you can see the dome light evenly lighting the scene with a single color specified by the Dome Color swatch. We’ll replace that with an HDR image by clicking the Use HDR Image check box. This will immediately update the VFB to show a new HDR environment. You can browse for any panoramic HDR or EXR image you have. There are plenty available online as well, so it’s easy to find an environment that fits your needs.
Use the Rotation value to orient the environment to your satisfaction. This will move the sun in the image which will change the lighting angle in the scene. The example below is using a value of 145 degrees.
Let's make some adjustments to the camera, such as increasing the exposure and adding depth of field.
Click on theicon here to open the Camera Settings. Increase the Exposure to allow more light into the camera and brighten the image. Then adjust the White Balance to find a look you like.
In the Effects drop-down you can set depth of field with the Defocus and Focus Distance controls. RT updates in the VFB window as we go and updates/refines the blurring over time.
Go ahead and turn DoF off by changing Defocus back to 0, and now make a bit of a vignette by setting the Optical Vignetting parameter to 1.35
Now let’s go and set our Render Quality to High. Next change the resolution to 1280x720. And we’ll also switch from RT to the Production Renderer.
As you can see the render begins filling in over time. Once we get past the earlier passes, we can fine tune the render without the need for external photo editing applications while the render continues to a cleaner and cleaner result.
In the VFB, open up the Show Corrections Control panel by clicking on the icon at the bottom right of the window.
Here you'll be able to fine-tune the render by turning on and manipulating the parameters.
Increase the Exposure further and tune down the Highlight Burn in the Exposure tab. Adjust the White Balance to turn down the warmth in the image. You can play with the saturation and Hue levels further down in the controls. Curve the image a little bit here and then check it on and off to see the difference.
Since the process is a progressive render, meaning it will continue to clean up the image as you allow the render to continue, you can click on the Track Mouse While Rendering icon to tell V-Ray to concentrate on the area the mouse is placed for cleanup before moving out to other areas of the image if you want one part of the image to resolve sooner than the rest.
By this time the image is resolved pretty nicely. Once you're happy with the image quality go ahead and click the Stop sign icon to halt the render.
Now that the render’s done, there are a few ways that you can save it. One way is directly from the VFB by clicking the Save button and selecting any of these image formats. We’ll select PNG here.
Alternatively, the image can be saved directly from the Project Gallery.
Close the VFB and open the Project Gallery from the Render dropdown on the Toolbar. Select the From Yard view that you rendered to see a history of all the renderings from that view. Just click the Save to Disk icon to save the image to a folder.
Below that icon is a Save to Project Icon. By default it will try to over-write the existing view Choose No and it will create a new view under Renderings. And there it is, it’s now in your project and available to drag it out onto your sheets.