TMDC'08
category: general [glöplog]
To give a little boost to the upcoming TMDC, I did some research on whether it's possible to use OpenGL in textmode. The answer is yes-ish. I've posted the source to my proof of concept on me homesite at http://iki.fi/sol
Basically you can't use hardware rendering, but the old and trusty microsoft's software implementation works. So while you don't get crazy parallelism and shaders, you still get the convenience of OpenGL fixed pipeline.
Basically you can't use hardware rendering, but the old and trusty microsoft's software implementation works. So while you don't get crazy parallelism and shaders, you still get the convenience of OpenGL fixed pipeline.
can't you just render to a texture and lock it? surely shoving 80*50*3 bytes of data can't hurt the AGP/PCI-X
Switching to fullscreen causes you to lose the opengl context.
This *so* hurts my oldskool mentalities. While I am thinking of whether or not it's feasible to do a demo on an old PC *at all*, with routines optimized for text mode, you guys are talking about using OpenGL and just rendering to textmode as an afterthought.
Maybe TMDC should really be called the 80x50 compo? :-)
Maybe TMDC should really be called the 80x50 compo? :-)
*sigh*. That's not a discussion I'm about to get into again; this is simply one more way to get there. Simply trying to lower the barrier of entry..
IMO, best textmode demos don't even use libcaca or some other rgb->textmode lib.
IMO, best textmode demos don't even use libcaca or some other rgb->textmode lib.
sol: ...but in direct3d, you can reset a lost device, so it should work? (in theory)
iIve used opengl and shaders with textmode.
-Created a dummy glut window for the rendering context but didn't show it.
-Ordered gl to render to a texture which was controlled by cg code.
-Created a windows terminal.
-Read the texture back to main memory and filled the terminal with the rgb->text converter i used in this one.
It worked as I expected but i didn't use it anywhere, it was just a proof of concept. And in my opinion it's not more cheating than using caca.
-Created a dummy glut window for the rendering context but didn't show it.
-Ordered gl to render to a texture which was controlled by cg code.
-Created a windows terminal.
-Read the texture back to main memory and filled the terminal with the rgb->text converter i used in this one.
It worked as I expected but i didn't use it anywhere, it was just a proof of concept. And in my opinion it's not more cheating than using caca.
Dont forget Buz's framework: very low barrier to entry there ^_^
http://pouet.net/prod.php?which=51945
How much opengl would it take to render a textured, fogged, wavey tunnel? Clockwerckk used the ray-cylinder intersection to do that in a handful of lines.
http://pouet.net/prod.php?which=51945
How much opengl would it take to render a textured, fogged, wavey tunnel? Clockwerckk used the ray-cylinder intersection to do that in a handful of lines.
clockwerckk?
optanes: tried that as well, works fine as long as running windowed; switch to a full-screen textmode window, and bang, it's gone.
Starting the app from a fullscreen terminal doesn't work either..
Starting the app from a fullscreen terminal doesn't work either..
I'm a Vista fanboy, I can't even switch the terminal to fullscreen :)
Optanes: well, I guess it was just about time for microsoft to wreck TMDC a bit more =)
clockwerck, last years' winner: http://www.pouet.net/prod.php?which=43567
It's a hassle that vista doesn't do fullscreen console - I'll check whether 7 does, and file a bug against it : D
It's a hassle that vista doesn't do fullscreen console - I'll check whether 7 does, and file a bug against it : D
whens the deadline again? the first site i find when googling for tmdc says it has ended. sol, did you update all pages? :-)
Added a note to taat.fi/tmdc regarding the new compo url.