Comments (5)
Swing is supposedly double buffered by default. It sounds like you want to implement triple buffering.
from magiccube4d.
It sounds like you want to implement triple buffering.
Yes, in a limited sense. Note that most frames would still be computed and rendered normally into swing's back buffer; i.e. normal double-buffering as usual.
It's only these gravy high-quality frames (which take something like 20 times as long to render as a normal frame, for megaminx) that would use an explicit third buffer, which would eventually be drawImage()'d into swing's back buffer (or discarded).
from magiccube4d.
Yep, that all sounds right. For me it's not a high priority since users are already in control of things needed to get decent frame rates from large puzzles they intend to invest heavily into solving. Like for sure they'd want to turn off shadows. But if you want to do it, we can discuss ways to graft it into MC4DView.
from magiccube4d.
Are you sure users are aware of what boxes they need to tick/untick in order to make a large puzzle usable? I wouldn't have guessed shadows matter (you've mentioned it to me before, but I forgot, and will again). And I imagine few people would guess that "Allow antialiasing" matters, or even what it means, even if they know what antialiasing is. (TBH "Allow antialiasing" is a cryptic phrase. Suggestion: call it what it is: "Antialias when still"; that's what I call it.)
No, I'm not interested in implementing what would be needed to make antialias-when-still usable for large puzzles. I'm basically just reporting the problem and how I think it could be fixed if anyone was interested in making it work. Personally, I think the best option would be to start by unchecking that box by default, since it doesn't feel like a production quality feature, and no one is planning to do anything that will make it into one.
I know you're not going to follow that advice, but I hope you'll at least try to make the fact that antialiasing + usability + large puzzles is a "choose two" situation discoverable, somehow. You might add tooltips, clearer checkbox labels, dire warnings if someone has a sufficiently large puzzle with antialiasing and/or shadows turned on, ... something.
If this doesn't seem important enough to you to do anything about, you could just close this issue as "Won't Fix".
from magiccube4d.
I apologize for the combative/insulting tone of my previous message.
Melinda and I are now discussing the issue in email.
from magiccube4d.
Related Issues (20)
- Please add license HOT 13
- Macro with different orientations HOT 1
- Add the ability to hide particular piece types HOT 4
- Not recognizing solved state when last move is macro HOT 1
- Shift-mask doesn't work under linux HOT 1
- Hide pieces with a sticker of a certain color to accelerate search speed
- Key for cancel + do the reverse HOT 1
- Keyboard shortcuts for speedsolving the 3^4
- Changing colors requires changing the puzzle back and forth
- Colours from facecolors.txt overlap different puzzles with the same number of cells HOT 2
- Provide a way to show macro reference stickers
- Does it work with Lenovo Ideapad 33OS? HOT 5
- "Write Macro as" does not add .macros extension HOT 2
- possible excessive repainting on mouse motion due to errant semicolon HOT 3
- antialiasing makes picture jump 1/2 pixel to upper-left when still HOT 2
- A cancel button for puzzle building
- Could not launch the .jar file on Ubuntu 22.04 LTS, Java 19.01, wayland
- Option to disable scramble hotkeys or to undo scramble HOT 1
- License clarification requested HOT 1
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 magiccube4d.