|
105mm prime lensflare effect package
#123982
04/14/07 14:04
04/14/07 14:04
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Hello guys, hello girls, I saw today on my todo-list for my private project the task "lens flare effect". Oh my god. Okay.. I searched the internet and did'nt really found any good graphics for that and the GS template artwork is really.. ugly. So I decided to make my own. So, herewith I contribute a bunch of lensflare effect sprite that bases upon a real 105mm camera lens flare. Here is a preview picture: If you would like to see it in "action" (sounds silly ..), watch this videoYou can download the ZIP from here. The ZIP file contains all 21 (!) lensflare sprites as DDS files, a pivot.txt and a license.txt. The pivot chart explains how the sprites are related to the sun. Estimate 0 as sun position and 1 as the lens flare which is in the opposite corner. The negative pivot values mean that the sprites are placed in the opposite direction (that are those sprites in the preview pic, that are placed in the upper left corner behind the sun). The ZIP contains no code (since I wrote it in liteC, there wont be much use for the majority here), you have to use/make your own. If you don't know how to deal with the pivot values, read the GS template code. I did'nt used it, but as far as I know, the same "method" is used there. Though, I dont use view entities. NOTICE: before you say "yay, I've got a cool lensflare effect now".. read the license.txt. It is free of charge and you are even allowed to use it commercially, but this is card-ware. So, please read the license.txt. Cheers, enjoy and have a great day. Christian
|
|
|
Re: 105mm prime lensflare effect package
[Re: chaotic_dragon]
#123984
04/14/07 19:51
04/14/07 19:51
|
Joined: Jun 2005
Posts: 4,875
broozar
Expert
|
Expert
Joined: Jun 2005
Posts: 4,875
|
2 thoughts: would be awesome if you could fade the sprites according to the camera angle, atm i keep my self asking where the flares've gone after they left the picture borders. is the sunsprite included as well? your lensflares look a little too "round" and too "sharp". i remember the flares in ss2 for example, http://www.3dchips.net/test/hard/grafik/truform/TI500SeriousSam2c.jpghttp://www.ixbt.com/video2/images/tech_ss2/ss2_flare_2.jpgfurthermore, i'd love to have more "sprites in sprites", atm it looks like they were aligned on an invisible wire. sorry for beefing your work, but to be honest, atm it's just one of many lensflares, not the top behrenberg quality i'm used to see
|
|
|
Re: 105mm prime lensflare effect package
[Re: broozar]
#123985
04/15/07 00:42
04/15/07 00:42
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Thanks for your comment. Further effects programming is intended, but not yet (this will be adressed later with some other scheduled things) - I just wanted to have the basic behaviour in my framework. The Serious Sam lensflare is exactly the way I did'nt wanted it to be: way too blurry (and did you noticed that the flare is beneath the gun model? ). Well, maybe I'll add some blur to some sprites.. but thats all. What did you meant with "sprites in sprites"? I dont get it. And yes, the sun sprite is included in the image (the skybox contains a pre-baked sun as well, but it doesnt include anamorphic lightning which can only be achieved by non-rotating sprites. BTW: I tried it with an uniform scale of 2 on all sprites, looks a bit better.. well.
Last edited by HeelX; 04/15/07 00:44.
|
|
|
Re: 105mm prime lensflare effect package
[Re: chaotic_dragon]
#123987
04/15/07 08:53
04/15/07 08:53
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
Expert
|
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
I believe with "sprites in sprites" he meant that sprites should overlap more, because they don't in your first screen, but they do in your second one. Good job, I think this second shot is way better, I like it.
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: 105mm prime lensflare effect package
[Re: broozar]
#123989
04/15/07 11:18
04/15/07 11:18
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
You have their screen-coordinates, just use those for fading depending on how close it is to the edge of the screen?
Or maybe camera angle might be better...
xXxGuitar511 - Programmer
|
|
|
Re: 105mm prime lensflare effect package
[Re: xXxGuitar511]
#123990
04/15/07 17:19
04/15/07 17:19
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
HeelX is the man This looks quite nice indeed, nice photoshopping Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
|