Gamestudio Links
Zorro Links
Newest Posts
hold key code returns very high value instead of 0 or 1
by 3run
Today at 16:08
oldschool fps project
by 3run
Today at 15:46
Sam Foster Sound | Experienced Indie Game Composer for Hire
by titanicpiano14
Today at 15:02
Project Aum - Winter Contest 2017 - Update
by Ayumi
Yesterday at 22:34
[ALL STYLES] 2D Videogame Artist (pixel, vector, painted)
by DesixStudios
Yesterday at 14:45
Easy question
by jcl
Yesterday at 13:47
Cheap bouncing shells/gibs
by 3run
Yesterday at 00:36
AUM Magazine
Latest Screens
RPG PARTY
Triton Wing now available on Steam
AckCon'17: Lotter vs The World
Triton Wing
Who's Online
17 registered (Ch40zzC0d3r, Ezzett, Lobo, Hredot, AndrewAMD, 3run, alibaba, ChrstphFr, firecrest, 2 invisible), 454 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Amocfx, cme, pataba, byano, Tuguldur717
17834 Registered Users
Page 3 of 3 < 1 2 3
Topic Options
Rate This Topic
#328480 - 06/13/10 15:57 Re: Fullscreen Antialiasing plugin [Re: Quad]
Scifi Offline
Newbie

Registered: 05/09/10
Posts: 34
Great thanks !

Top
#330274 - 06/26/10 17:16 Re: Fullscreen Antialiasing plugin [Re: Scifi]
Razoron Offline
Senior Member

Registered: 05/25/09
Posts: 445
Loc: Peine, Germany
The low-poly models looked really horrible before, thanks. laugh
_________________________
Razgamescity

Top
#330830 - 06/30/10 06:06 Re: Fullscreen Antialiasing plugin [Re: Quad]
Blink Offline
Expert

Registered: 01/10/06
Posts: 2157
Loc: 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."

Top
#356712 - 02/03/11 17:30 Re: Fullscreen Antialiasing plugin [Re: Blink]
Rondidon Offline
Expert

Registered: 08/18/02
Posts: 2172
Loc: 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


Top
#406363 - 08/18/12 01:03 Re: Fullscreen Antialiasing plugin [Re: Rondidon]
Superku Offline
Senior Expert

Registered: 09/13/03
Posts: 6614
Loc: 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


Edited by Superku (08/18/12 01:57)
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku side-scroller: ~98.5% (??????!??)

Steam® Store Page ("Coming Soon"): http://store.steampowered.com/app/407570 Wowowowow!

Top
#406465 - 08/21/12 01:21 Re: Fullscreen Antialiasing plugin [Re: Superku]
Iglarion Offline
User

Registered: 07/09/04
Posts: 769
Loc: 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?

Top
#465336 - 04/18/17 19:29 Re: Fullscreen Antialiasing plugin [Re: Iglarion]
Iglarion Offline
User

Registered: 07/09/04
Posts: 769
Loc: 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.

Top
#469925 - 12/14/17 00:06 Re: Fullscreen Antialiasing plugin [Re: Iglarion]
Firoball Offline
Senior Expert

Registered: 09/10/03
Posts: 9788
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.

Top
#469946 - 12/14/17 22:29 Re: Fullscreen Antialiasing plugin [Re: Firoball]
Iglarion Offline
User

Registered: 07/09/04
Posts: 769
Loc: 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%

Top
Page 3 of 3 < 1 2 3


Moderator:  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | resources | magazine | manual | support faq | bugs

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) 3dgamestudio.net