Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Antialiasing and anisotropic filtering in DBPro

Author
Message
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 20th Jul 2007 18:31
Here are some screenshots that show the anti alias and anisotropic filter commands of the next Styx version in action:

Antialiasing:
Off:


On:



Anisotropic filtering:
Off:


On:


Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 20th Jul 2007 19:06
Whoh! how this is a nice surprise.

I already own your awesome styx plugin, so im assuming we dont have to buy the next version if we already own V1 (or which ever version)

I've been waiting for something like this for soooo long.

Nice work empty!

Pricey
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 20th Jul 2007 19:15
wowww very pretty!!
is it fast?!

Mistrel
Retired Moderator
19
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 20th Jul 2007 19:24 Edited at: 20th Jul 2007 21:55
You sir, are amazing.

Your Styx plugin has a lot of great features but if I were to buy the plugin it would be for this feature alone. Do you break your plugin up into smaller pieces like IanM does? I don't want to inflate my projects any more than necessary.

Also, will your plugin be compatible with Cloggy's D3DFunc dll?

http://3dfolio.com
Bush Baby
19
Years of Service
User Offline
Joined: 23rd Apr 2005
Location: A cave beneath Jerusalem
Posted: 20th Jul 2007 19:57
What does anisotrophic filtering actually do?

#11 - Thou Shalt Practice What Thou Preach
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 20th Jul 2007 20:01
Quote: "What does anisotrophic filtering actually do?"


It makes textures appear sharper. As you can see from the screenshots, without it, textures appear to blur at a distance. But when it's enabled, they dont.

Hope that helps.

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 20th Jul 2007 22:40
Thanks!

DBking
Quote: "so im assuming we dont have to buy the next version if we already own V1 (or which ever version) "

Yes, of course, the update is free.


Mistrel
Quote: "Do you break your plugin up into smaller pieces like IanM does? I don't want to inflate my projects any more than necessary."

Yes, STYX consists of five DLLs. The one that is responsible for these functions weighs a little less than 90k at this point in time.


Find an anti aliasing demo attached.

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 20th Jul 2007 22:56
Syncaidius
19
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 21st Jul 2007 00:19
@empty:

Demo works fine here. I get an FPS between 1475 - 1480 without AA on and I get exactly 1402 FPS with it on. Thats on my Radeon X1600. insane frame rates, but hell im not complaining.

Jna99
19
Years of Service
User Offline
Joined: 3rd Nov 2005
Location: Portugal
Posted: 21st Jul 2007 01:07
Hi will you make a version to the DarkGDK ?

Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 21st Jul 2007 01:16
will your option allow to choose between : bilinear, trilinear and anisotropic filtering ?

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 21st Jul 2007 01:40 Edited at: 21st Jul 2007 01:41
yikes. My graphic card doesn't like that AA. It's a ATI Radeon X1800RX 256MB GDDR3 Ram. Without AA I get 1800, but with AA on I get.... 4 FPS... o_0 I sure don't think it's my Graphic card... well atleast I can still play Stalker and the BF series (2142 and BF2) with full AA on, plus everything else on the highest.

Cash Curtis II
19
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Corpus Christi Texas
Posted: 21st Jul 2007 02:20 Edited at: 21st Jul 2007 02:21
Very nice empty. I'm definitely going to buy this. I get 633 fps without AA and 533 with.

Question - does it work on a per-object basis, or does it work automatically for anything on the screen? Is is slower with more / more complex models on screen? I'd sure love to include this with Geisha House. Regardless, this is a must have. Great work!


Come see the WIP!
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 21st Jul 2007 02:21 Edited at: 21st Jul 2007 02:31
Jna99
Quote: "Hi will you make a version to the DarkGDK ?"

Most likely not. But never say never .

Freddix
Quote: "will your option allow to choose between : bilinear, trilinear and anisotropic filtering ?"

No.

The Nerd
Quote: "yikes. My graphic card doesn't like that AA. It's a ATI Radeon X1800RX 256MB GDDR3 Ram. Without AA I get 1800, but with AA on I get.... 4 FPS... o_0 I sure don't think it's my Graphic card... well atleast I can still play Stalker and the BF series (2142 and BF2) with full AA on, plus everything else on the highest."

I did witness a serious slow down on a Radeon 1950 card yesterday afternoon, too. But not that serious. However, the method is the standard Direct3D AA so there's not a lot I can do about it (I think ).

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 21st Jul 2007 02:26 Edited at: 21st Jul 2007 02:29
Cash Curtis II
Quote: "Very nice empty. I'm definitely going to buy this. I get 633 fps without AA and 533 with.

Question - does it work on a per-object basis, or does it work automatically for anything on the screen? Is is slower with more / more complex models on screen? I'd sure love to include this with Geisha House. Regardless, this is a must have. Great work! "

Thanks!
It's the standard Direct3D AA method (multi sampling) so it's per scene. If you force your card to use AA rather than have it application controlled you should almost get the same speed differences.


And while I'm at it, I should mention that changing the AA settings will cause a loss of the D3DDevice. That means you'll have to reload all you resources. It's similar to what happens if you change the screen resolution.

empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 23rd Jul 2007 18:47
Quote: "erm... I.D.E ? "

Yes, back to IDE mode .

Freddix
AGK Developer
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Jul 2007 19:36
with my Geforce 7600GT, I get 1600 without AA and approx 450 with AA.
We can choose the level of AA with your plugin ?

Gandalf said: "All we have to decide is what to do with the time that is given to us"
Odyssey-Creators - X-Quad Editor - 3DMapEditor
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 23rd Jul 2007 19:48
Yes. The demo uses the highest possible level.

Dazzag
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Cyprus
Posted: 23rd Jul 2007 19:48
I'm getting about 4719 (about 4600 on average) max without AA, and about 1538 max with AA once the counter calms down (says level 4, and averages in the 1300-1350 range).

I tried this the other day and got about 1800 (without) and 600, which would tie in with Freddix, as I have a 7800GT. Only difference this time is I killed off SpySweeper (most of it. it still has an unkillable one existing. Must try that Ninja program...) and some extra tasks such as the iPod uses.

Cheers

I am 99% probably lying in bed right now... so don't blame me for crappy typing
Current fave quote : "She was like a candle in the wind.... unreliable...."
Alquerian
18
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 23rd Jul 2007 20:11 Edited at: 23rd Jul 2007 20:12
Totally sweet. I was obtaining 628 FPS with AA off, and 553 with AA Level 3 on. This is on an AMD 64 3000+, 1.5 gigs and an ATI 9600 GT w/256mb.

The difference is really cool. This will prove very useful in a few of my current developments.

Visit the Wip!
Kenjar
19
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 17th Aug 2007 02:44
You can however just enable global Antialising and AA. It's merely a matter of accessing display properties if you have an ATI or nVidia card.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 17th Aug 2007 10:40
Quote: "You can however just enable global Antialising and AA. It's merely a matter of accessing display properties if you have an ATI or nVidia card."


But who would want to enable global AA/AF just to get it working in one app? I sure wouldn't.

Also I was wondering another thing, can we have AA/AF enabled only on selected cameras? because I wouldn't want AA on shader render targets so having that optional would be awesome.

Kenjar
19
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 17th Aug 2007 10:59 Edited at: 17th Aug 2007 11:00
I do it's pretty much needs to be a global setting, this way it affects any old games, and applications as well. Having the ability to adjust it in a game is great. But not all software and games have the feature, so I'd recommend a global setting based on your systems performance.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 17th Aug 2007 11:07
If old games don't have the feature then why must you run a DBP app to enable it? Surely you'd expect the PC users to not be totally lazy and enable it themselves, it only takes me about 4 clicks to do.

Kenjar
19
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 17th Aug 2007 11:39
What are you talking about? The DBPro controls here allow you to alter the settings within that DBPro game. It won't affect old games unless it changes the global settings rather then the program ones.
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 17th Aug 2007 12:33
I thought you meant the plugin should alter the global settings rather than just the game's. But upon reading it

Kenjar
19
Years of Service
User Offline
Joined: 17th Jun 2005
Location: TGC
Posted: 17th Aug 2007 13:20
lol
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 17th Aug 2007 20:40
Quote: "Also I was wondering another thing, can we have AA/AF enabled only on selected cameras? because I wouldn't want AA on shader render targets so having that optional would be awesome."

The AA setting applies to the output device only. Scenes rendered to images are not affected. You can apply the AF setting on individual objects.

BTW, you'd be amazed how many people leave the AF/AA settings to the default value (often "application controlled"). Ideally in your game you'd do some speed test upon first launch and set the AA/AF level to an appropriate level.

Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 18th Aug 2007 11:01
I have my driver set to 4x AA and 16x AF all the time.

But this would be a neat addition to a game. Nice job.
Kyle Katarn
17
Years of Service
User Offline
Joined: 7th Jun 2007
Location: Central Coast, Australia
Posted: 20th Aug 2007 04:04
800 FPS AA off.

200 FPS AA x4

Im pretty happy with that result.

Login to post a reply

Server time is: 2024-11-24 02:04:17
Your offset time is: 2024-11-24 02:04:17