hi why not try the following way I loaded my perfect all 3ds models, we should note that it is much better to try textures and 3DMax Studio that things are not used as materials, and others, only texture images, I always use this code, and it has worked perfectly in all projects
first create a variable var object3DS: Loader3D; then assemble, object3DS = Max3DS.load (assets/objeto.3ds ", (texturePath: assets /)); view.scene.addChild (object3DS); if you need access to properties object3D then use the following code for example object.handle and then the 3D object properties such as an alpha object3DS.handle.ownCanvas = true; object3DS.handle.alpha =. 5; I hope this will be helpful whenever I use it and have not had any flaws. the same way you can apply the error events, success, load. On 24 mar, 13:53, Aurélien Nauwelaers <[email protected]> wrote: > My 3DS or DAE loadings happen to freeze, apparently randomly and > without dispatching any event. > > This is the code I use to load 3DS files : > > var initObject:Object = { useGroups:true }; > var parser: AbstractParser = new Max3DS( initObject ); > var loader:Loader3D = new Loader3D(); > loader.addOnProgress( onProgress ); > loader.addOnSuccess( onSuccess ); > loader.addOnError( onError ); > loader.loadGeometry( urlObjet, parser ); > > (Plus necessary callback functions.) > > Most of the times it works perfectly, onProgress and onSuccess are > called when necessary and the model appears. > But sometimes (about 10% chances), the loading gets stuck at either > 0%, 100% (frequent) or any random value between them, according to the > last call of onProgress. > In such case, onProgress stops, and neither onSuccess nor onError > functions are called. The model isn't displayed, even with permanent > view.render(). > > I use the latest version of the Away3D svn. > > Do you have any idea of what went wrong ? > Many thanks in advance :) To unsubscribe from this group, send email to away3d-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
