|
|
starting with opengl under windows...help
i know win32...mfc..c++...pretty well...am looking
into opengl to help in rendering some 2D graphics.
i assume opengl does anti-aliased lines, fonts etc.
can someone point me in the direction of how one
starts using the latest opengl api.
i'm using vc 6.0 and i think that comes with opengl 1.1...
i'd like to use the latest.
|
|
0
|
|
|
|
Reply
|
Tashkant
|
1/1/2004 10:49:47 PM |
|
"Tashkant" <goahead@spamme.com> ha scritto nel messaggio
news:fu1Jb.109241$0P1.105336@twister.nyc.rr.com...
> i know win32...mfc..c++...pretty well...am looking
> into opengl to help in rendering some 2D graphics.
>
> i assume opengl does anti-aliased lines, fonts etc.
>
> can someone point me in the direction of how one
> starts using the latest opengl api.
>
> i'm using vc 6.0 and i think that comes with opengl 1.1...
> i'd like to use the latest.
>
Try the Tutorial section of www.gametutorials.com
it helped me to start using OpenGL with Visual C++ and MFC framework
Bye
Walt
|
|
0
|
|
|
|
Reply
|
Hawkiller
|
1/1/2004 11:25:55 PM
|
|
Tashkant wrote:
> i know win32...mfc..c++...pretty well...am looking
> into opengl to help in rendering some 2D graphics.
>
> i assume opengl does anti-aliased lines, fonts etc.
>
> can someone point me in the direction of how one
> starts using the latest opengl api.
>
First of all you have to decide how you're going to
handle all the windowing, user interface, mouse, etc.
Are you going to use MFC, GLUT, Win32...? When you
figure that part out then you can get down to OpenGL.
> i'm using vc 6.0 and i think that comes with opengl 1.1...
> i'd like to use the latest.
>
That's the latest. Extra features are added by your
graphics card driver, not the library file. You'll
get to that later...
--
<\___/> For email, remove my socks.
/ O O \
\_____/ FTB. Why isn't there mouse-flavored cat food?
|
|
0
|
|
|
|
Reply
|
fungus
|
1/1/2004 11:36:10 PM
|
|
Dnia Thu, 01 Jan 2004 23:36:10 GMT, fungus pope�ni�(a):
>> i'm using vc 6.0 and i think that comes with opengl 1.1...
>> i'd like to use the latest.
>>
>
> That's the latest. Extra features are added by your
> graphics card driver, not the library file. You'll
> get to that later...
Huh, latest is 1.1?? Latest specs are 1.5 and Mesa conforms with that...
I'm not yet programming in OGL but I'm gathering docs...
Mesa3D:
http://www.mesa3d.org/
As I noticed Glut i quite usefull but standard version is outdated, from
1998 or so... but there is goooooood alternative:
FreeGlut
http://freeglut.sourceforge.net/
--
Zodiaq -- "Blizny przypominaja nam, ze przeszlosc byla rzeczywista"
...: DL? UL? =>> Monitoreq.exe :.=>.: 3W http://www.zodiaq.w.pl :..
..: @: piotreq@astercity.net :.: O2 zodiaq@tlen.pl :.: GG: 316452 :.
|
|
0
|
|
|
|
Reply
|
Zodiaq
|
1/2/2004 11:18:36 AM
|
|
Zodiaq wrote:
> Huh, latest is 1.1?? Latest specs are 1.5 and Mesa conforms with that...
> I'm not yet programming in OGL but I'm gathering docs...
Version 1.1 is the latest you can get .lib files in Win32. All the extra
stuff is added via the extension mechanism. A function wglGetProcAddress
is used to obtain the function pointers to the additional functions the
OpenGL driver may supply.
At least under Linux you can get libraries, containing all the stuff,
but I'd rather suggest to load extensions via the wglGetProcAddress method.
Wolfgang
|
|
0
|
|
|
|
Reply
|
Wolfgang
|
1/2/2004 11:21:58 AM
|
|
Zodiaq wrote:
> Huh, latest is 1.1?? Latest specs are 1.5...
The only lib file you'll get out of Microsoft is
version 1.1 (it hasn't changed since 1995). You
wouldn't want them to have competition for their
per API would you....?
Luckily, you can still use 1.1 to access the latest
functions. As I said, you'll get to that later.
--
<\___/> For email, remove my socks.
/ O O \
\_____/ FTB. Why isn't there mouse-flavored cat food?
|
|
0
|
|
|
|
Reply
|
fungus
|
1/2/2004 12:18:59 PM
|
|
speaking of which...do you know where i can download these
header files.
gl/wglext.h
gl/glext.h
they seem to be missing - i have vc 6.0 and installed nothing
opengl specific.
---
i did a quick read of mesa - that seems to be not hardware
supported.
"Wolfgang Draxinger" <wdraxinger@darkstargames.de> wrote in message
news:bt3k8k$2er$1@svr7.m-online.net...
> Zodiaq wrote:
>
> > Huh, latest is 1.1?? Latest specs are 1.5 and Mesa conforms with that...
> > I'm not yet programming in OGL but I'm gathering docs...
>
> Version 1.1 is the latest you can get .lib files in Win32. All the extra
> stuff is added via the extension mechanism. A function wglGetProcAddress
> is used to obtain the function pointers to the additional functions the
> OpenGL driver may supply.
>
> At least under Linux you can get libraries, containing all the stuff,
> but I'd rather suggest to load extensions via the wglGetProcAddress
method.
>
> Wolfgang
>
|
|
0
|
|
|
|
Reply
|
Tashkant
|
1/2/2004 12:22:03 PM
|
|
Tashkant wrote:
> speaking of which...do you know where i can download these
> header files.
>
> gl/wglext.h
> gl/glext.h
>
> they seem to be missing - i have vc 6.0 and installed nothing
> opengl specific.
>
http://oss.sgi.com/projects/ogl-sample/registry/
--
<\___/> For email, remove my socks.
/ O O \
\_____/ FTB. Why isn't there mouse-flavored cat food?
|
|
0
|
|
|
|
Reply
|
fungus
|
1/2/2004 12:30:43 PM
|
|
Maybe check out glew (http://glew.sourceforge.net/) to manage the extension
in a more humanitarian manner. Examples are provided in the library.
Bart
"fungus" <openglMY@SOCKSartlum.com> wrote in message
news:TvdJb.2345799$uj6.5712620@telenews.teleline.es...
> Tashkant wrote:
>
> > speaking of which...do you know where i can download these
> > header files.
> >
> > gl/wglext.h
> > gl/glext.h
> >
> > they seem to be missing - i have vc 6.0 and installed nothing
> > opengl specific.
> >
>
> http://oss.sgi.com/projects/ogl-sample/registry/
>
>
> --
> <\___/> For email, remove my socks.
> / O O \
> \_____/ FTB. Why isn't there mouse-flavored cat food?
>
>
|
|
0
|
|
|
|
Reply
|
Bart
|
1/2/2004 4:32:35 PM
|
|
|
8 Replies
138 Views
(page loaded in 1.071 seconds)
|
|
|
|
|
|
|
|
|