From: Robert <big...@ya...> - 2001-02-11 15:05:44
|
Je suis en vacances pour 1 semaine la...Mais ca ne veut pas dire que je vais plus bosser dessus B-)... POur les nouvelles: -le cvs marche maintenant chez moi....je sais pas d'ou ca vient...Je suis avec Oreka pdt les vances...(ben y a pas le cable ds mon patelin de 1400 habitants...)...ca vient peut-être de mon FireWall...a voir... -pour la petite demo... il me faudrait simplement un objet (cube, sphère, bouteille???) qui tourne autour de la ptite fontaine de particules...genre satelite... -Ou j'en suis??ben en fait j'ai un peu revu ce que je voulais faire...Surtout ds la gestion des canaux...La doc de fmod préconisait d'utiliser la gestion automatique de fmod...ms ca peut poser des problèmes lorsque l'on veut gérer les canaux pdt qu'ils sont en cours d'utilisation...J'y travaille... -Pour ce que ca donne pour l'instant...Comment on s'en sert... je vous donne les principales lignes de mon prog test... //... OR_SoundSystem *MyORSoundSystem=new OR_SoundSystem; MyORSoundSystem->InitOrionSound(); // On ajoute les samples en mémoire... MyORSoundSystem->AjoutSample2D("sample1","media/chimes.wav"); MyORSoundSystem->AjoutSample2D("wind","media/wind.mp3"); // on créé un objet OR_Sound... // ce qui est pratique car on peut attribuer plusieurs sons a un même sample en mémoire.. OR_Sound *son1; son1=MyORSoundSystem->newSound("wind"); // on l'utilise comment?? son1->setVolume(100); son1->mute(true); son1->son1->stop(); son1->play(); Pour lier un son a un objet... je pensais un truc du genre: son1->setObject(OR_Object) et les coordonnées du son pointeraient directement sur les coordonnées de l'objet... Voila ou j'en suis... > bein, 9-10h, ça fait carrement tot ... 12h, ce serait pft, mais bon, si ça fait trop tard, tant pis, juste, a ce moment, passe un coup de fil pour me prevenir . > sinon, vraiment cool, t'as l'air d'avoir fait du tres bon boulot :) > je te pond les specifs des .act des que possible [lundi, je pense], et j'en profite pour terminer les classes liées a l'animation. > sinon, j'ai niké un bug fantome lié au linkage du dll [y'avait 10000 warnings lors de l'import], maintenant, le linkages static/dynamic marchent nikel [rappel : pour compiler le plug in : #define > ORION_EXPORT, pour le linkage static #define STATIC_LINK] > sinon, Back, tu veux quoa comme prog test ? juste un cube qui tourne ? sinon, je vais ajouter des procedures pour selectionner un objet etant donné son nom, donc si tu veux que j'utilise les > tiennes previens moi ! j'vais aussi ajouter des proc pour chopper les managers, les matrices, etc ... > sur ce, bonne nuit ! > gab > ps : pour l'affichage, tu utilises a la fois les pvs et les bounding box ? c trop fort :) > Bon désolé gab, j'étais pas libre avant 17h00 et quand je t'ai appelé tu étais déjà parti. (en plus ici j'ai pas le net 24/24 donc j'ai pas pu lire mes mails avant maintenant). Je te ramène ta > carte demain matin (9-10h je pense que ca ira, appelles quand tu veux si ça te va pas). > Sinon j'ai profité que j'avais encore ta carte pour torcher les BSP, maintenant les PVS et bounding boxes sont gérées au poil, ca tape, d'ailleur vla une petite image en attach. Reste plus qu'à > gérer les lightmaps et les surfaces courbes et on a un quake 3 :). > A++ > Antoche _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |