Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Will SFML work fine as an audio library for a 3d game?  (Read 3639 times)

0 Members and 1 Guest are viewing this topic.

yurikoma

  • Newbie
  • *
  • Posts: 2
    • View Profile
Will SFML work fine as an audio library for a 3d game?
« 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.
« Last Edit: November 14, 2014, 09:55:32 am by yurikoma »

Gambit

  • Sr. Member
  • ****
  • Posts: 283
    • View Profile
Re: Will SFML work fine as an audio library for a 3d game?
« Reply #1 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.

yurikoma

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Will SFML work fine as an audio library for a 3d game?
« Reply #2 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.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Will SFML work fine as an audio library for a 3d game?
« Reply #3 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.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Will SFML work fine as an audio library for a 3d game?
« Reply #4 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  ;)
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*