Can we Load Scene Only Once for Faster Render Sessions in Iray.

GeneralDeeGeneralDee Posts: 132

I been playing around with Iray making many still renders lately. One thing that bothers me is when I click the render button, the scene have to load up before actually rendering the scene even though I'm in the same environment and changed nothing in the scene. I was watching a tutorial video on Youtube addressing this topic but maybe I'm too slow to get what exactly the author of the video was showing. Here it is

 

I totally missed what is happening in that video but what I got from it is that our scenes can be preloaded on the Nvidia card so we can skip the loading times between renders. I'm not sure if this is practical for still render sessions that use the same scene but I can see how powerful it is for animation which I do plan on getting into. Can anyone explain how to load a scene only once to the card for faster render sessions?

Post edited by GeneralDee on

Comments

  • FrankTheTankFrankTheTank Posts: 1,220
    edited October 2016

    If you have iray selected as your drawstyle in your active viewport before rendering, the scene will preload onto your video card. This speeds up render time dramatically, especially for animation as each successsive frame only has to upload changes to the graphics card between each frame, as opposed to reloading the entire scene each frame.

     

    drawstyle iray.jpg
    705 x 759 - 293K
    Post edited by FrankTheTank on
  • nicsttnicstt Posts: 11,715
    edited October 2016

    If you render a scene, then cancel as soon as the image appears in the render window, the scene will stay in memory and render faster; just a note however, if you are close to maxing out your graphics card's memory, this can tip it over the edge. You can keep an eye on it with GPUz. If I get low on memory on card, I'll use a very low rez image as first render (100x100 ish); it doesn't help much, but does a little.

    Post edited by nicstt on
  • Thanks! I tried putting the viewport to Iray and it works. This is such a great tip I didn't know. Now I want to figure out why I see no difference in render times when I change max samples.

  • nicsttnicstt Posts: 11,715

    Thanks! I tried putting the viewport to Iray and it works. This is such a great tip I didn't know. Now I want to figure out why I see no difference in render times when I change max samples.

    You will always get a difference in render times, if you increase or decrease what the render engine has to do. What you're doing, is changing the max samples; the card has to render all the samples before it gets there. Depending on scene type, it could render for the max time (default 7200 seconds) and not reach the max samples. So although changing that will make a difference, it wont if another setting is stopping the render before it's reached.

    When altering the quality you require, via: Max Samples, Max Time, Rendering Quality or Rendering Converged Ratio, it is oftern necessary to alter more than one. I find I have to just alter Rendering Quality or Rendering Converged Ratio to obtain some difference, sometimes I have to alter time or samples too, but that is less common as I render on a GFX card; rendering on the CPU (by contrast) is likely to require changing the render time (Max Time) more often, then looking at others.

  • fastbike1fastbike1 Posts: 4,078

    There's no free lunch. If the viewport is Iray, you're still waiting for some period for the viewport to render.

Sign In or Register to comment.