Video Options Clarification

The official forum for ZSNES documentation. Discuss future changes, mistakes, etc...
You can also join us on IRC at irc.freenode.net in #zsnes-docs.

Moderators: ZSNES Mods, ZSNES Doc Team

Post Reply
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Video Options Clarification

Post by Deathlike2 »

myself wrote:Ok... when I made my commit about Bilinear Filtering/Interpolation, obviously it didn't get across too well.

Interpolation is COMPLETELY SOFTWARE driven. It does have an MMX varient (yes, it is MMX accelerated), however all the work is still done by the CPU. For Bilinear Filtering, it operates differently than Interpolation (they aren't exactly the same filters, but they both perform the "blurring" operation). The thing about Bilinear Filtering is that if you are not using MESA (software rendered OpenGL aka another CPU consumer), then you are using the video card's 3D acceleration on the rendered picture. This part is all hardware (less CPU overhead overall), plus with the added bonus is that it is compatible with all the other existing SOFTWARE filters. MMX Support in ZSNES has ZERO to do with Bilinear Filtering (although, I guess MMX could be used by the OpenGL drivers internally, but that's not ZSNES's doing).
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

OK, I added this. Please let me know if the description is good.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

It's not good enough. If you are using MESA for OpenGL rendering, you are still using software rendering. That needs to be noted.

I need to find another thread I mentioned Triple Buffering/VSync and posting that stuff here.

Edit - found it:
It should be noted that the Triple Buffering option has precedence over VSync in fullscreen mode (this includes DOS though DOS doesn't have Windowed options of course). Triple Buffering enforces VSync anyways. However, it doesn't mean VSync is enabled for Windowed modes (you will have to enable VSync separately) and that is how ZSNES currently operates.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
AspiringSquire
Born to Rule... Impatiently
Posts: 265
Joined: Wed Nov 17, 2004 8:21 pm
Location: Everywhere I want to be.
Contact:

That's harsh.

Post by AspiringSquire »

Deathlike2 wrote:It's not good enough.
What you mean to say and/or what you should say is that it's good but still incomplete. "Not good enough" sounds too harsh.
[url=http://board.zsnes.com/phpBB2/viewtopic.php?t=3298][color=brown]My [u]NES palette[/u][/color][/url] - better colors with any emulator.

"the more you know, and the more you can do... the more you are."
- [url=http://www.danielbohman.com][color=brown][u]daniel bohman[/u][/color][/url]
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Re: That's harsh.

Post by Deathlike2 »

AspiringSquire wrote:
Deathlike2 wrote:It's not good enough.
What you mean to say and/or what you should say is that it's good but still incomplete. "Not good enough" sounds too harsh.
Well, it was missing that key detail. I don't want people thinking that using software (MESA) accelerated OpenGL is better than regular SDL's software rendering, which it really is not.

My apologies though.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

I made another commit. Hopefully its a bit clearer now.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Looks better now, thanks.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

So, regardless if Mesa is used or not, bilinear filtering can always be used with the other software filters, right?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

I believe so, but it would be molasses slow. Software render+software filters == pray.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

The newly added description is ok, but realize that SDL is the only port that allows for bilinear+other filters, which Windows isn't able to do... something to think about.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Deathlike2 wrote:The newly added description is ok, but realize that SDL is the only port that allows for bilinear+other filters, which Windows isn't able to do... something to think about.
Of course. It's already noted that the bilinear filter is for the SDL port only.
I don't want people thinking that using software (MESA) accelerated OpenGL is better than regular SDL's software rendering, which it really is not.
Maybe I shouldn't have linked to Mesa's home page, then. ;)
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

:P

So how about the other two descriptions that needs some fixing.. VSync+Triple Buffering...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

I'm having a hard time seeing what's wrong with the current descriptions.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Mmmm, probably the Vsync description needs a special note for Windows (or DOS). DOS has "one or the other" whereas Windows allows Triple Buffering for Fullscreen.. but VSync is not enabled (unless Vsync is selected) for Windowed modes.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

It seems a bit too trivial for words. If you or someone else can think of a good way to describe it in the docs, by all means add it. Otherwise, I'll look into it later when I'm on Windows.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

xamenus wrote:It seems a bit too trivial for words. Not only that, I'm not able to test this ATM to see if I understand it (I'm not on Windows right now), so if you or someone else could add this, it would be great.
Ok, to keep it simple.

The DOS port has it so that the Triple Buffering option and VSync option cannot coexist together.

The Windows port has it so that the Triple Buffering option and VSync option can coexist together, but work differently. It is possible to have Triple Buffering for Fullscreen but no VSync for Windowed given how it works.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Post Reply