http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console Apps



> Oh, I belive you can only use GLUT (OpenGL Utilities basically) in a
> console. You can find the library on the opengl page I mentioned before.
> Still, why do you want to use OpenGL or DX in console?  GLUT still opens
up
> a new window anyway. Becouse console is exactly what It means - a text
only
> window.

Hmm. That doesn't sound very interesting. I can see why nobody has any
examples of this. I guess it isn't very useful for graphics after all. Oh
well, back to my tangle of Windows stuff. Resistance IS futile :] . . .
Currently I'm using DirectX's DirectDraw to get a block of memory for
writing to manually (Using my own pixel routines as they tie in with the
rest of the engine), and flip it onto the screen. I've been looking at
OpenGL, and it seems to handle the Windows stuff much easier. I'm thinking
about trying it out. Is there a way to simply obtain a pointer to the "back
surface" memory with OpenGL instead of using all of it's pre-set object and
3D drawing functions? I'm not going to ask which is better in general (I
get the idea that that might be a bad idea), but if I want to simply set
pixel colours in memory (Doing all the calculations myself), which system
would be able to do it with the most speed and simplicity.

-- Neil Edelman
-- ICQ UIN: 705130
-- email: mailto:dreaded.neil@phreaker.net?subject=sig
-- home: http://members.xoom.com/dreadedneil
-- moop: http://moop.bizland.com
-- "My air-to-air missile overrides your air traffic control clearance"
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html