Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
105mm prime lensflare effect package #123982
04/14/07 14:04
04/14/07 14:04
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

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 video

You 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: HeelX] #123983
04/14/07 14:11
04/14/07 14:11
Joined: Jun 2006
Posts: 305
newcastle nsw australia
chaotic_dragon Offline
Senior Member
chaotic_dragon  Offline
Senior Member

Joined: Jun 2006
Posts: 305
newcastle nsw australia
nice work ill be usin em in my game ok..

thanks, chris


looking for team members please send email to cdtjones69@hotmail.com or go to www.conflict-games.com

Regards
Chris Jones,
Conflict Games
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 Offline
Expert
broozar  Offline
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.jpg
http://www.ixbt.com/video2/images/tech_ss2/ss2_flare_2.jpg

furthermore, 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
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

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: HeelX] #123986
04/15/07 01:03
04/15/07 01:03
Joined: Jun 2006
Posts: 305
newcastle nsw australia
chaotic_dragon Offline
Senior Member
chaotic_dragon  Offline
Senior Member

Joined: Jun 2006
Posts: 305
newcastle nsw australia
looking great mate


looking for team members please send email to cdtjones69@hotmail.com or go to www.conflict-games.com

Regards
Chris Jones,
Conflict Games
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 Offline
Expert
Germanunkol  Offline
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: Germanunkol] #123988
04/15/07 11:12
04/15/07 11:12
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
yes, as germanunkol said, the "sprite in sprite" was meant to be "overlapping". 2nd shot is great! just as i wanted it to be. now, if they're fading according to the camera angle, it'd be perfect!

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 Offline
Expert
xXxGuitar511  Offline
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 Offline
Expert
frazzle  Offline
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
Re: 105mm prime lensflare effect package [Re: frazzle] #123991
04/15/07 19:04
04/15/07 19:04
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
It isnt photoshopped, I dont own PS its A6 magic ^^

Page 1 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1