Unbiased (PBR) GPU Rendering in DAZ Studio with Iray

*See this article for graphics card suggestions.

DAZ Studio DAZ Studio users have been enjoying unbiased, physically based rendering (PBR) via GPU for a good while now. The go to for many users up till now has been LuxRender via the Reality and Luxus series of plugins. Octane and it’s tightly integrated plugin for DAZ Studio has been embraced by both, professionals, and enthusiasts with more cheddar to throw at their hobby. Now with DAZ Studio 4.8x (aka Project Iradium – a clever little play on words), DAZ 3D has gone big and, thanks to a recent deal signed with Nvidia, brought production grade unbiased GPU rendering to the masses.

Not familiar with Iray? Just type “Iray” into Google and prepare to have your jaw dropped. The exact details of the deal aren’t clear. I’ve contacted D3D for comment and will post any details that come to light, but any way you slice it, unbiased GPU at this level is a very cool tool to have tightly integrated into DS, especially when sitting alongside 3Delight, DS’s long-time primary render engine.

In this article:

  1. The usual explanations – CUDA, OCL, Unbiased etc (for dinosaurs and noobs)
  2. Basics of using Iray – surfaces and rendering
  3. Iray vs LuxRender

CUDA, OpenCL, Unbiased, GPU – What Does It All Mean?

There is still a good deal of confusion in the community about CUDA, OpenCL, unbiased rendering, and GPU based rendering. As some already know, and others will guess, Iray is a CUDA based engine, so those with newer and beefier Nvidia cards (ie. those with more CUDA cores) will have the most to gain from the new engine. Those with AMD cards (myself included) miss out on all the accelerated goodness, but luckily, we can still make use of Iray as it also includes CPU options.

So, the short:

CUDA is strictly a technology accessible to only those with Nvidia cards

Iray is CUDA reliant for GPU modes of rendering, but those with cards without CUDA cores can still make use of Iray’s CPU modes.

OpenCL is supported by both AMD and Nvidia, but AMD have adopted it to a greater extent. Most examples of programs that utilise OpenCL tend to be much faster on AMD cards.

Unbiased rendering algorithms simulate the way light interacts with geometry and materials in such a way that the results are physically plausible, sometimes to the point where observers are unable to determine the difference between a photograph and a 3D rendering. It is therefore easier to light a scene for unbiased rendering than for one that will be rendered with a biased engine, which often require the placement of more lights and wizardry to produce plausible or aesthetically pleasing results.

The trade-off that has kept unbiased engines in the domain of super geeks and the artistic fringe is that all those simulated photons and surface interactions are incredibly expensive, in terms of processing power. For film and television all those extra cycles can quickly blow the budget. In recent years the massive parallel processing power of graphics cards has seen the development of software to move the burden off the CPU and onto the GPU.

That’s the basics, and in a few short years anyone that happens to read this will smile at my quaint assumption that such things still need to be explained.

Using Iray: The Very Basic Basics

Iray stuff in action.

Iray stuff in action.

Getting The Latest DAZ Studio Public Beta

If you have not yet picked up a free copy of a beta from the DAZ store, pay a quick visit to the DAZ Studio Beta page and add it to your cart. If you have already participated in a beta from the post 4.5x days you can download it from DIM or your product library on DAZ 3D’s site. The steps are a little convoluted for DIM, but if you check out the beta thread on the forum you’ll get there. [Ed] Somehow I missed the fact that the beta page also includes screen caps to show the exact process for installing with DIM.

Surfaces

DAZ have clearly done a lot of work integrating Iray into DAZ Studio. Though the current offering is still a public beta it is easy to get up and running with Iray in minutes. The default DAZ shader translates quite effectively into Iray, as does Age of Armour’s Subsurface Shader Base (SSB), but for best results it is suggestible to apply the Iray ubershader or a fitting shader preset. These presets are all easy to access from Surfaces (tab) > Preset > Shaders > Iray.

Anyone that has any experience SSB or UberSurface should be able to quickly recognise the various inputs and controllers. There is also a pretty darn good preset for G2 characters, though I think it works best for those of lighter skin.

 

Rendering

Rendering is also a breeze. Render Settings (tab) > Engine > NVIDIA Iray. In many cases you can simply hit render. There are some options to play with, especially when it comes to playing with the sun/sky model and tone mapping. Think photography on the latter there – all very familiar to Lux users and photographers, though the values and controls seem to produce some odd results.

45 mins to render? Don't recall exactly now

45 mins to render? Don’t recall exactly now

 

LuxRender Vs Iray

There has been a good deal of debate on the various community forums whether Lux or Iray is faster in both CPU and GPU modes. Given that I’ve slipped behind on LuxRender in recent times I don’t have anything solid to add to the debate. With CUDA and Iray being more mature than both OpenCL and LuxRender I’d take a punt on Iray in both cases. For those willing to forego the most physically accurate results Lux probably has the upper hand as both Luxus and Reality expose a number of Lux’s alternate algorithms, which can produce some great results quickly.

A bonus of Iray is that DAZ have implemented a very nice progressive preview viewport option. This means we can see all the tweaks we make rendered before our eyes in a close approximation to how our final render will look. Compare this with Luxus’ preview, which is perhaps marginally faster (and more restrictive) than exporting to the Lux GUI. Of course, 3Delight users have been enjoying a progressive preview since the DS 4.7x general release.

I have noted that the Iray viewport preview, at least on my CPU, lags and crashes Studio if I ask too much from it too quickly. Given the CPU intensive nature of the preview this is not unexpected, but hopefully DAZ will have a solution to minimise this inconvenience, assuming this is a problem for CPU users in general, and not just me.

The one department Lux stands head and shoulders over the current implementation of Iray in DAZ Studio is its external GUI. With Lux’s GUI you can alter tone mapping and light settings on the fly, along with adding and configuring post effects such as bloom and vignetting. Hopefully we will see similar features for Iray incorporated into the DS GUI.

With OpenCL, and the render engines that utilise it, still playing catch-up to Nvidia’s CUDA technology it is likely plugins like Reality for DAZ Studio will take a hit, but with AMD cards remaining considerably cheaper than those offered by Nvidia , and with more advanced rendering algorithms moving into LuxRender’s pure GPU, it is likely that Lux and Reality will be with DAZ users for years to come.

Conclusion: Being a lover of new toys I am once again considering Nvidia cards against a list of priorities.

12 thoughts on “Unbiased (PBR) GPU Rendering in DAZ Studio with Iray

  1. Good aricle, Jim! I too have been bitten by the Iray bug and posted my first foray with CPU only on my dA page. At present, I’m setting up my new rig built for Octane, but by happy coincidence will be an Iray convert! Yay for good timing (for once!) I’ve also found the AoA shaders I’ve fiddled with for Lux use to be superior to the Iray supplied ones.

    • Hey man, long time no speaky. I’ll have to hit up your page next time I’m on dA. For now I’m still pretty happy to stick with CPU engines. LightWave still works out pretty darn good for me in the render department, but then again… new toys!

      • Yes sir! I’m super excited about Iray, as the movie project is turning into a feasible graphic novel project!! Only sucky thing with the new rig is all my saved textures have the wrong drive letter now. Gonna have to fix that today. Sigh…589gb of corrections or take the risk and swap the letters?

          • It was a bit more complicated than I had anticipated, as the 4.7 and 4.8 programs are on an SSD and the heavy content on a spinner. After some major T&E (mostly ‘E’) I figured out how to remap the directories inside Studio. It’s a bit messy at the moment but screw it, it works! Thanks for checkin’ back too ;-p Now back to Mission X: reworking all those MechaNation legacy figures and the few G1 to G2F/M. Yay, progress!

            On the plus side, the venerable Sandman made it G2M stronger than ever and just got his first promo image in Iray. It is SWEEEEET!

  2. Jim,

    I was hoping I might see something on this from you 🙂 I recently returned to doing digital art again after a long hiatus, and one of the things I did was pick up some new software. While I invested in some new tools like Painter 2015, I also started looking at physically accurate render engines that could interact with Poser or DS scenes. Long story short, I tried out an Octane demo first. I liked the ease of it, but not some of its limitations (inability to translate Pixar subdivision, etc.) and certainly not the price tag. So then I picked up Reality 4 for Poser (got it on the cheap as I qualified for upgrade pricing from Reality 3). It very well might just be me, but I am not a fan. Octane translated and rendered beautifully within minutes with a minimum of fuss. Reality took my scene and destroyed it, lol. Again, I’m sure that’s because I have to go out and read about all kinds of settings and material conversions, and the use of the special lights it comes with…and that was my biggest problem with it. It seems to promise an intuitive translation between Poser and the Lux render engine, but for me it has yet to deliver that.

    Then along came Daz 🙂 I have two nVidia cards in my machine, so Iray sounded too good to be true. Let’s just say I’m going to have to put some time in on it cuz my first attempt at just throwing together a basic scene with M6 using my old go-to lighting set combined with the new Iray engine actually looked worse than my efforts from DS4.5 & DS4.6, lol. But I do want to get my learn on with it. I assume I’ll just have to do like I did when Genesis came along, that is to say, taking a month off from my comfort zone in Poser and dedicating it solely to learning the ins and outs of this new engine. So for that reason alone I was glad to see you publishing some comprehensive info on it. Like you said, it’s a new toy, right? And we can never have too many of those 🙂

    • Mr Exyle, good to hear from you. Been too long. Good to hear you’re back into the 3D. When it comes down to it I’m most at home rendering characters with 3Delight. I know Ubersurface and AOA’s Shader Base well enough to get reasonable skin quickly. I’ve struck lucky with other engines here and there, but really need to spend the time learning the ropes. When it come to generic metals, matts and glossy surfaces I can use a greater range of engines more confidently. So yeah, I know where you’re coming from with your issues finding the right render engine. I suppose Iray offers the tools and integration, so it simplifies the equation some. Being able to tweak everything and see a high quality preview helps the learning process too, though I guess you do have that with Octane too.

    • That’s a shame it doesn’t work for you. I set it this way as I found it much easier to read light letters on dark grey background than the standard black letters on white. I have my Kindle set the same way and notice considerable less eye strain.

      • Not to pile on too much for the OP, but I much prefer the white text on black also. I converted a 1st gen nook color for full android Honeycomb some time back and read all my books on the ‘night’ setting for said reasons. The relief from eye strain is incredible.

  3. Pingback: Getting ready for 4.7 update – karigirlblog

Leave a Reply

Your email address will not be published. Required fields are marked *