View Full Version : OpenGL in Win32(w/o GLUT)
02-12-2001, 06:39 AM
Okay, okay I KNOW this question gets asked about every 2 minutes, but just exactly HOW do you create a Win32 window for OpenGL without using GLUT?
I've read through the _ENTIRE_ Win32 SDK topic on it, pulled out all the examples(get a DC, choose a PixelFormat, set PixelFormat, Choose Rendering context, make rendering context current/not current), set them in the correct order, and THAT dosen't work! I'm _DESPERATE_!
a full chunk of working code would be nice, since then I can see something that's easy to understand...Damn you, Microsoft...Damn you... http://www.opengl.org/discussion_boards/ubb/smile.gif
02-12-2001, 07:09 AM
Look over at nehe.gamedev.net
Hope they're online though
02-13-2001, 04:59 AM
Nope, can't access it... could be the college firewall, though: it dosen't seem to like the word 'game' for some reason. Can't imagine why http://www.opengl.org/discussion_boards/ubb/smile.gif
02-13-2001, 05:18 AM
It (the url) has no www in front of it (http://nehe.gamedev.net). If it's the firewall, I would ask the administrator to allow that page, since it's very interresting. The site is up, just tested it.
02-13-2001, 05:20 AM
If your browser, and the firewall don't do a reverse lookup, that might work.
02-13-2001, 06:36 AM
Nope, already tried the IP address, and I know it hasn't got a www.
Anyway all I wanted was a bit of code...
But, if anyone's got his first(smallest) tutorial, e-mail it to me http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif
Oh, & the 'admin' staff here have _no_ control over the website: It's all handled off-site, thru don.ac.uk http://www.opengl.org/discussion_boards/ubb/frown.gif
Thanks for all the help though.
PS>> Anyone know of an alternate site(maybe a mirror: minus the 'game')???
02-13-2001, 06:54 AM
There are LOTS of sites that have win32 example code on it. Just do a search on google, you will find plenty of hits.
Also, I think the FAQ has info on this, so you may want to check it out also. (FAQ link is on the main page of this site)
02-14-2001, 06:32 AM
AHA!!! Thanks, everyone: got some(hopefuly) working examples, now...
02-15-2001, 09:20 AM
If you use MFC, you might be interested in some simple classes that well integrate with MFC: http://shiptech.tuniv.szczecin.pl/~weyna/OpenGL
[This message has been edited by Voytec (edited 02-15-2001).]
02-16-2001, 05:35 AM
MFC? Microsoft Foundation Class, right?
Never used it, & don't intend to http://www.opengl.org/discussion_boards/ubb/smile.gif
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.