Nuke Performance

Tips & Tricks for Nuke Performance

1.     Understand BBox: 

Most of the nodes have Aside and Bside, So always choose which side bbox you want to continue with by choosing from set bbox to 'A or B' will take the actual process of your work.



     2. BBox in patches: 

Patches are always smaller than the background and if the bbox for the patch is bigger than the canvas resolution nuke will process all the bbox even if the patch is not that much, so make sure that the bbox for the patch is according to it.


     3. Working with 3D projection:

Whenever you are doing projection after Premult the patch and putting that on card always keep the size of the card according to the patch and keep the rows and columns to 1 if you are not doing UV projection this will keep the script performance noticeably fast. Have a look on the images below:



Now if you check through the "ScanlineRender" you'll see the BBox will come according to the size of card and now if you change the scaling of the card you'll see that will affect the bbox size.


    4. Look for the extra channels:

Always change the channels to which you are using for example if you are using only "Alpha" then do not keep it to "Rgba" because that will again make the Nuke to check for the three extra channels chosen in the node. Of course 1 or 2 nodes are not going to make it slow but if that is in the whole script, that will surely affect the rendering process.
              Use "Remove" node to keep/remove the channels for the layer's while doing CG comping.

    
     5. One thing which i always do and I think is very very helpful is, if you are creating "cleanplates" then always render and then use it in the script because thats also a number of nodes which we use to clean a frame and by adding that into the script definitely will make the nuke rendering process slow.

                     Last thing but helpful, try to use less number of nodes as much as you can this will give better performance if you are working on big scripts. Well these are the major things if you take care your script will be so fast. So thank you very much and I hope you find it useful :). 

No comments:

Post a Comment