Comments (5)
Hi, This is Derkoun, of bsnes-hd.
HD Mode 7 currently dose not use 3D hardware. So there are no texture filtering options.
When I get back to working on bsnes-hd (hopefully soon) I have some other things to do, especially performance optimizations. But after that I have a fork with Vulkan/OpenGL support on the top of my list, as it would improve both performance and quality, including options for anisotropic filtering. However, I will need help from someone experienced with those graphics APIs, as I already came into this with little-to-no C++ skills, and learning 3D graphics on top of that is something I doubt I'll manage...
from bsnes.
Hello, understand, i have very minimalistic OpenGL and Direct3D knowledges, so i can't be helpful ((( here, maybe some helpers come, i don't know any for just now(
maybe Yaba Sanshiro developers can be helpful in future if they decided to implement hardware acceleration . Just for now two emulators Bsnes and Yaba Sanshiro have similar approach on my opinion =)
devmiyax/yabause#726
from bsnes.
from bsnes.
I assume "linear magnification and anisotropic minification" are what graphics APIs typically call bilinear filtering and anisotropic filtering. These operations are built into 3D graphics hardware, and if you have a textured rectangle, it's fairly easy to draw it in 3D and let the GPU do the filtering for you.
It's quite difficult for bsnes because SNES games don't draw "a textured rectangle", they draw ~240 textured rectangles the width of the screen and one scanline high, and bsnes has compare them all and guess (a) are these all part of the same shape, and (b) if so, what was it supposed to look like? For some games (like F-Zero) it does indeed turn out to be a textured rectangle, but often it's not. For example, Mario Kart often shows two different views in the top and bottom halves of the screen, there's some tennis game that uses the same background for the horizontal surface of the court and the vertical bleachers behind it, and Terranigma does a weird curvy thing that's not any simple shape.
And even if bsnes could reliably guess the size, shape and orientation of the original textured quad, implementing those texture filters in software would be a chore, and extracting the texture to render it on the GPU would be even more of a chore.
I'm afraid I'm going to mark this "wontfix" - although I'd actually like to see it happen, realistically there's no chance anyone will have the time and energy to make this happen. If somebody does show up, great, but I'm not holding my breath.
from bsnes.
GPU based rendering for Mode 7 scenes that simulate simple perspectives (no curving and so on) is on my to-do list for the long term. There is much to prepare first and I will need help with the GPU stuff, plus I first have to get back to working on bsnes-hd at all. So we will get there... eventually
from bsnes.
Related Issues (20)
- /bsnes: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./bsnes) HOT 2
- bsnes/heuristics/game-boy.cpp — 3 lines after `if` are indented, but not in block HOT 4
- bsnes/sfc/controller/justifier/justifier.cpp: probably unintended `player2` instead of `player1` in `player1`-related statement group HOT 2
- QWidget::paintEngine: Should no longer be called HOT 1
- Option to disable IPS softpatch warning HOT 1
- Can't use two identical input devices simultaneously HOT 3
- Feature Request: Please add Blarggs NTSC SNES filters HOT 5
- Feature Request: Add controller profiles
- Continue Movie Record Support + Meta Information
- Cannot Disable 2nd Controller Port HOT 4
- macOS: loading a savestate crashes on recent nightly builds HOT 1
- Can you adding beautiful controller input like this image below? HOT 1
- wdc65816: fix PLB wrapping in emulation mode HOT 3
- Hayazashi Nidan Morita Shougi 2 wont start HOT 2
- Windows nightly download broken HOT 7
- Hayazashi Nidan Morita Shougi 1 and 2 not playable in the libretro core HOT 4
- Assault Suits Valken - game restarts after introduction HOT 2
- i cant build bsnes anymore in arch linux HOT 2
- SA-1 DMA won't transfer to bank 0x41 HOT 5
- Request to add an input display HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsnes.