if it loads back in Prefab then using away lite or regular it should show up, since its exact same classes.

its not the case here but, insert in case of bitmaps loading issues before the loaderAWD.loadGeometry line awd.pathToSources = "flower1/images"; or whatever path leads to file sources

I can send you files offline, but again, if it loads back in Prefab there is nothing wrong with the file on itself. I need to finish something first, then i'll try same code using latest Away3dLite update to see if anything prevents its loading...

Fabrice


On Nov 27, 2009, at 2:03 PM, Paweł Stanisławczuk wrote:

Downloaded the update, thanks!

I've got problems loading AWD into Away3DLite 1.0.2

My code:

var loaderAWD:Loader3D = new Loader3D();
loaderAWD.addEventListener(Loader3DEvent.LOAD_SUCCESS, onSuccess);
loaderAWD.addEventListener(Loader3DEvent.LOAD_ERROR, onLError);
var awd:AWData = new AWData();
loaderAWD.loadGeometry("flower1/Flower1.awd", awd);

private function onSuccess(event:Loader3DEvent):void {
    scene.addChild(event.loader.handle);
}

I've got my aw_0.png in flower1/images/

Nothing loades, there is no error, event.loader.handle traces as Mesh.
But it's empty. width = 0
Maybe something with my model, can I download example awd file from
somewhere?

The awd successfully imports back to prefab.

I'm following this discussion:
http://groups.google.com/group/away3d-dev/browse_thread/thread/2643dd1556f2e262/fe99a7190ac5fc0a?lnk=gst&q=awd#fe99a7190ac5fc0a

Paweł


On 27 Lis, 13:01, Fabrice3D <[email protected]> wrote:
btw, just uploaded another update 1.052

there was in previous update a little bug
also improved tabs order at same time

but resetted previous applyRotations() since its an away bug (which we
are busy fixing)

if you need info on AWData for the awd file, just search this group,
several posts were made on the subject

Fabrice

On Nov 27, 2009, at 12:54 PM, Paweł Stanisławczuk wrote:

Hi Fabrice

Hi, some 1120 and 1178 errors with undefined variables like: obj,
lines, isNew etc. Maybe I missing something?
My dream loader is LWO, but it won't run with my we3d-3.5.2 AS3
library.

I need runtime loading so I will use the awd export prom Prefab.

Thanks!

On 27 Lis, 11:58, Fabrice3D <[email protected]> wrote:
Hi Pawel,
Can you describe the errors?
major changes were done on loaders and parsers...

in meanwhile you can export using Prefab your obj files to as3 lite
and if you need runtime loadings, use the awd export working for
f9,f10 away3d and f10 away3dlite

Fabrice

On Nov 27, 2009, at 11:45 AM, Paweł Stanisławczuk wrote:

Hi!

I'm just after my first away3DLite tests, and I'm really impresed
with
the speed and features. Seems Lite have almost everything I need,
that's really great news. One feature only missing, importing OBJ
models. Checked SVN and obj is present in loaders, but it generates
many errors whilst exporting. So is there somewhere a working OBJ
importer in Away3DLite's SVN?

Cheers,
Paweł Stanisławczuk

Reply via email to