SFML community forums
General => General discussions => Topic started 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.
-
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.
-
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.
-
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.
-
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 ;)