Interactive Depth of Field
From LightWiki
Depth of Field has been easy to set up for a while in LightWave, but it takes some fiddling. Having an interactive way to do it makes things a lot easier and with LightWave 9.2 even more immediate.
Congratulations you just made an interactive focus puller for your camera. So far, all of this is achievable with LightWave 7.0 and above. You can now rotate your camera into the position and move the null onto the object you want in focus - the null will move with the camera and follow its rotation and you can move it along the camera's view. To really exagerrate the effect purely for the purposes of this tutorial, exit the Graph Editor and turn your Lens F-Stop down to 0.1, but be aware that severe DoF can make your images look like they were of miniatures shot with a macro lens.
Alternate set up for the autofocus using expressions
You can use an expression to set up the autofocus. This works extremely well if you can not parent the focus object to the camera.
The expression to use is:
vmag( Camera.wpos(Time)- FocusObject.wpos(Time))
Replace "FocusObject" with the name of your actual focus object.
Now for the really great step brought to you by the advancements added in LightWave 9.2.
For this I did a bit of prep to better demonstrate, but it's all summed up in the image and I've included the scene file necessary to replicate it. The object is the LightWave furnished with versions of LightWave going back some way. I've two viewports to better show the effect, but you don't need to. In addition if your scene is heavy with polygons, you can make a preview in which the Depth of Field is present. I've added a Cinepak AVI to show the effect with the cows.
As I am sure you will have spotted, the dropdown menu entry is not just for DoF, but also motion blur. You can preview any motion blur settings you making using Photoreal Motion Blur (PRMBlur) in exactly the same way and even combine both at the same time.






