|
Lightworks?
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
Post by Ospreyluvr // Jan 15, 2009, 4:54am
Ospreyluvr
Total Posts: 112
|
How can i make a object close to me render clear while objects in the background be blurry using lightworks? |
Post by frootee // Jan 15, 2009, 5:00am
frootee
Total Posts: 2667
|
I think you have to adjust the depth of field;
it's been awhile so I am not entirely sure. |
Post by TomG // Jan 15, 2009, 5:09am
TomG
Total Posts: 3397
|
That's depth of field, found in the post processing section on the Model side.
Personally, I always found Lightworks depth of field to be very hard to get the results I wanted. I ended up writing some mask distance shaders to give a greyscale map (renders based on distance from camera), then use Photoshop to apply the depth of field by using those as an alpha mask in a layer that's blurred. Has advantages like being able to use different kinds of blur.
There may be some free shaders kicking around that also render based on distance from camera, and can be used in this way, very powerful!
Otherwise though, the built-in Depth Of Field post processing is the place to start :)
HTH!
Tom |
Post by Ospreyluvr // Jan 15, 2009, 5:31am
Ospreyluvr
Total Posts: 112
|
OK, well, i am able to make it blurry, and the closer cube is not as blurry as the further cube, but, the closer one is still quite blurry. How do I change the focus? |
Post by nowherebrain // Jan 15, 2009, 5:33am
nowherebrain
Total Posts: 1062
|
you can render in model side using a depth cue(fog) make sure it matches your background color or vice-versa and render a standard image, use the "foggy" image as your depth mask in photoshop, photopaint, GIMP...whatever convert it to an alpha or selection mask over the other rendered image and use a gausian blur. That is the basic way...also make sure nothing is lit in the first rendered image, so your output image is as close to black and white as possible, your fog start will be your focal point....you can invert the image in another layer(the mask/selection)to do a near blur effect. |
Post by nowherebrain // Jan 15, 2009, 6:18am
nowherebrain
Total Posts: 1062
|
here is an example, make note of the settings for the light and depth cue in the first image. |
Post by TomG // Jan 15, 2009, 6:50am
TomG
Total Posts: 3397
|
Changing the focus is just where I always found the post process blur to fall down :)
Best way is to create an invisible target object, and create a camera, and set it to Look At the target object. This will let the depth of field use the look at target as the distance to be clear.
I was never able to do things controllably though even then, in terms of getting things nearer or further in or out of focus by just the right amount. The fog shader suggestion is a good one for a quick and free way to generate depth masks, which I do prefer for this sort of a thing. A bit trickier in one sense, involving some post 2D work, but in the end I found it faster than multiple renders again and again to try and get just the right effect I was looking for ;)
HTH!
Tom |
Post by Nez // Jan 15, 2009, 6:58am
Nez
Total Posts: 1102
|
There's also a plug-in you can get called ZRender that allows you to render out a 'depth mask' similar to described by Noweherebrain - I explained a bit about how I used it once in the following thread:
http://forums1.caligari.com/truespace/showthread.php?t=5650&page=5
I can't remember offhand where I got ZRender from but you can still get it here for free: http://www.digivision.com.tw/truespace/tsplugin/index2.htm
there's also all sorts of other interesting ways of trying DOF - try a forum search for some ideas - e.g.:
here (http://forums1.caligari.com/truespace/showthread.php?t=5387&highlight=zrender)
here (http://forums1.caligari.com/truespace/showthread.php?t=4087&highlight=zrender) |
|