From: <nik...@al...> - 2002-11-17 18:15:00
|
En fait, j'ai max4, mais il me manque le SDK ... Mais je vais installer max5, je vais me lancer dans le compile. Sinon, je suis en train de réécrire le wrapper LUA, ça va être tip top, il y aura des class OR_LUA_XXX (XXX=Float,String,Bool,Array,Table) qui permettent de faire hyper simplement le link LUA<--> programme C++. je vais faire les modifs dans le skin_test pour que tu vois comment c trop pratique. Gabriel ----- Original Message ----- From: "Antoche" <an...@al...> To: <ori...@li...> Sent: Sunday, November 17, 2002 6:44 PM Subject: RE: [Orion3d-dev] string > OK cool > > Pour les krd, y'a énormément de chances qu'ils ne soient pas à jour. Le > mieux est quand même que tu te dégottes un MAX4. J'ai pas non plus mis les > krd utilisés par animation_test, parce qu'ils étaient vraiment trop pourris. > Si qq'un a des modèles pratiques pour tester le blending d'anim... (genre > des modèles skinnés à base de bones). > > Antoche > > -----Message d'origine----- > De : ori...@li... > [mailto:ori...@li...]De la part de Gabriel > Peyré > Envoyé : dimanche 17 novembre 2002 12:14 > À : ori...@li... > Objet : [Orion3d-dev] string > > > Une update mineure mais qui a son importance. > J'ai changé la classe OR_String en la simplifiant pour qu'elle utilise > les string STL. Maintenant, normalement, la passage string<->OR_String est > transparent. > J'ai gardé un minimum de fonctionnalités (en faite, seules celles que l'on > utilisaient, genre la serialization). > Du coup, c nettement plus propre :) et ça compile plus vite. > > J'ai aussi réécrit avec mes doigts boudinnés un nouveau string tokenizer > super zoli, toche, tu peux > l'utiliser (j'ai modifié le skin_test pour parser le fichier avec). > Voici un exemple : > > OR_StringTokenizer path(name, OR_String("/") ); > for( IT_StringTokenizer it=path.begin(); it!=path.end(); ++it ) > { > OR_String rep = *it; > cout << rep << ", cool" > } > cout << "." << endl; > > sympa, non ? > > A priori, les string marchent (entre autre le shell marche nikel, donc c bon > signe). > D'ailleur, Toche, si tu veux faire des fichiers de config pour des projets > ambitieux (une démo future ?), > je te conseille vivement d'utiliser LUA, c fait pour ça, c super pratique. A > priori, le wrapper est largement suffisant > (mais on pourra ajouter des fonctions helper). Normalement, tu peux demander > au wrapper de parser un fichier > (dans lequel tu assignes des valeurs aux variables de config), puis, tu > demandes de récupérer les valeurs, suivant leur type. > tip top design. > > Sinon, j'ai qq pbm à l'import car mes krd semblent pas a jour (j'espere). > D'ailleur, je vais checker les modifs que tu as faites sur samples/. > Je vais essayer de recompil' le plugin, mais j'ai pas le sdk, seulement qq > .h et .lib qui trainent ... dur la vie ... > > Gabriel. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Orion3d-dev mailing list > Ori...@li... > https://lists.sourceforge.net/lists/listinfo/orion3d-dev > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Orion3d-dev mailing list > Ori...@li... > https://lists.sourceforge.net/lists/listinfo/orion3d-dev |