vendredi 6 mars 2009

KALEngine new feature




new important improvment : Phonon support and ogg/vorbis player.
I just want to signal a point about KALEngine and phonon. KALEngine will not be a competitor of phonon. It's not same! Phonon is for sound application like a media player. It works like this :

MediaObject *media = new MediaObject(this);
connect(media, SIGNAL(finished()), SLOT(slotFinished());
media->setCurrentSource("/home/username/music/filename.ogg");
media->play();


While KALEngine is for games sound. It provide multi-channel players , 3d sound and some effects like Doppler effect. It works like this :

KALEngine * soundEngine = new KALEngine();
KALSource * source = new KALSource("explosion.wav", soundEngine);
source->play();
source->setPosition(x,y,z);
delete soundEngine;


Advantage of phonon :
- only qt dependent
- load a lot of sound file, like mp3 and ?video?

Disadvantage of phonon :
- not easy to use for games! Particulary the multi-channel !
- no 3d sound manager.

Advantage of KALEngine :
- based on openAL. Very Powerfull ( all 3d games use this)
- can play many sound in the same time
- easy to create 3d sound, velocity, doppler...
Disadvantage of KALEngine :
-Can read only wav and ogg file
- depend of : libsoundFile, openAL, Ogg, Vorbis, alut
- too young

Our small team ( DrIDK, packadal , smarter ) is joinable on irc : #kglengine if you want more information about KGLEngine/KALengine developpement.
And just for your fun : here an amazing optic illusion : The color code of case A is the same of case B.

2 commentaires:

kdegames a dit…

Go, go Sasha!!! KAME rocks!!!

luli santojanni a dit…

ME DIO FEITO SALIO