-
-
Notifications
You must be signed in to change notification settings - Fork 4
Widescreen Support #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, and thanks for creating this issue! I think, though, that this is not an opengx task, since opengx is not responsible for configuring the TV mode; this is accomplished by the integration library (SDL, freeGLUT, glfw, etc), which should give you a way to know whether pixels are stretched. It's not an easy task anyway, because the Wii case is a bit unique: these libraries are primarily intended for PCs or devices with an embedded screen, where pixels are always square. SDL has SDL_GetDisplayDPI(), so we might be able to do something there, by reading the horizontal and vertical dpi values, and use them to setup the aspect ration in opengx. I would recommend you to file a bug to the integration library you use, since this issue is not really specific to opengx (or even OpenGL): you'd have the same problems if we were drawing directly to the framebuffer. |
Ah I see |
Feature Request
What feature are you suggesting?
Overview:
Support for Anamorphic Widescreen
Smaller Details:
For Widescreen on the Wii, the guOrtho width needs to be different from the viewport width (e.g. viewport is 640x480, but orthographic projection uses 854, and that's how anamorphic is done), but there is no way I can see to do this (or to modify the code to handle this while beeing sure it won't break something, since setting the guOrtho width to (width * 16.0f / 9.f) could work, but I fear it wouldn't be enough for this kind of thing since the app needs to actually expect to be displaying at 854)
I'm also not sure if OpenGX needs more changes than it's Orthographic Projection's width
Nature of Request:
Why would this feature be useful?
Allows people with their Wii's setup for widescreen to have apps using OpenGX to display properly
The text was updated successfully, but these errors were encountered: