Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (EternallyCurious, howardR), 646 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Fullscreen Antialiasing plugin #263055
04/27/09 18:22
04/27/09 18:22
Joined: Sep 2002
Posts: 1,604
Deutschland
ChrisB Offline OP
Serious User
ChrisB  Offline OP
Serious User

Joined: Sep 2002
Posts: 1,604
Deutschland
Hi,
the swollen eyeballs network was able to decipher an extraterrestrial computerinterface we found in a crashed ufo. Our specialists found out that it was heavily using antialiasing for displaying all the onscreen data, and we said "huh, we wan't that in A6/7". So here is it.

This plugin gives you controllable hardware powered fullscreen antialiasing. You can enable/disable it at runtime without restarting the engine. And it even works with postprocess effects (though it may not work with MRTs, as only a few 3d cards support this i was not able to test this).

Because i know somebody will asked:
no it doesn't use shaders, it just the normal hardware antialiasing.
Is it slower then activatin antialiasing in the driver settings?
Well as any plugin it has a small overhead but even on an old PentiumIII 800mhz the difference was way less then 1ms per frame, so i don't think you have to bother, the impact of antialiasing itself is way bigger.

Screenshots:
no fsaa:


4x fsaa:


bloom+4x fsaa:



Download: >> Click here <<

Please if you use it and you think "oh wow i want to give you some money" (doesn't really matter what you really think, just give me your money ;)), make a paypal donation on my website.
The money will be used for (in alphabetic order): beer, games, girls, pc parts

Oh i forgot the license:
You're not allowed to use this plugin for an application which can be of any use for conquering earth.

Expect more alien technology made usefull for game development in the next months.

thx
ChrisB


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet
Re: Fullscreen Antialiasing plugin [Re: ChrisB] #263068
04/27/09 18:49
04/27/09 18:49
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
may be very useful, thanks ChrisB wink


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: Fullscreen Antialiasing plugin [Re: Jaxas] #263076
04/27/09 19:37
04/27/09 19:37
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Wow that's a really great contribution!

Thank you very much!

Edit: I like your humor wink

Last edited by Dark_samurai; 04/27/09 19:38.

ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Fullscreen Antialiasing plugin [Re: Dark_samurai] #263085
04/27/09 20:31
04/27/09 20:31
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Spend it for beer to get gamer girls which deal with illegal pc parts laugh

Nice contrib!

Re: Fullscreen Antialiasing plugin [Re: HeelX] #263089
04/27/09 20:40
04/27/09 20:40
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
It's really great! Keep it up! smile

Re: Fullscreen Antialiasing plugin [Re: Cowabanga] #263093
04/27/09 20:47
04/27/09 20:47
Joined: Aug 2001
Posts: 2,320
Alberta, Canada
William Offline
Expert
William  Offline
Expert

Joined: Aug 2001
Posts: 2,320
Alberta, Canada
Cool plugin, thanks for your work! smile


Check out Silas. www.kartsilas.com

Hear my band Finding Fire - www.myspace.com/findingfire

Daily dev updates - http://kartsilas.blogspot.com/
Re: Fullscreen Antialiasing plugin [Re: William] #263109
04/27/09 21:39
04/27/09 21:39
Joined: May 2008
Posts: 150
Switzerland
Hitsch Offline
Member
Hitsch  Offline
Member

Joined: May 2008
Posts: 150
Switzerland
About time that something comes out of Area51... smile I began to believe they're just a teddy bear factory after all...

Great contribution, very useful!

Re: Fullscreen Antialiasing plugin [Re: Hitsch] #263125
04/27/09 22:48
04/27/09 22:48
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Dweebly earthling, return my tecnology now!
Thanks...:)


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Fullscreen Antialiasing plugin [Re: KiwiBoy] #263134
04/27/09 23:47
04/27/09 23:47
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Fantastic contribution! And that although I bothered you the whole evening with other things! wink

Re: Fullscreen Antialiasing plugin [Re: ChrisB] #263137
04/27/09 23:58
04/27/09 23:58
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Originally Posted By: ChrisB
Expect more alien technology made usefull for game development in the next months.


you just can't throw away that ufo yet... we re waiting.

so for a7, the advantage of the plugin is that it works with PP effects and can be switched on/off in runtime? any comparison to aa that is set by d3d_antialias variable other this two?


3333333333
Re: Fullscreen Antialiasing plugin [Re: Quad] #263182
04/28/09 08:05
04/28/09 08:05
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
Quote:
You're not allowed to use this plugin for an application which can be of any use for conquering earth.

Awww.. Damn.

Nice plugin, thanks smile


"Yesterday was once today's tomorrow."
Re: Fullscreen Antialiasing plugin [Re: Inestical] #263216
04/28/09 12:13
04/28/09 12:13
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline
Senior Member
Ganderoleg  Offline
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
This is very, very, very useful contribution. Everything works great even with LiteC PPE.

I do have a small thing to ask: I want to have in my game only two options for user to choose- Max AA & Min AA. Max is taken care of but what about min? Is setting quality to 1 always the minimum?

… and Test app reported the maximum for my card as a 3. Is that real maximum or does it go up to 9 or higher?

Thanx again (and again and again) for this great contribution smile smile smile


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<

Re: Fullscreen Antialiasing plugin [Re: HeelX] #263286
04/28/09 22:22
04/28/09 22:22
Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
sPlKe Offline
Expert
sPlKe  Offline
Expert

Joined: Jul 2004
Posts: 4,206
Innsbruck, Austria
Originally Posted By: HeelX
Spend it for beer to get gamer girls which deal with illegal pc parts laugh

Nice contrib!


did that once... turned out the beer made the gamer girls pretty so i screwed the pc parts and threw the girls away...
...
..
.
wait...

Re: Fullscreen Antialiasing plugin [Re: sPlKe] #263295
04/28/09 22:47
04/28/09 22:47
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
rofl


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Fullscreen Antialiasing plugin [Re: Blade280891] #263408
04/29/09 13:01
04/29/09 13:01
Joined: Jul 2007
Posts: 619
Turkey, Izmir
Emre Offline
User
Emre  Offline
User

Joined: Jul 2007
Posts: 619
Turkey, Izmir
Thanks for the great contribution! (i think, Ichiro will appreciate the most.)

Re: Fullscreen Antialiasing plugin [Re: Emre] #263746
05/02/09 00:01
05/02/09 00:01
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
This is a nice plugin....BUT, it has two major issues:

1. when in lower resolutions it just looks like a fullscreen blur, when anti-aliasing doesn't do that. FSAA should only blur edges, even in low resolutions.

2. when changing resolutions it leaves a "screen capture" per-se of the last frame viewed, so if you don't have a skymap running it shows a picture of what you saw last.

Other than that it's a nice plugin, only those two things mean I can't use it frown . You should've also mentioned that you need to reset the FSAA to 0 before changing resolutions, if you don't it crashes the video.

If you could fix those two problems I mentioned it would be complete, but nonetheless, good job laugh

edit: the 1x, 2x, 3x, and 4x actually look like 2x, 4x, 6x, and 8x respectively. They look nice.

Last edited by mpdeveloper_B; 05/02/09 00:05.

- aka Manslayer101
Re: Fullscreen Antialiasing plugin [Re: mpdeveloper_B] #263805
05/02/09 13:34
05/02/09 13:34
Joined: Sep 2002
Posts: 1,604
Deutschland
ChrisB Offline OP
Serious User
ChrisB  Offline OP
Serious User

Joined: Sep 2002
Posts: 1,604
Deutschland
Hi, thanks everyone.

@Ganderoleg: 1 should be always the minimum and the maximum is the maximum you can set.

@mpdeveloper_B: Thats strange, i've tested it on 3 different machines and never got a crash or a 'ghost image' after changing resolutions. Can you please post your acklog.txt and your pc specifications?

The quality settings doesn't actually correspond with those settings in your driver utility (means quality=1 doesn't means 2x fsaa and etc). Often nvidia and ati gives you some extra features with these settings, so for example quality=2 gives on my nvidia card an extra overall blur, and quality=3 and 4 looks exactly the same.
I can't change this behavior, this is it like in directx world.
The best thing is to give your customers a simple slider from 0 to maxquality.


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet
Re: Fullscreen Antialiasing plugin [Re: ChrisB] #263855
05/02/09 18:08
05/02/09 18:08
Joined: Apr 2005
Posts: 795
U.S.A. Michigan
exile Offline
User
exile  Offline
User

Joined: Apr 2005
Posts: 795
U.S.A. Michigan
I love the plugin. It's very useful since I am making HD standard games now. There is only one little thing I noticed, when I have the fsaa on any level higher than 0 I hear a buzz in my speakers. Not sure why that happens since audio and video are completely different, but the buzz in my speakers say otherwise.

Re: Fullscreen Antialiasing plugin [Re: exile] #264920
05/08/09 19:12
05/08/09 19:12
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline
Senior Member
Ganderoleg  Offline
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
Hi,

I had your dll working great with Lite-C and camera.stage but since my game is in C-Script, and I had some troubles with Lite-C and game_load function, I transferred to my old method. Now dll is not working.

Problem solved. Everything works great now smile

Last edited by Ganderoleg; 05/15/09 13:16.

>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<

Re: Fullscreen Antialiasing plugin [Re: Ganderoleg] #269822
06/04/09 19:21
06/04/09 19:21
Joined: Feb 2006
Posts: 2,185
mpdeveloper_B Offline
Expert
mpdeveloper_B  Offline
Expert

Joined: Feb 2006
Posts: 2,185
@Chris: No problems showed up in the acklog, just normal engine output.

System is:
AMD 1.80Ghz CPU
~800 MB RAM
Nvidia 6100 PCI-E

And the ghost image is only on the background when there is no skymap applied, try having a room with some stuff in it, and load another level which has nothing in it. Make sure you face the stuff when you're in the first level.

I thought the crash was kinda odd too, but It's not an engine output crash, it's a windows crash.


- aka Manslayer101
Re: Fullscreen Antialiasing plugin [Re: Quad] #328480
06/13/10 13:57
06/13/10 13:57
Joined: May 2010
Posts: 34
S
Scifi Offline
Newbie
Scifi  Offline
Newbie
S

Joined: May 2010
Posts: 34
Great thanks !

Re: Fullscreen Antialiasing plugin [Re: Scifi] #330274
06/26/10 15:16
06/26/10 15:16
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline
Senior Member
Razoron  Offline
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
The low-poly models looked really horrible before, thanks. laugh

Re: Fullscreen Antialiasing plugin [Re: Quad] #330830
06/30/10 04:06
06/30/10 04:06
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
thanks chrisb, i hope your awesome underwater script gets out of the hands of the aliens and makes its way here, in c-script too,lol?


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Fullscreen Antialiasing plugin [Re: Blink] #356712
02/03/11 16:30
02/03/11 16:30
Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Rondidon Offline
Expert
Rondidon  Offline
Expert

Joined: Aug 2002
Posts: 2,183
Germany, BaW�
Hello ChrisB,

I`ve got a problem with your plugin. It works great by part, but when I try changing the screen resolution in real time, the engine does some wild stuff. This is not always the case, but true for some special resolution changes.
Changing the resolution works great for the first time, but when I`m trying to switch the resolution once more to a resolution that was already chosen before, the error appears.

Error appers:

1650x1050->works->1280x800->works->1440x900->crashes->1680x1050
--
1680x1050->works->1024x768->crashes->1680x1050
--
It seems that it has to do something with resolutions that were already chosen before.


Is this a known problem?


My code:

Code:
function set_graphics()
{
	wait(1);
	fsaa_setQuality(0);
	render_sky=NULL;
	render_entities=NULL;
	laden_an();
	wait(16);
	video_set(aufl_x_i,aufl_y_i,32,0);

	if(monitor_type_i == 1) //16:10 Monitor
	{
		camera.arc=85;
		camera.aspect = 1.1;
	}
	if(monitor_type_i == 0) //4:3 Monitor
	{
		camera.arc=70;
		camera.aspect = 0.9;
	}	

	wait(-1);
	render_sky=fsaa_eventSky;
	render_entities=fsaa_eventEntities;
	wait(1);
	fsaa_setQuality(AA_i);
	wait(16);
	laden_aus();
}



After ALT+TAB I get "Error E2005: Can`t create DirectX texture unnamed"

I`m using A7.86 Commercial. No Shade-C. Just your plugin for testing purposes.

Is there maybe any option to completely reset the plugin after every resolution change?

Thank you very much for helping,
Rondidon


Re: Fullscreen Antialiasing plugin [Re: Rondidon] #406363
08/17/12 23:03
08/17/12 23:03
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
This plugin is fantastic!

@Rondidon: Did you find the reason for the crash, was it the plugin? So far it seems to be stable in A8.

EDIT: Oh no, seems like I have a white "glow" 0-1 pixel in width around my player on a dark background most of the time what sadly makes this great plugin useless. frown

Last edited by Superku; 08/17/12 23:57.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Fullscreen Antialiasing plugin [Re: Superku] #406465
08/20/12 23:21
08/20/12 23:21
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
I used this plugin in A6 a very long, and i no have problems, now again when i try in A8 i am amazed that even still works perfectly and stable. Does anyone still use this plugin?

Re: Fullscreen Antialiasing plugin [Re: Iglarion] #465336
04/18/17 17:29
04/18/17 17:29
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
It would be cool if the autor of this plugin can relase soruce code beacuse i found the script crash error after we lost d3d in fullscreen mode. This only happen in Windows 10 not in Win 7 or XP. The solution is switch to window mode before we exit.
Code:
#include <default.c>

var fsaa_maxQualityNonMaskable(); 
var fsaa_eventSky(); 
var fsaa_eventEntities();
var fsaa_eventLost(); 
var fsaa_setQuality(var);

function change_res_fullscreen(){ video_switch(9,0,1);}
function change_res_window(){ video_switch(7,0,2);}

function main(){
	level_load("");
	
	wait(2);
	render_sky = fsaa_eventSky;
	render_entities = fsaa_eventEntities;
	on_d3d_lost = fsaa_eventLost;
	fsaa_setQuality(fsaa_maxQualityNonMaskable());
	
	while(1){
		on_c = change_res_fullscreen; // script crash after we change to fullscreen and press exit
		on_v = change_res_window; // work when we back from fullscreen and press exit
		if (key_f1) {video_switch(6,0,2); wait(1); sys_exit(""); } // the solution is swich in window mode before exit
		wait(1);	
	}
}


I use this plugin in my game last six year and i planed use in finall relase of my game, so from my expirience the plugin is very stable in A8 and give me the best result i found so far. I see some people report problems in past but i test my game on many diferent system and hardware and i not found any problem for now, so please if someone still have problems with this plugin let me know.

Re: Fullscreen Antialiasing plugin [Re: Iglarion] #469925
12/13/17 23:06
12/13/17 23:06
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
http://www.swollen-eyeballs.org/site/pages/contact.php

But there's a high chance nothing will happen when sending the formular.

You could try whether on_d3d_reset event is triggered when in fullscreen. Maybe it is already enough to also assign the fsaa_eventLost.

Or instead of real fullscreen go for fake fullscreen (window in desktop size without window border) (yikes).

Or... set d3d_antialias = 9
This will only work if no post processing shaders are used, though.

Re: Fullscreen Antialiasing plugin [Re: FBL] #469946
12/14/17 21:29
12/14/17 21:29
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
Hi Firoball, the solution swiching to window mode one frame before closing engine works just fine for now. The good thing is that it only happens when we exit of the game.


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Page 1 of 3 1 2 3

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