Yup was the flash player (the hell?) sorry guys :P Caue your a genius, works fantastic!
On Dec 1, 1:18 am, katopz <[email protected]> wrote: > Hey Moley > > try update your flash player, both plugin/activex and flashplayer.exe on > your machine > > hth > > 2009/11/30 Cauê Waneck <[email protected]> > > > > > > > Hey Moley! > > > I will look into the AWData loader ASAP. There was a very recent fix on the > > as3 trunk, I will update the haXe version as well. > > > About that zoom problem, I have seen a bug like this on a specific version > > of the flash 10 player. Are you sure this is not be the problem? You can try > > playing the trunk as3 swfs examples and see if they have the same zoom > > problem. Also, I've built them all before releasing, and the results were as > > expected, except for a problem with the uv data of the md2 models, that I'm > > still tracking down. Maybe you could try playing the swfs exactly as they > > are from the svn, and see if they work. I might have done something wrong > > when updating the svn. > > > Cheers!! > > Cauê > > > 2009/11/30 Moley <[email protected]> > > > Okay I had some time to sit with it abit longer, heres my finding's > >> all in all this is starting to shape up really well, very excited! > > >> Actually the ExMD2Cubic works, just very small as you said. > >> Basic_LoadModel works, small > >> ExMQO works, small > >> Advanced_MultiMario something seriously wrong, zoom in looks like > >> weird parasites instead of mario :P > >> Advanced_Mario1000 does something but cant see anything?? > >> Basic_InteractiveObjects mesh seems borked (maybe because its so > >> small?) > >> ExLayer works, small > >> ExCollada hangs for abit and i cant see anything > > >> ExSphereSpeedTest has this error onclick > >> RangeError: Error #1125: The index 2 is out of range 2. > >> at away3dlite.core.render::FastRenderer/collectFaces()[../src/ > >> away3dlite/core/render/FastRenderer.hx:57] > >> at away3dlite.core.render::FastRenderer/collectFaces()[../src/ > >> away3dlite/core/render/FastRenderer.hx:43] > >> at away3dlite.core.render::FastRenderer/render()[../src/away3dlite/ > >> core/render/FastRenderer.hx:191] > >> at away3dlite.containers::View3D/render()[../src/away3dlite/ > >> containers/View3D.hx:567] > >> at away3dlite.templates::Template/onEnterFrame()[../src/away3dlite/ > >> templates/Template.hx:38] > > >> I personally got an error when loading an external AWD > > >> The error on build is > >> src/away3dlite/loaders/AWData.hx:96: characters 7-17 : Local variable > >> m used without being initialized > > >> and my code is > > >> package; > >> import away3dlite.templates.FastTemplate; > >> import away3dlite.loaders.Loader3D; > >> import away3dlite.loaders.AWData; > > >> class Main extends FastTemplate { > > >> override function onInit():Void { > >> title += " : Haxe Example."; > >> var loader:Loader3D = new Loader3D(); > >> //loader.addOnSuccess(onLoaderSuccess); > >> var awd: AWData = new AWData(); > >> loader.loadGeometry('Giraffe.awd', awd); > >> //scene.addChild(loader); > > >> } > > >> public function new() { > >> super(); > >> } > > >> public static function main(): Void { > >> flash.Lib.current.addChild(new > >> Main()); } > >> } > > >> On Nov 30, 6:00 pm, Moley <[email protected]> wrote: > >> > Hey Cauê > > >> > I recompiled the hxml's with the latest svn checkout > >> > (/trunk/haxe/Away3DLite/debug/ and /trunk/haxe/Examples/Away3DLite- > >> > dbg/) > > >> > But the MultiMario examples dont seem 100%, nor does the ExMD2Cubic > >> > and a few others... > >> > did I do something wrong? > > >> > On Nov 26, 1:36 pm, Cauê Waneck <[email protected]> wrote: > > >> > > Hey! > > >> > > It's really nice to see that you're using away3dlite with haXe! I've > >> updated > >> > > the away3dlite haXe trunk to the latest away3dlite version, and now > >> all > >> > > demos return the expected result, as you can see there! > > >> > > I hope you all enjoy it! Please report any inconsistency with the as3 > >> > > version, I will be eager to solve it! > > >> > > The only real change in the syntax is that the width and height > >> properties > >> > > of some primitives (such as plane) must be accessed as _width and > >> _height, > >> > > due to haXe's limitations regarding flash9 native getters/setters > >> override. > >> > > A documentation and examples will be made when the optimized version > >> is > >> > > released, and the good news is that it's already in production, and > >> many > >> > > performance surprises will come! : ) > > >> > > Cheers! > > >> > > --Cauê > > >> > > 2009/11/20 Moley <[email protected]> > > >> > > > Heres my temporary solution to using away3dlite in haxe, while I > >> wait > >> > > > for the majestic Cauê (and other kings of away3d) and their > >> wonderful > >> > > > work on the real haxe port. > > >> > > > The zip i just uploaded includes > >> > > > - stubs > >> > > > - the swf library of away3dlite > >> > > > - a flashdevelop project > >> > > > - main class with empty fasttemplate > > >> > > > You will have to edit the path to the swf lib (right click project > > >> > > > properties> compiler options > additional compiler options) > > >> > > > Seems to work well so far (added a sphere with bitmapfilematerial) > > >> > > >http://groups.google.com/group/away3d-dev/web/Away3DliteHX.zip > > >> > > > Enjoy! > > -- > katopzhttp://www.sleepydesign.com
