.3ds import problem

Software: Prefab3D

varDacha, Newbie
Posted: 17 June 2012 05:18 PM   Total Posts: 18

Hello,
I am using PreFab2, and it works fine, but Im having problems with import
of .3ds files. Some of them just wont load into the app, or to be accurate, show loading status forever, and dont load at all at the end.
Weird thing to me is that the same .3ds file loads lightning fast in PreFab1 ??
Some info?

   

Richard Olsson, Administrator
Posted: 17 June 2012 06:08 PM   Total Posts: 1192   [ # 1 ]

This might be a bug in the 3DS parser for Away3D 4.0 (used internally by Prefab.) Have you tried loading the same file in Away3D using the latest code from GitHub? If you try that and still cannot load the file, please file a bug report in the issue tracker over at http://github.com/away3d/away3d-core-fp11/issues and include a link to where your 3DS file can be downloaded.

 

   

darez, Newbie
Posted: 18 June 2012 06:34 AM   Total Posts: 5   [ # 2 ]

Me too, same problem.

I have download many and many free .3DS from TurboSquid and
no one work correctly: loading forever.

http://www.turbosquid.com/3d-models/bridge-small-cross-max-free/387286

It’s free model, try to download and Load into Prefab 2

Darez

 

   

Richard Olsson, Administrator
Posted: 18 June 2012 07:49 AM   Total Posts: 1192   [ # 3 ]

I think I’ve found the reason for this. We’re tracking the bug at the following URL, where you’ll be able to see once it’s fixed:
https://github.com/away3d/away3d-core-fp11/issues/291

Note however that I’m fixing the bug on the Away3D side of things, and Fabrice will have to let you know once it’s made it into Prefab. I’m assuming that it will be in the next release though, provided that I manage to fix the issue soon.

 

   

darez, Newbie
Posted: 18 June 2012 08:02 AM   Total Posts: 5   [ # 4 ]

I’m sorry, but We have surprise about the instability of the sofware.

It’s impossibile to beleave that you never test Prefab 2 with turbosquid free model.

It’s like i never test my HTML with Chrome before deploy an website on the WEB.

This is a great project, and i want to congratulation with you for all.
But this is not a simply “software bug” but…a procedure testing bug.

If isn’t tested with TurboSquid free model, how i can think that you have tested with Android, iOS, PC, Mac?

D.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 18 June 2012 08:42 AM   Total Posts: 1265   [ # 5 ]

I’m gonna pretend I haven’t read all your message…

I do test loads of models, lots of cases and that’s also why Prefab is often able to display models that are so crappy that lots of “payed” apps are simply crashing while atempting to load them.
Turbo squid or any other 3d vendors may hold “gems” such as your free bridge example that reveals a new unhandled case.

Once me or anyone in the team, come across such case, we do try to improve the parsers involved to ensure that it doesn’t crash. As matter of fact, Prefab update will load this poor model as you can see on the pict.

 

   

varDacha, Newbie
Posted: 18 June 2012 08:42 AM   Total Posts: 18   [ # 6 ]

Well, Im getting this issue on simple import of Blenders 2.6 default scene..Same thing, works in PF1 and not in PF2, cant import simple cube, so its not only with free models from pointed site..
Tried it through code and get the
“Error #2007: Parameter data must be non-null.”, but with the same code I successfuly import some other .3ds.
Im listening for the MESH_COMPLETE only, using AsseyLibrary.load()
Maybe theres stuff Im missing to call in the code, but there is still that PF1 vs PF2 thing, even with a default cube from Blender, which tells me that maybe my code is good and theres something else wrong..

 

 

   

Richard Olsson, Administrator
Posted: 18 June 2012 08:47 AM   Total Posts: 1192   [ # 7 ]

varDacha, please paste the entire stack trace, so that we know where the error is happening. Also, the issue is more likely to be fixed quickly if you submit it as an issue report at GitHub: http://github.com/away3d/away3d-core-fp11/issues . If you can supply the 3DS file that’s even better.

 

   

varDacha, Newbie
Posted: 18 June 2012 08:56 AM   Total Posts: 18   [ # 8 ]

C’mon, darez, dont be so harsh, dont piss off these guys smile

After all, we didnt paid a dime for this great app, there is no room for such rough comments..and great thing is that we can in a way participate in its development by pointing to some stuff that they can make better for us.

Lets be patient, and let people work! smile

 

   

Richard Olsson, Administrator
Posted: 18 June 2012 08:59 AM   Total Posts: 1192   [ # 9 ]

varDacha, can you have another go with the latest code from the release branch? I have fixed the issue that was causing the bridge model to fail in Away3D (and this fix should soon make it to Prefab as well.)

Issue tracked (including the commit containing the fix) here:
https://github.com/away3d/away3d-core-fp11/issues/291

 

   

darez, Newbie
Posted: 18 June 2012 09:06 AM   Total Posts: 5   [ # 10 ]

I need to build a Game for ios, I promise you that I’ll donate money for you.
But I need to be sure that Away3D is stable before use it.

The first approach isn’t so good. Hope for future.

D.

 

   

varDacha, Newbie
Posted: 18 June 2012 10:55 AM   Total Posts: 18   [ # 11 ]

I have latest git rep,  loading Blenders default scene cube, at .3ds import, with code that loads ok other .3ds, I get: see Attach.
Im not sure if its my code or me in general, so I didnt reported it as issue yet..

 

File Attachments
New_Text_Document_(2).txt  (File Size: 4KB - Downloads: 573)
   

Richard Olsson, Administrator
Posted: 18 June 2012 12:54 PM   Total Posts: 1192   [ # 12 ]

varDacha: That’s because you’re using a texture material on something that doesn’t have UV coordinates. That should have been fixed already. Are you sure you’re using the latest code? Are you sure it’s the release branch?

See this issue report and the relevant commit.
https://github.com/away3d/away3d-core-fp11/issues/294

But even before this commit, it would have crashed in the parser, not in the rendering pipeline, making me think you might not be using the release branch after all, but the master (default) branch?

 

   

varDacha, Newbie
Posted: 18 June 2012 09:12 PM   Total Posts: 18   [ # 13 ]

You were right…
My bad - negligent pasting of src folder.
Thanks for Your replies, and sorry for the fuss.. :/

And that ironed update of PF2 we can expect soon?

 

   

darez, Newbie
Posted: 19 June 2012 06:06 AM   Total Posts: 5   [ # 14 ]

when i can download the FIX for the model of Turnosquid?

 

   

baxterKC, Newbie
Posted: 11 August 2012 09:37 PM   Total Posts: 2   [ # 15 ]

Hi Guys,

I’m still having problems loading 3ds files. standard primitives works fine but not the car model you used in 3.6.0, errors points me to the onRetrievalFailed assetloader.as & singlefileloader.as, seems complex models tend to crash but that should not be the case right? I’m having a grand time with 3.6.0 (loads all my 3d models BTW) but without GPU acceleration I can’t go beyond lowpoly counts vs performance

Oh and I tried this guys loader http://active.tutsplus.com/tutorials/actionscript/view-3ds-models-with-away3d-4-0-beta/

and tried to load a bunch of other 3d models on the fly and most of them except for the ant and teapot would not load at all (ultimately crashes the player)

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X