« Posts under Vray

3D Studio Max Interior

The couch was the focus in this scene for me. It’s the only object I modeled in this scene. The rest of the meshes were purchased off of Turbo Squid. I then created the materials for all objects in the scene. The last steps were to light, render and finally composite the scene in Nuke. I rendered the scene using Vray. Almost all of my previous modeling was done by creating a scale stub in Maya and then working it out in ZBrush. 3DSMax is a different beast altogether when it comes to modeling. Thankfully VRay seems to work in a similar fashion from within 3DSMax as it does in Maya. I still don’t quite understand the new ‘Slate Material Editor’. It seems that materials I create from within the Slate editor don’t show up in the Compact editor and vice versa. Most of my shaders don’t require crazy node networks so I’m happy using the simplified editor.

Sofa Bed Modern Interior

A lot of the time developing this scene was spent on the couch’s material. I wanted to make sure the linen came through really strong and crisp. Rendering the couch without losing the detail in the bump was my main concern. I ran with a 4K diffuse map and a 4K bump map to create most of the detail in the material. A spec map was also used to control how the highlight spread over the couch’s surface. The raw render is 4000×2666. Below is detailed snipped of the full resolution render.

Texture Detail of Couch

Most of the folds and creases in the couch were created in ZBrush. I didn’t want to add too much wear and tear to the couch as it was designed for use in a product shot. Usually I would render out a default material pass to show the shapes in the scene, but this Global Illumination pass does a fine job.Sofa Interior Global Illumination

I haven’t had a chance to use the UVW pass on this shot, but I would like to play around with it in the future. The idea of being able to assign a new texture to the couch in post sounds really cool. I think it could have some really useful implications for product rendering. I’ve been thinking more and more about exteriors lately and I think I might try to model an outside scene in the near future. For now I’ll leave you with render passes created in 3DSMax for Nuke below.

Passes for compositing interior scene in Vray

Brasserie Interior – Maya: Vray

GISettingsI took some time over the last few months to rework a scene I had modeled last year. I’ve redone all the lighting and materials in Vray as opposed to Mental Ray. A big part of this project was crushing render times down while retaining quality in the right places.  I’m in the process of rendering an animation of the environment. There is a lot of glass so if the settings aren’t balanced right between the aliasing and reflection/refraction quality the animation will “shimmer” where the glass in moving. The animation is 5 seconds at 30FPS or 150 frames. This means that even at the current render times of ~90 minutes a frame the animation would take 225 hours. I knew this would be a challenge, but what better way to practice using the diagnostic tools? The longer render times are actually acceptable given these are the minimum settings to avoid shimmering in the glass. If this needed to be done sooner I would ship this off to an online farm or ask some of my friends to render a portion of the frames for me.

primarySettingsI’ve baked out all of the GI so that I can start and stop the render when my PC has some spare time. If I didn’t bake out the GI I would get changes in the grain when starting and stopping the render sessions. I’ve chosen to go with Light cache as my primary bounce solver while Irradiance mapping will be solving all of the secondary bounces. In this post I’ve included 2 shots of my render settings. One for GI and the other for primary rays/Secondary (DMC rays). I tried to include all pertinent information in the shots. If you can’t see the setting it was left at default.

witteveen centerSome of the materials were made in Substance Designer, while other’s were built right in Maya. One thing in the future I would like to experiment with is instancing. There is a lot of duplicate geometry between the logs and the wine bottles, the cutlery could be considered another culprit. The books and nic nacs on the back shelf are all HDRI shots of a bookshelf inside my living room. Next I created masks for each group of books. To keep things simple I created several 4K texture atlases for the bookshelf items and the pictures. I then merged all the picture geometry together. If I wanted to put a different picture in the frame I would simply move the UV cords of the corresponding faces over a new area of the atlas.
witteveenVrayGrayThe render settings in the attached images worked for me. I give them as a guide, but each project is specific and your settings will probably have to change to suit the exact needs of your scene. The primary rays are kept as low as can be. These are the heavy lifters we want talking care of edge cleanup (anti-aliasing). Pushing this too high will cleanup up your edges, but it will also force needlessly high samples on areas of your scene that don’t need it. Keep this as low as possible. The DMC (advanced) settings are way way higher. This is where you’re going to see a lot of difference in the clarity of the surfaces. Remember the primary rays are really only there to alias all your edges, not to cleanup your image. We want the secondary bounces to clarify the fine details in the materials. A great explanation of this technique can be found over at Akin Bilgic’s blog (http://www NULL.cggallery NULL.com/tutorials/vray_optimization/).

Before I begin the render I have to create all my material ID masks. I’ll take these into Nuke on my Mac mini with some stills and start the colour corrections in post. When the render is done I’ll apply the same node chain to the animation and then bake that all out as a MP4. I’ll post the animation and colour corrected stills when I finish them and link them to this post.

Good luck and if you have any questions don’t be afraid to reach out or comment in the post below. I’ll admit the comment section is a little ugly, but I haven’t had time to adjust the CSS styles on it since changing formats. One day… one day I’ll have time for everything :) Right? :(

Blackberry Panacotta – Maya: Vray

Food is something I’ve wanted to render for a while. It seemed like a good rendering challenge given how familiar people are with the look of food. When I think of what really sells an object in a scene as “real” it’s the surface detail. I could have used displacement textures to refine the surface detail, but in this case I modeled the surface detail. I find modeling almost always gives a faster rendering result. Displacement takes a long time to calculate and on top of that you’re going to need a large resolution displacement material to get good results again adding to the render times.
Blackberry Panacotta Render in VRay

Even with a model that’s a quarter of a million polygons its still faster to render the result. The base shape of the panacotta was made in Maya to scale in cm then brought into ZBrush. In ZBrush I added some generic noise as a base using ‘surface noise’. I then went in with the ‘Dam standard’ brush and added some extra pitting to the surface. Finally I went over some of the edges with the ‘Trim dynamic’ brush to give the appearance of scraping or tearing where the dessert would have contacted the mold as it was popped out.


To create the blackberries I started in Maya. I made a bunch of polygon spheres and placed them in the basic shape with an interior shape that filled the gaps in between the spheres. This was then brought into Zbrush as an OBJ. Quickly after turning the mesh into a Dynamesh I used the ‘Nanomesh’ feature to drag hairs out of the berries faces.

Originally I had planned to create a fluid simulation for the sauce, but time did not permit. I instead drew a mask over the surface of the panacotta in ZBrush. I then used the ‘Extract‘ option to create a copy of the masked area. This was then sculpted into the sauce that lays over the dessert. The sauces on the plate were simple polygons modeled in Maya.


An unexpected challenge to this piece was the colour correction. From one device to the next the colour would vary quite a bit. With furniture and objects this isn’t as much of a problem as with food. The colour being too saturated can leave the food looking unappealing, too bright and it looks fake. In the end I tried to achieve a good balance between the two given the devices the final image was to be viewed on.

Below is a shot of my VRay passes from Maya. Nothing too crazy going on here. I should mention that this is the first time I’ve used ‘Raw’ passes in VRay. Specifically ‘Raw Global Illumination’ and ‘Raw Lighting’. I’m happy with the result. The compositing of those nodes varies slightly from traditional passes. They are merged with the ‘Diffuse pass’ using a ‘Merge’ node set to ‘Multiply’ rather than simply merging all the passes atop each other with Merge nodes set to ‘Plus’.
Panacotta Render Passes

VRay Test Final

LaVRay Lamp Scene Final MacroSo after one week and a few fun nights I’ve finished my first render with VRay. I have to say it’s been fun to work with. I love love love Render Elements they work like Maya’s render passes should. There isn’t tones of setup and object selection. Just a list of the standard passes you want that work with the click of one button. The Blend Material was also quite useful. There were several materials that were tested with this and in the end I used it for the wallpaper. For the wallpaper I used two of Maya’s 2D grid texture nodes multiplied together to give the two different stripe widths. I had some issues sculpting the detail into the lamp. While in Zbrush I used radial symmetry and a custom alpha to dot the lamp surface with the soft diamond pattern you see in the render. The problem was that I carved one of the rows of diamonds by pulling it out of the surface rather than pressing into it. Upon re sculpting the surface the lamp OBJ symmetry went awry. Rather  than spend another hour figuring out why ZBrush hates me I just corrected it in Photoshop by copying one of the proper rows and pasting it over the bad one. When it came to lighting there weren’t as many options as I thought there would be but, the VRay lights were pretty straight forward and fun to work with.

This scene is lit with one VRay spherical light in the lamp and a VRay rectangle light facing the scene with a very low blue fill. Lighting with VRay’s GI was a pleasure. It’s fairly fast and updates frequently while you’re viewing your render. I found I had to play with the settings very little until it came time for a final render.VRay Lamp Scene Final Close Up The changes mostly involved kicking up the “Irradiance map” and “Brute Force GI” subdivisions to 64 from 8. Overall I’d say VRay is a nice render plugin to work with that has some really solid material types that come along with it. The only part of the process I wasn’t too keen on was using the VRay Frame Buffer. If you select this option you can get all the individual render elements of your images every time you do a render, but there is not option to save and scrub between new and old renders. I find this process very important so I only used the VRay Frame Buffer when rendering out my final image. I would like to boast a little :) as I think the flowers turned out quite well. Each petal is a double sided poly plane (approx 24 poly each) with Maya’s proxy smooth applied. As per a few friends requests I’ll make a post that breaks down the individual materials and process at a later date as I’ve already got a couple of questions who’s answers I think are worth sharing. Have a nice week and enjoy what’s left of this weekend. As always if you have any questions don’t be afraid to post here or contact me.

PS – Thanks to Brandon and Nick for pushing me to try out VRay!