|
2 registered members (TipmyPip, izorro),
556
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Ha I finally have achieved DOF, without pro!
[Re: lostclimate]
#93913
10/12/06 06:54
10/12/06 06:54
|
Joined: May 2002
Posts: 2,541 Berlin
EX Citer
Expert
|
Expert
Joined: May 2002
Posts: 2,541
Berlin
|
@Phemox: Can you scribble a picture? Everything gets blurred on its distance from the focus. It doesnīt matter what it is or what form it has. It simply blurs everything on itīs distance. I could simply publish a demo for adults only. The demo for not adults only, takes some more time... I will see if I can publish it today in the next 10 minutes...
:L
|
|
|
Re: Ha I finally have achieved DOF, without pro!
[Re: lostclimate]
#93917
10/12/06 07:54
10/12/06 07:54
|
Joined: Oct 2005
Posts: 4,771 Bay City, MI
lostclimate
OP
Expert
|
OP
Expert
Joined: Oct 2005
Posts: 4,771
Bay City, MI
|
well i got a demo of it of course everyone knows its still a wip but this will show how it works in real time, i took off several passes, and found out that you dont need many to still look blurry, especially at that distance, only 4 passes now which includes the main pass and 3 blur passes, runs at a solid 50fps on my machine with firefox, Wed Med Sed, and mediaplayer open all at the same time with all of the entities in view, no lod, nothing like that to speed it up, mk_1 i hope you dont mind i used the model you gave us for your shader tutorials, if you do mind, i will take the link down and encourage everyone to delete there copy. it also has one of loopix's free trees in it. it looks much different than the screens, check it out: http://www.lostclimategames.com/dof-blur-whatever.zip
|
|
|
Re: Ha I finally have achieved DOF, without pro!
[Re: EX Citer]
#93918
10/12/06 14:48
10/12/06 14:48
|
Joined: Sep 2002
Posts: 8,177 Netherlands
PHeMoX
Senior Expert
|
Senior Expert
Joined: Sep 2002
Posts: 8,177
Netherlands
|
@Exciter: A adult only demo would be fine, infact you might not even need to include 'enemies' to show the effect, that way you could make it none-adult okey too, right? I will explain exactly what I mean in a drawing a bit later. Still, I'm not sure wether you noticed it or not, but I've edited one of my earlier posts and put in 2 links to some of my own tests with a depth of field fake. I've got a slightly different approach, but it seems to me that objects at close range get sharp just about right. There's no scale blurring involved though, only a technique similar to yours using 3 transparent views. The blur in the distance is not as heavy as it should be, but that might be possible to fix. It's reasonably fast btw, 50fps+ usually. Here they are:  Cheers
Last edited by PHeMoX; 10/12/06 14:50.
|
|
|
Re: Ha I finally have achieved DOF, without pro!
[Re: PHeMoX]
#93919
10/12/06 17:54
10/12/06 17:54
|
Joined: May 2002
Posts: 2,541 Berlin
EX Citer
Expert
|
Expert
Joined: May 2002
Posts: 2,541
Berlin
|
I published a demo some hours ago exactly the way you said  You find it in showcase 1. Interesting idea to use multiple views. But I think its slower and not as effektive as my method. But has the advantage of the sky. I guess in the first screenshot you focused something close to the ship and in the second the hills in the front of the ship.
:L
|
|
|
Re: Ha I finally have achieved DOF, without pro!
[Re: EX Citer]
#93920
10/12/06 18:36
10/12/06 18:36
|
Joined: Sep 2002
Posts: 8,177 Netherlands
PHeMoX
Senior Expert
|
Senior Expert
Joined: Sep 2002
Posts: 8,177
Netherlands
|
Actually the focussing is done automatically .. this is where the 3 views come in. It is a flawed technique though, sometimes it doesn't work quite as good as with the first screenshot. Like said, the focussing changes automatically.
The second shot, eventhough not bad at all, shows what can go wrong, the focus isn't that clear to see there, distances are too far apart so to speak. I've got to figure out something for that... I might put up a demo too, to get some c&c on the effect. I've thought about adding a shader, but that would only cost more fps,
Cheers
|
|
|
|