PDA

View Full Version : will opengl + direct sound work?



suju david
10-17-2000, 08:32 PM
I am a new commer.I want to know if OpenGL and DirectSound(from DirectX) work together in one applicatio.

Any sample available!.

Thanks,
S David.

Marc
10-17-2000, 09:19 PM
Yes, it works.
Sorry, I don't have any sample.

cire
10-18-2000, 12:45 PM
Sure it will work. This is a complex 3D engine as an example, but you might want to check out:
http://www.fly3d.com.br/flysdk/index.htm

It was linked off the main www.opengl.org (http://www.opengl.org) site.

The easiest thing to do is get comfortable with OpenGL basics (get an app up and running), then play around with the DirectSound samples in the DirectX SDK. Merging code shouldn't be too hard ...

/ec

10-30-2000, 02:18 AM
The DirectX system is not one big thing. You can use any of the parts seperately, which i tink are:
DirectPlay (networking)
DirectSound (guess)
DirectInput (handles all input & force feedback)
DirectDraw
Direct3d (you wont need these if you are using opengl, but it IS possible)
DirectMusic (plays MIDI files and mixes)
look up tutorials and stuff on the subject.