Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (Akow, Quad, 7th_zorro, VoroneTZ), 800 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Re: 105mm prime lensflare effect package [Re: HeelX] #123992
04/15/07 19:55
04/15/07 19:55
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Maybe Gimp? or its really Magic ... Tell me about this Magic i want the same results on my Games

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: 105mm prime lensflare effect package [Re: rvL_eXile] #123993
04/15/07 20:14
04/15/07 20:14
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Gimp is crap when it comes to lensflares.

I used a original photo and made my own inward and outward faded circles. The sprite for the sun is a generated lensflare. The pivot data has been extracted by calculating the distance between the sun center and the very last flare compared to the length between the sun center and the flare that I calculate the pivot percentage for.

Re: 105mm prime lensflare effect package [Re: HeelX] #123994
04/15/07 20:15
04/15/07 20:15
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline

Serious User
TWO  Offline

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
I think frazzle meant your sunflare-makeing-process with photoshop.

Nice looking thing

Re: 105mm prime lensflare effect package [Re: TWO] #123995
04/16/07 16:03
04/16/07 16:03
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
Thanks HeelX! Are you using the sun flare script from the wiki in this pix?


Not two, not one.
Re: 105mm prime lensflare effect package [Re: Grafton] #123996
04/16/07 16:27
04/16/07 16:27
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline

Expert
aztec  Offline

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
I also think that ley look realy cool


Visit:
schwenkschuster-design.de
Re: 105mm prime lensflare effect package [Re: Grafton] #123997
04/16/07 16:54
04/16/07 16:54
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Quote:

Thanks HeelX! Are you using the sun flare script from the wiki in this pix?




No. As I said, I have written my own liteC code for this, basing on very custom made libs for my liteC framework. If you like to use the sprites, write it yourself or customize one of the template scripts. Since it uses up to 21 images, it could be exhausting to do that.. so, I advice you to practice coding by writing your own technique.

Re: 105mm prime lensflare effect package [Re: HeelX] #123998
04/16/07 22:00
04/16/07 22:00
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
Quote:

If you like to use the sprites, write it yourself or customize one of the template scripts. Since it uses up to 21 images, it could be exhausting to do that.. so, I advice you to practice coding by writing your own technique.




I have long had my own and need no other, although my flare sprites are not
as nice as these! Thanks!

I was wondering only because I have not seen the wiki example in action. I use
only five flare sprites in mine, not including the sun, and I slightly
tint three of the sprites each a different color.

Thanks again!


Not two, not one.
Re: 105mm prime lensflare effect package [Re: TWO] #123999
04/17/07 18:58
04/17/07 18:58
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:

I think frazzle meant your sunflare-makeing-process with photoshop.





^^ Yes that was what I meant ^^
I know I expressed it abit "weird"

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: HeelX] #124000
04/17/07 23:36
04/17/07 23:36
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Very nice, thanks HeelX.

I like the first picture a lot, it reminds me off those Snowboard trick-movie-lens flares, it would fit perfectly on a mountain with a lot of snow.

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: 105mm prime lensflare effect package [Re: PHeMoX] #207002
05/17/08 00:24
05/17/08 00:24
Joined: May 2005
Posts: 133
Germany, Passau
AlexDeloy Offline
Member
AlexDeloy  Offline
Member

Joined: May 2005
Posts: 133
Germany, Passau
Sorry to dig out this thread but I can't get no sleep and just found these pretty lensflares in this old thread.

Thanks a lot HeelX
as soon as I find a really good postcard I'll send it smile

If anyone still needs some lite-C code for the lensflares take my quick & dirty, nightly hacked-in lines below:

Code:

// define 21 lensflares
// abused the pan value for the pivot value

ENTITY* lensflare_01 = {
	type = "lens_01.DDS";
	layer = 2;
	view = camera;
	pan = -0.139;
}

// lensflares 02 - 20 
// (...)

ENTITY* lensflare_21 = {
	type = "lens_21.DDS";
	layer = 2;
	view = camera;
	pan = 1;
}


// place a lensflare on the sun position and correct the position according to the pivot value

function lensPlace(ENTITY* lens) {
	VECTOR* temp = vector(0,0,0);
	vec_set(temp,sun_pos);

	if (vec_to_screen(temp,camera) != NULL) { // sun is visible 
		lens.flags2 |= VISIBLE;

		temp.x = temp.x + 2 * lens.pan * ((screen_size.x / 2) - temp.x);
		temp.y = temp.y + 2 * lens.pan * ((screen_size.y / 2) - temp.y);
		temp.z = 2000; // 2000 quants to depth
		vec_set(lens.x,temp);
		rel_for_screen(lens.x,camera); // lens flare to sun position
	} else { // sun not visible 
		lens.flags2 &= ~(VISIBLE);
	}
}

// at least start the action somewhere

function lensflare_starter() {
	
	// values for my test level

	sun_angle.pan = 193;
	sun_angle.tilt = 10;
	
	while(1) {
		lensPlace(lensflare_01);
		// lensflare 02 - 20
		// (...)
		lensPlace(lensflare_21);
		wait(1);
	}




Last edited by AlexDeloy; 05/17/08 00:26.
Page 2 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