7th October 2009, 11:37 AM | #21 | ||
Member
Advanced member
Join Date: Oct 2007
Posts: 49
|
Re: Collada
Sorry, but it failed again. Though the errors may be bit different than last error report.........
Quote:
Quote:
|
||
7th October 2009, 12:37 PM | #22 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
Re: Collada
That's actually good news - think we're getting closer.
This actually looks like another <bind_material> issue. Unfortunately, I'm not sure how to specify a <bind_material> for texture coordinates when there's no actual texture assigned. I gave it a try using the material name as a semantic for binding the texture coordinates to the mesh --- would you mind trying this file? Thanks again, Dennis |
7th October 2009, 12:43 PM | #23 | ||
Member
Advanced member
Join Date: Oct 2007
Posts: 49
|
Re: Collada
Sorry, but failed again.......
Quote:
Quote:
|
||
7th October 2009, 02:27 PM | #24 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
Re: Collada
thanks Gus.
Unfortunately, I'm out of approaches from this end, --- not much I can do at this point without access to the Blue Mars importer. But we have identified a couple of potential issues with the Collada exporter: * No <bind_material> tag is written. This is obviously impacting Blue Mars, and it also prevents the material from being applied when importing the Collada file into LightWave. * No <bind_vertex_input> is written to bind the texture coordinates to the mesh. This may be causing issues with Blue Mars, but I'm not sure if that's exactly what's breaking with it. * When a texture is assigned in AC3D, no <library_images> section specifying the texture is included in the Collada export file. With the first two issues, I'm not sure how much it affects other importers outside of Blue Mars and LightWave, but the third issue (no texture written) is definitely an issue. Dennis |
7th October 2009, 02:42 PM | #25 | |
Member
Advanced member
Join Date: Oct 2007
Posts: 49
|
Re: Collada
If you wish to further research this you can apply as Blue Mars Developer at http://www.bluemarsdev.com/ ... once your in you will have access to the tools/editors ....
Note: Blue Mars is a platform technology and not a game. It uses CryEngine2 .... On the list of Officially supported 3d applications include 3dsMax, Maya, Blender, Sketchup, Lightwave, and Shade. I have tested Milkshape3d, Unwrap3d, and Bonzai3d ...these passed import of collada files to Blue Mars.... I've been an avid AC3D user for awhile now, but sadly didn't work with BM and hope the issue will be solved sometime.... Quote:
|
|
7th October 2009, 05:40 PM | #26 |
Senior Member
Professional user
Join Date: Jul 2003
Posts: 899
|
Re: Collada
Andy/Inivis,
I pulled the Blue Mars dev kit so I could run the import with AC3D test data, and I think I've found the issues. I've attached 2 AC3D Collada exports - one is a textured triangle created with AC3D (actri.dae) and the other is an edited version of that triangle (actri_EDITED.dae). The edited version contained indented/spaced/commented code that handles material/texture data that Blue Mars was erroring on. Note that these changes also allow the materials and textures to show up when I import this into LightWave --- without the changes, the material colors/textures don't show. I can't guarantee that LightWave is doing everything correctly, of course, but it's the most trustworthy Collada importer that I own. The changes that were made to make this import correctly into LightWave follow. Just to stress this, the import already worked for geometry, but materials/textures weren't showing up, and UV maps weren't being applied.
Beyond this, I made one other change that may be a problem with the Blue Mars importer. If the texture coordinate accessor is assigned to X/Y, Blue Mars apparently gets confused, probably with the position or normal array, but setting these coordinates to any other value worked (I used S/T). However, I don't see that using a different nomenclature than X/Y hurts anything, and I also notice that other Collada exporters do the same. Gus, I'm not sure whether these changes will be trivial to introduce into the exporter - it was very easy when the geometry consisted of only a single triangle, but in order to support more complex scenes it might not be that easy. Here's hoping it turns out to be an easy fix, though . Dennis |
7th October 2009, 06:24 PM | #27 | |
Member
Advanced member
Join Date: Oct 2007
Posts: 49
|
Re: Collada
Lightwave along with other 3d applications as I previously posted are officially listed of being compatible with Blue Mars. As long AC3D's .DAE doesn't work with Blue Mars it will not make it to the Blue Mars list.
The edited version you supplied did work........ Quote:
|
|
8th October 2009, 04:36 PM | #28 | |
Junior Member
Junior member
Join Date: Oct 2009
Posts: 1
|
Re: Collada
I'm pretty interested in this, for the same reason as Gus. Been looking at AC3D as a collada output for Blue Mars.
If it's any help, there is this post from Blue Mars admin. It's about sketchup but may apply here... Quote:
|
|
12th October 2009, 06:45 AM | #29 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: Collada
Thanks to Dennis for a lot of hard work, we now have a new Collada exporter.
Please download the attached Windows .zip file, unzip and put the collada_export.p file into the plugins folder. This plugin patches the existing exporter of AC3D 6.5. Let us know here if it fixes the problems you were getting before. |
12th October 2009, 02:56 PM | #30 | |
Member
Advanced member
Join Date: Oct 2007
Posts: 49
|
Re: Collada
On first round test it passed, will test more along the way.... thanks for the BIG cash box!!
Quote:
|
|
|
|