4k's: display adapter choice!
category: general [glöplog]
iq: great stuff.
AFAIK there's no such thing as adapter selection in opengl, so it's a bit cumbersome to make a window at the other monitor and maybe change it's resolution.
A lot them uses pixel coordinates to avoid setting up texcoords, vertex shader etc, and then have some gl_FragCoord.xy/vec2(1280,720) etc in the fragment shader.
However if not doing that (I'd say it's mostly relevant for 1k) I think ppl should just do a version running current desktop resolution - it also takes less space than changing resolution...
Quote:
Of course for current trendy "we only render one triangle" 4ks it might even work *g*
A lot them uses pixel coordinates to avoid setting up texcoords, vertex shader etc, and then have some gl_FragCoord.xy/vec2(1280,720) etc in the fragment shader.
However if not doing that (I'd say it's mostly relevant for 1k) I think ppl should just do a version running current desktop resolution - it also takes less space than changing resolution...
good points psycho.
but at the end of the day it would just be best if intros had a dialog, in a separate .exe if need be :)
just out of curiosity, how does opengl on windows handle multiple monitor/head/adapter setups?
but at the end of the day it would just be best if intros had a dialog, in a separate .exe if need be :)
just out of curiosity, how does opengl on windows handle multiple monitor/head/adapter setups?
It doesn't. Though for windowed apps the drivers are good enough to figure things out nowadays (i can still remember the times when i had to disable the second screen whenever i wanted to start an opengl app), so the good old "make window decorationless and always-on-top, resize to coordinates of the desktop it's on and then pray" technique works quite well :)
... which is of course way more overhead than wglFullscreenPleaseKTHXBYE().
Yea, I used windowed mode some time, but the dang borders suck. sucksucksuck. El bordars suckez. Et bordare suckerinare. SIE SAUGEN!
anyone have gargajs code available? untergrund.net seems to be broken.
kb_: I would just like to say that words like "plethora", being used correctly, gets me all jiggly.
blekksprutår, sa æ
An exe loader has been suggested before, I think it's not a bad idea. Have the exe itself that runs at some default res + settings, plus a nice gui to configure the command line parameters. We could make this pretty generic by having a standard GUI app, and supplying some kind of config file with the 4k that tells the gui what settings it supports and what the corresponding command line parameter is.
And btw, this is actually way more useful on mac (perhaps linux too?) where running a 4k from an icon isn't really practical, and digging out the terminal is a pain.
Alternatively, a 4k that runs with defaults plus a 2nd exe that has a nice gui + parameters where we don't care what size it is?
And btw, this is actually way more useful on mac (perhaps linux too?) where running a 4k from an icon isn't really practical, and digging out the terminal is a pain.
Alternatively, a 4k that runs with defaults plus a 2nd exe that has a nice gui + parameters where we don't care what size it is?
psonice, name 10 4kb's that run on mac :-)
True, but I can probably name 10 mac demos that have to be run from the terminal. Ok, maybe 5. ;) It would be useful anyway.
The dreaded sixteen-legged octopussy! (No, don't actually click the link)
I DID NOT CLICK THE LINK!
also: i also like the idea of supplying a bigger sized exe with a menu. look at some trsi 4ks which have done this.
also: i also like the idea of supplying a bigger sized exe with a menu. look at some trsi 4ks which have done this.
How about an 'AUTO-DIALOG' option in Crinkler? Leave it yet again to the demoscene 4k hero duo to save the chaotic-lazy party coders from our own volatile selves.
Btw. Can you edit resource dialogs in VS express 2010? Express version of 2005 and 2008 is out. I'm guessing the resource compiler is available so you can hardcode stuff in the .rc file if need be. Beats hacking the binary code for dialogs anyway. .. or messing with win32 widgety things.
Btw. Can you edit resource dialogs in VS express 2010? Express version of 2005 and 2008 is out. I'm guessing the resource compiler is available so you can hardcode stuff in the .rc file if need be. Beats hacking the binary code for dialogs anyway. .. or messing with win32 widgety things.
or be a man and write your own damn display setup code rasmus
oh wait.. :)
oh wait.. :)
props to gargajs setup supply btw BUT HOW FUCKING HARD CAN IT BE? THE TIME YOU 4K GUYS SPEND ON DISCUSSING THIS AMOUNTS TO ABOUT 400 TIMES THE TIME YOU NEED TO WRITE A WORKING DIALOG + SETUP
vid plz!
go make a fullscreenable demo about it
one thing i would certainly do if i'd were to make a 4k again is have some sort of build system where adding another custom config would automatically result in a new executable at the end of the build.
superplek: And the time you spent on this thread is about 400 times the time it would take you to swap your monitor cables.
Why the hell do you need this fixed anyway. Damn your luxury 'dual monitor' problems! What next? "I have too much gold"? "The least attractive one says 'save it for me'"?
gargaj: thanks
Quote:
And btw, this is actually way more useful on mac (perhaps linux too?) where running a 4k from an icon isn't really practical, and digging out the terminal is a pain.
When digging out a terminal on Linux is pain, you're doin' it wroooong ;)