Advertisement

Strictly OpenGL question and nothing more

Started by July 19, 2002 12:53 AM
15 comments, last by savagerx 22 years, 4 months ago
I understand that OpenGL''s GLUT caters very well for graphics related tasks. But how about others like sounds, network etc. that DX do have?
The road may be long, wind may be rough. But with a will at heart, all shall begone. ~savage chant
nope. openGL only does graphics.

Its my duty, to please that booty ! - John Shaft
Advertisement
The OpenGL analog of DirectX is SDL. It''s a great library—and cross-platform, just like you''d expect.
Please explain if SDL is packaged as part of OpenGL SDK?
quote:
The OpenGL analog of DirectX is SDL. It''s a great library—and cross-platform


The road may be long, wind may be rough. But with a will at heart, all shall begone. ~savage chant
SDL (Simple DirectMedia Layer) is not an included part of OpenGL, but check: http://www.libsdl.org
I don't know if you are aware of the fact that you can just combine OpenGL and DirectX. E.g. in my engine I use OpenGL for all the graphics and DirectX (-Play and Input) for networking and input. I use OpenAL for the sound support.

[edited by - Roquqkie on July 19, 2002 5:49:46 AM]
Does OpenGL or DirectX works on MS''s .NET platform?
Advertisement
Nope, DirectX doesn''t work on Microsofts .NET :D
SDL is not directly connected to OpenGL, but SDL is practically designed to use OpenGL for 3D graphics. It performs very well and is cross-platform, so there''s no logical reason to use DirectX over SDL, even if you''re only targetting Windows. Beyond that, SDL is an easier API to use than DirectX (DirectX is notorious for requiring obscene amounts of set-up code, structure filling, etc.).

Someone made a C# binding for OpenGL, though. I forget what it''s called, but Google should do the trick. Apparently, it''s quite good.
Pardon my ignorance, then what''s .NET good for?
web services only?
quote:
Pardon my ignorance, then what''s .NET good for?
web services only?

Not only, the .NET include also a new wave of languages distributed by microsoft, including C#, VisualBasic .NET and others.

quote:
Nope, DirectX doesn''t work on Microsofts .NET :D

DirectX 9.0 will (normaly) include SDK for these langades when it comes out...

quote:
Someone made a C# binding for OpenGL, though. I forget what it''s called, but Google should do the trick. Apparently, it''s quite good.

Here are the C# bindings for SDL: http://csgl.sourceforge.net/

This topic is closed to new replies.

Advertisement