Hi Pawel,
make sure you have Prefab 1.054
a minor fix was made to awd exports in this version.

I just tried to drop files and export them, they all load back with textures and no problems.


doc is not renewed yet, but in class there are comments
 * when set pathToSources, url becomes  [newurl]filename.jpg.
 * Example: AWData.pathToSources = "mydisc/myfiles/";

so try
awd.pathToSources = "flower1/images/";
instead of
awd.pathToSources = "flower1/images";

if it still fails, please send me offline your original+awd+texture
+ eventual description of your process
so I can reproduce.

Fabrice



On Nov 30, 2009, at 10:06 AM, Paweł Stanisławczuk wrote:

Yes, now the model is loaded successfully! Thanks!

Still got problems with auto-loading the UV-Map though. Loading the
awd back to PreFab don't load the material either, dunno if it is
normal.
Tried the awd.pathToSources = "flower1/images"; with no success. Did I
forgot about something?

This is the first part of my awd file:

//AWDataExporterAIR version 1.0, Away3D Flash 10, generated by Away3D:
http://www.away3d.com
#v:1.0/AIR
#f:2
#t:mesh
#o
0,1,0,0,0,0,1,0,0,0,0,1,0
aw_0,0,0,0,-1,false,false,false,false,0,0,0,images/aw_0.png
#d
v:-9.23d0/2.13d6/15.1462,-d.16 [...]

Paweł

On 27 Lis, 22:38, Fabrice <[email protected]> wrote:
k, svn updated, AWData Lite was not sync with latest updates.
Try now, should work

Fabrice

On Nov 27, 3:54 pm, Fabrice3D <[email protected]> wrote:

Comfirmed!
Previous Lite update loads and display the file with no problem, in
latest it seams indeed
not to work. will investigate why its not visible...

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/2643dd ...

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