SFML community forums

General => General discussions => Topic started by: yurikoma on November 14, 2014, 09:47:53 am

Title: Will SFML work fine as an audio library for a 3d game?
Post by: yurikoma on November 14, 2014, 09:47:53 am
I am making a 3d game, and wanted to use SFML mainly as my audio library, and was wondering if there would be any conflicts, or if this will work perfectly fine as an audio library in my 3d game.
Title: Re: Will SFML work fine as an audio library for a 3d game?
Post by: Gambit on November 14, 2014, 11:00:06 am
Conflicts with what? You havent given any information to base an answer off. If you are making a 3D game from scratch with SFML (and presumably OpenGL) then there would be no conflicts because SFML does not conflict with itself.
Title: Re: Will SFML work fine as an audio library for a 3d game?
Post by: yurikoma on November 14, 2014, 11:06:26 am
yeah so far i have only decided on using opengl, so i was wondering if there were any known conflicts i should watch out for when working in a 3d environment.

thanks for the feedback.
Title: Re: Will SFML work fine as an audio library for a 3d game?
Post by: Nexus on November 14, 2014, 12:36:51 pm
As you haven't clarified anything in your reply: No, there are no conflicts ;)

The SFML Audio module is completely independent of rendering or windowing. You can determine the coordinate system it uses, and align it to your own 3D graphics coordinate system.
Title: Re: Will SFML work fine as an audio library for a 3d game?
Post by: Hapax on November 14, 2014, 07:04:22 pm
I find it rare to hear of people wanting to use the audio module of SFML more than the graphics module (for example).

That said, it doesn't mean that it's wrong to do this. I have had quite a lot of fun with the audio module and it doesn't require any other module (well, it does obviously require system module).

One thing you didn't mention though, is whether or not you are still using SFML for your window, not that it really makes any difference  ;)