Dae model loaded without texture

Software: Away3D 4.x

Percy, Newbie
Posted: 16 June 2013 12:47 PM   Total Posts: 12
plain=new Loader3D();
   
plain.load(new URLRequest("./feiji_1.dae"));
   
scene.addChild(plain); 

It just shows a red model.

 

Image Attachments
d5daf4a3.jpg
File Attachments
feiji_1.DAE  (File Size: 244KB - Downloads: 0)
   

Avatar
80prozent, Sr. Member
Posted: 17 June 2013 01:28 AM   Total Posts: 430   [ # 1 ]

Hi

I cannot download the *.dae you attached…(maybe bug on away3d side, maybe bug on my system…i dont know)

which away3d version are you using ?
i just tested to import a collada with texture using the latest version from the dev-branch. The texture loaded fine.
Have you tried importing your file in awayBuilder or prefab, and see if they will load the file with texture ?
Or try load the file with any 3d-application that supports *.dae and see if the tex shows up.
If you want to use this *.dae for a production, i would recomment to convert it to *.awd using awayBuilder or prefab anyway, since this format is much better optimised for away3d (both in regards of fileSize, and parsing-speed).
these Apps would also allow to apply the texture and embed it in the awd-file.

 

 Signature 

sorry…i hope my actionscript is better than my english…

   

Percy, Newbie
Posted: 17 June 2013 02:11 PM   Total Posts: 12   [ # 2 ]

Thanks. I’ll try that.

 

   

Percy, Newbie
Posted: 19 June 2013 11:51 AM   Total Posts: 12   [ # 3 ]

I imported the dae file into Away3d Builder. But it is still a red plain, without texture. But I can see the texture in “Textures”. It seems that the texture is not applied to the model. I can set the texture to the diffuse/ambient… textures in “Colores & Textures”.

 

   

Percy, Newbie
Posted: 19 June 2013 11:59 AM   Total Posts: 12   [ # 4 ]

But when I load the awd file, I got the following error:
RangeError: Error #1125: index 1617156728 is out of range 3
at away3d.loaders.parsers::AWD2Parser/parseContainer()[/Users/robbateman/Documents/Adobe Flash Builder 4.7/away3d-core-fp11/src/away3d/loaders/parsers/AWD2Parser.as:1350]
at away3d.loaders.parsers::AWD2Parser/parseNextBlock()[/Users/robbateman/Documents/Adobe Flash Builder 4.7/away3d-core-fp11/src/away3d/loaders/parsers/AWD2Parser.as:374]
at away3d.loaders.parsers::AWD2Parser/proceedParsing()[/Users/robbateman/Documents/Adobe Flash Builder 4.7/away3d-core-fp11/src/away3d/loaders/parsers/AWD2Parser.as:317]
at away3d.loaders.parsers::ParserBase/onInterval()[/Users/robbateman/Documents/Adobe Flash Builder 4.7/away3d-core-fp11/src/away3d/loaders/parsers/ParserBase.as:447]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Here is the awd file.

 

File Attachments
feiji_1.awd  (File Size: 76KB - Downloads: 216)
   

Percy, Newbie
Posted: 19 June 2013 12:00 PM   Total Posts: 12   [ # 5 ]

Here is the dae file

 

File Attachments
feiji_1.DAE  (File Size: 244KB - Downloads: 0)
   

Percy, Newbie
Posted: 19 June 2013 12:02 PM   Total Posts: 12   [ # 6 ]

Here is the texture file.

 

Image Attachments
d5daf4a3.jpg
   

Avatar
80prozent, Sr. Member
Posted: 19 June 2013 12:59 PM   Total Posts: 430   [ # 7 ]

Hi percy
I still cannot download the *.dae files….can you send them to 80prozent [a] differentdesign.de ?

the awd should work without error when using the latest version of away3d (dev-branch).

 

 Signature 

sorry…i hope my actionscript is better than my english…

   

Percy, Newbie
Posted: 20 June 2013 02:56 PM   Total Posts: 12   [ # 8 ]

I’ve sent you an email. Thanks.

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X