Go Back   AC3D Forums > Resources > AC3D Plugins and Other Resources
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Old 28th June 2009, 07:05 PM   #1
Toronto
Senior Member
Professional user
 
Join Date: Jan 2008
Posts: 109
Default Collada

Is anyone working on a pluggin to import/export the Collada file format which is now considered an industry standard format.
Toronto is offline   Reply With Quote
Old 29th June 2009, 06:07 AM   #2
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Re: Collada

This is already in the latest version, without animation, as AC3D doesn't have this feature.
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Old 29th June 2009, 08:29 AM   #3
Toronto
Senior Member
Professional user
 
Join Date: Jan 2008
Posts: 109
Default Re: Collada

Thanks Mossie,
I did not see Collada listed on the features page which lists the other import/export files.

http://www.inivis.com/features.html
Toronto is offline   Reply With Quote
Old 12th July 2009, 01:23 AM   #4
Gus
Member
Advanced member
 
Join Date: Oct 2007
Posts: 49
Default Re: Collada

I did test it with the "Blue Mars" project that uses Collada, but sadly AC3D failed the test, so it needs fixing/updating.

However, Unwrap3d Pro did pass the Collada test. Tested Milkshape3D's Collada and it passed compatibility...

For your information here's link address to Blue Mars project:
http://www.bluemarsonline.com/


Last edited by Gus; 12th July 2009 at 02:32 AM.
Gus is offline   Reply With Quote
Old 12th July 2009, 03:23 AM   #5
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Re: Collada

So which part of the test did it fail?

Any indications would be useful for Andy to fix, if it is not to do with animation.
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Old 12th July 2009, 03:25 AM   #6
Gus
Member
Advanced member
 
Join Date: Oct 2007
Posts: 49
Default Re: Collada

Failed to import; mesh cannot be found.......


Code:
<bmImportCmd> log start, file"C:\Blue Mars Tools\Developer\Game\Objects\MyData\ac3dcrate\ac3dcrate.log"
bmImportCmd v3.6.0 : 19 June 2009

Command line:
 bmImportCmd.exe -log -autoProxy -useFauxMap -fauxMapFilePath textures/ar/Common/ar_solid_255_255_255_diffuse.dds -mtl -texturePath objects/mydata/ac3dcrate/ C:\Blue Mars Tools\Developer\Game\Objects\MyData\ac3dcrate\ac3dcrate.dae C:\Blue Mars Tools\Developer\Game\Objects\MyData\ac3dcrate\ac3dcrate.cgf

Progress:
--> Executing name fix pass.
--> Executing triangulator.
--> Executing check pass.
  ERROR : checkPassFn() : No valid mesh geometry found, ..\ColladaCry\check.cpp
  ERROR : processSceneGraph() : Process function failed, ..\ColladaCry\process.cpp
  ERROR : main() : Data check failed, .\main.cpp
--> Aborting.
<bmImportCmd> log ends

Quote:
Originally Posted by mossie View Post
so which part of the test did it fail?

Any indications would be useful for andy to fix, if it is not to do with animation.

Last edited by Gus; 16th July 2009 at 05:34 PM.
Gus is offline   Reply With Quote
Old 3rd October 2009, 03:07 PM   #7
epatel
Junior Member
Member
 
Join Date: Dec 2008
Posts: 20
Default Re: Collada

I have used Blender successfully to convert Collada to AC3D

http://www.blender.org/features-gallery/features/
epatel is offline   Reply With Quote
Old 5th October 2009, 07:03 AM   #8
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Collada

Don't assume that it's AC3D's Collada output at fault here - it could be the way it's being interpreted by your loader.

I'm not saying that there may not be a problem in AC3D's output - bugs happen. It worked with the loaders we tested.

If you can send me a simple file e.g. a plain triangle that does load in, we can check it against the AC3D output of a similar model. Better still, ask the developers of the loader what they think is wrong with AC3D generated Collada and report that. Once we have this info., I'm sure we can fix it.
Andy is offline   Reply With Quote
Old 5th October 2009, 01:15 PM   #9
Gus
Member
Advanced member
 
Join Date: Oct 2007
Posts: 49
Default Re: Collada

I did more tests, this time tested Bonzai3d and Sketchup and they both worked with Blue Mars development SDK......

For you reference and testing here's a simple cylinder exported from Sketchup as .DAE and imported into Blue Mars item editor.......




http://wildwestgames.org/cylinder.dae




Preview inside Blue Mars Item Editor







Quote:
Originally Posted by Andy View Post
Don't assume that it's AC3D's Collada output at fault here - it could be the way it's being interpreted by your loader.

I'm not saying that there may not be a problem in AC3D's output - bugs happen. It worked with the loaders we tested.

If you can send me a simple file e.g. a plain triangle that does load in, we can check it against the AC3D output of a similar model. Better still, ask the developers of the loader what they think is wrong with AC3D generated Collada and report that. Once we have this info., I'm sure we can fix it.
Gus is offline   Reply With Quote
Old 6th October 2009, 11:36 AM   #10
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: Collada

I've been working with the Collada format lately, and thought I'd take a swing at this one.

I compared a cylinder exported in AC3D against the exported cylinder provided in the above link. The fundamental difference is that the cylinder in the link above uses <triangles> to describe geometry, while AC3D uses <polylist>. Both formats look syntactically correct, however, and I can find no problems in the AC3D export --- I was also unable to get any other Collada importer to break when loading an AC3D Collada file.

I've attached a cylinder exported from LightWave -> Collada - can you see if that one imports? ( NOTE: I had to rename it to cyl_lw.dae.txt - you can rename it to cyl_lw.dae )

If the attached file imports, then we can more easily compare the AC3D and LightWave files, since they both use the same geometry descriptors.
Attached Files
File Type: txt cyl_lw.dae.txt (4.5 KB, 372 views)
Dennis is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 05:17 AM.


AC3D Forum
(C) Inivis Limited 2020