Having recently discovered how easy it is to create and re-use Node groups, I decided that it would be oh so efficient to build a Library of useful Node groups that I could link or append as needed.
It would be nice if I had decided this 6-7 months ago because I would now have a pretty cool library of Node groups that I have seen in various tutorials.
Oh well, since I have to start somewhere, I am going to start with a Vignette group. I really like the effect of a Vignette and it only requires 3 nodes. Which makes it highly annoying that I can't remember how to set it up from one project to the next. This of course means every time I need it, I have to go to Andrew's Blender Guru site and scroll through a tutorial un-til I get to the part where he applies the Vignette so I can see how to do it once again. Creating a Vignette Node Group will allow us to skip this time consuming step.
Okay, so let's create that Vignette .
• Open Blender
• Switch the 3D view to the Node Editor (Im-age 0) and toggle the Compositing button
• Select Use Nodes
• A Render layer node and a Compositenode will appear, just move them off to oneside as they are not needed right now
• Add the following 3 Nodes (image 1)
• Distort > Lens Distortion
• Convertor > Math
• Filter > Blur
• Connect them up and then press Control +“G” to create a Node Group (image 2).
Once you have the Node group, there arejust a few more things to adjust to createthe promised Vignette and to make it userfriendly.
• Press “Tab” to open the Node group
• At the Top, change the name from “nodegroup” to “Vignette” and press the “F” to theside of the name, to create a false user (thisprevents Blender from deleting the nodegroup when we close the file).
• In the Lens Distortion Node, set distort to1
• In the Math Node, select “Greater than”and set the value to “0”
• In the Blur Node, select Fast Gaussian, Rel-ative and choose a Percentage in the X and Y (20 is a good amount.)
That it for the Vignette setup, real easy.
Now to make our Node group a little morefriendly and to help those of us withmemory issues :P .
You can see on each side of the openedNode group that there are new little sock-ets. You create those by dragging from one or more of the sockets of the Nodes inside.
I chose to give my new sockets names that would clue me in to what I needed to con-nect into this Node Group next time I use it. For more complicated groups, you might consider opening the text editor and jotting down any notes or directions needed to make this node worque for future projects.
• Okay Save your file with a useful name like “Node Group Library”
• Then save it somewhere you can find it easy forfuture use.
Now to use your cool new library in a future project
• From your project blend, set up and render your image
• Switch the 3D view to the Node Editor and toggle the Compositing button
• Select Use Nodes
• A Render layer node and a Composite node will appear
• Pull your rendered image (or layer) into the Render Layer Node
Now we need to import our Vignette from the Node Group Library
• Shift + F1, browse to where your library is saved
• Clik on the Node Group file and then on “Node Tree”
• Your Vignette Group should be visible, select it
• You can Link or Append depending on what you need for the project
Bak in the node editor
• Add > Group> Vignette
• Your Vignette group now appears (image 5)
• Now connect your Node Group and adjust for personal taste (image 6)
Super easy and a great way to re-use useful node setups without manually setting it up every time you need it.
Okay, now I am off to collect more useful groups to add to my Library.