Re: [osg-users] [osgPlugins] OSG Collada Bug

2009-06-24 Thread Adam Wise
Hey,

I think i'm using OSG version 2.9.2. Not 100 percent sure though. 

http://www.openscenegraph.org/projects/ ... se/Collada

Under option strings for collada, there appears to be a "GoogleMode" for the 
collada writer. It apparently makes objects suitable for use in Google.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14456#14456





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgPlugins] OSG Collada Bug

2009-06-17 Thread Roland Smeenk
Hello Adam,

a quick inspection of the model shows two problems:

1.) There are two nodes with the same name so apparently the Collada writer 
does not check for uniqueness of the node id.

2.) All meshes have generated two sets of texture coordinates. The first being 
an empty set causing all kinds of problems.

I guess the original OpenFlight model only had a single set of texture 
coordinates per model part.

What version of OSG are you using?

regards,

Roland Smeenk

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14058#14058





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] OSG Collada Bug

2009-06-16 Thread Adam Wise
Hi,

I'm importing models from openflight to collada using OSG. After install using 
these directions 

http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/MingwColladaEclipse

Everything seemed to have worked fine, until I ran the Coherency Test on one of 
the models exported. It failed across the board. I also tried to upload the 
model onto Google's 3D warehouse, but it appears to be using the wrong schema. 
Upon closer inspection, it seems that OSG has a bug in it's collada exporter: 

- All the arrays names ...texcoord_0 are boggus. They all contain Zero elements.

- All the geometry seem to want to have 2 texcoord per vertex (texcoord_0 and 
texcoord_1) but only the texcoord_1 is valid.
Materials all reference the texcoord_0, I did not see any reference to 
texcoord_1 in the file.

Is there a fix to this problem? or do I have to correct every model manually?

It seems that I can't upload any dae files, so i uploaded it online:

http://rapidshare.com/files/244289716/smp_schafer6.dae

Thank you!

Cheers,
Adam

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14055#14055





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org