 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Has anyone tried using focal blur and lens glare at the same time? I
haven't tried anything yet, but I was thinking of using both in an
image, and was wondering about possible side effects from crossing the
two.
...Chambers
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ben Chambers wrote:
>
> Has anyone tried using focal blur and lens glare at the same time? I
> haven't tried anything yet, but I was thinking of using both in an
> image, and was wondering about possible side effects from crossing the
> two.
> ...Chambers
Assuming you use Chris Colefax's lens effects include file, you might have to
set the "effect_always_on_top" option to "false".
The lens effect is in fact an assortment of objects (discs, triangles, etc)
positioned & textured to look like a lens flare; so it is affected by focal blur
like any other object. As far as I know, unless you set the above option to
"false", these objects are positioned very close to the camera; so they might
get excessively blurred.
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ben Chambers <bdc### [at] hotmail com> wrote:
> Has anyone tried using focal blur and lens glare at the same time? I
> haven't tried anything yet, but I was thinking of using both in an
> image, and was wondering about possible side effects from crossing the
> two.
By lens glare, do you mean an include file like Nathan Kopp's or my own Lens
Effects file? If so, the methods used by these files (objects placed close
to the camera so as to appear in front of the rest of the scene) mean that
focal blurring will generally blur the lens artefacts quite a bit. A small
amount of blurring is often effective, but too much and the simulated lens
artefacts will disappear altogether.
My own include file offers control over the spacing of the lens effect
objects, so you can stop/control the blurring to some degree. Otherwise,
you can render the blurred scene, then re-render this as a backdrop
(image-map) to a scene with just the lens effect added.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ben Chambers <bdc### [at] hotmail com> wrote:
: Has anyone tried using focal blur and lens glare at the same time?
Yes.
It's hard to tell how a lens flare should look when there's focal blur,
but I suppose that it will look sharp as usual (I might be wrong, of course).
I just was careful that the lens flare was located at the appropriate
distance from the camera in order to make it work.
This is a place where a post-process lens flare could work easier/better.
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Warp wrote in message <3a60a2c9@news.povray.org>...
>--
>char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
>main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
>c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
I like your new sig.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mark Wagner wrote:
> >char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
> >main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
> >c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
>
> I like your new sig.
Hey, that's pretty sweet!
--
David Fontaine <dav### [at] faricy net> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ben Chambers" <bdc### [at] hotmail com> wrote...
> Has anyone tried using focal blur and lens glare at the same time? I
> haven't tried anything yet, but I was thinking of using both in an
> image, and was wondering about possible side effects from crossing the
> two.
If you're using NKFlare, this should help (it's from the NKFlare.txt file
that comes with NKFlare 5).
Q: I am using focal blur in my image, and the lens flare disappears.
A: Change the "disc_size" variable. This variable affects the size
of the discs that are used to create the lens flare. It also
changes their location. The value of "disc_size" represents the
distance from the camera to the discs. In order for thoes discs
to be in focus when focal blur is used, they must be at the
focal point. If, for example, the focal point was at "f_point",
you would use the following declaration before including NKFlare.
#declare disc_size = vlength(f_point - cam_loc)
-Nathan Kopp
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
Do you create the String from your head, or have you written an extra tool
to create the string ???
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Jan Walzer <jan### [at] lzer net> wrote:
:> char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
: Do you create the String from your head, or have you written an extra tool
: to create the string ???
Of course I have written a short C-code to make the encoding conversion
from the original sig to that string (that is, I make the sig with a text
editor and then I run it through the encoder which outputs that string and
then I just copypaste the string into that line of code).
Making that string by hand would be just crazy :)
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ok, I give. With school, work and POVray, I haven't had time to do any C coding
recently... I don't even have a compiler installed on this computer anymore...
So, what ARE those sigs you keep on using?!?!? :)
...Chambers
Warp wrote:
> Of course I have written a short C-code to make the encoding conversion
> from the original sig to that string (that is, I make the sig with a text
> editor and then I run it through the encoder which outputs that string and
> then I just copypaste the string into that line of code).
> Making that string by hand would be just crazy :)
>
> --
> char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
> main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
> c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |