<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Here's the way to use md2 importer :<br><br> // import ds3<br> import d3s.net.papervision3d.objects.Md2;<br> <br> public class ...<br> {<br> ...<br> ...<br> var ninja = new Md2(new BitmapFileMaterial("assets/map.jpg"), "assets/model.md2", 7, 7);<br> player.addChild(ninja, "skin");<br><br><br>That's all. Hope that helps<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : Rafeo <rafa.rafeo@gmail.com><br>À : papervision3D@osflash.org<br>Envoyé le : Samedi, 1 Septembre 2007,
2h06mn 08s<br>Objet : [Papervision3D] D3S_Importer_Library.zip (Philippe Ajoux)<br><br><div><br>Ok, I back to try with md2 files, this time I'm trying with the <br><a target="_blank" href="http://www.d3s.net/phil/pv3d/D3S_Importer_Library.zip">http://www.d3s.net/phil/pv3d/D3S_Importer_Library.zip</a> Philippe Ajoux's<br>Library . <br>I opened again a blank AS3 Flash File and entered the Md2Test.as as Document<br>Class. In my publish settings I entered<br>C:\Flash\PaperVision\trunk\as3\trunk\src in the classpath list but I got<br>this error. (I'm using the revision #237). <br>I saw some really cool example made with this library at<br><a target="_blank" href="http://www.zedaidai.com/blog/">http://www.zedaidai.com/blog/</a>.<br>Thanks. :D .<br><br>DisplayObject3D: null<br>DisplayObject3D: null<br>TypeError: Error #1007: Instantiation attempted on a non-constructor.<br> at
Md2Test/::init3D()<br> at Md2Test$iinit()<br>-- <br>View this message in context: <a target="_blank" href="http://www.nabble.com/D3S_Importer_Library.zip-%28Philippe-Ajoux%29-tf4363036.html#a12435895">http://www.nabble.com/D3S_Importer_Library.zip-%28Philippe-Ajoux%29-tf4363036.html#a12435895</a><br>Sent from the Papervision3D mailing list archive at Nabble.com.<br><br><br>_______________________________________________<br>Papervision3D mailing list<br>Papervision3D@osflash.org<br><a target="_blank" href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><br></div></div><br></div></div><br>
<hr size="1">
Ne gardez plus qu'une seule adresse mail ! <a href="http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </body></html>