[EMAIL PROTECTED] schrieb:
Hello,
I've got a few things to say from this thread.

COLLADA 1.4.1 is 99.9% backwards compatible with COLLADA 1.4.0 (the .1%
are some corner case situations that nobody implemented back then
anyways so you will never see them). Therefore stuff exported (correctly
and valid COLLADA) as 1.4.0 should load fine with the OSG plugin (well
the basic stuff. The plugin doesn't do 100% of COLLADA's features).

I haven´t tried loading with osg yet, as I need the export-feature.
Blender has been known to have many problems. Their COLLADA support has
never really been up to par. Now if you have access to Maya, Max, or XSI
their plugins are a lot better. The Feeling Viewer is made using the
same library as the Maya and Max plugin so the error you had with
cow.osg will probably error in those plugins. You/we should make sure
cow.dae is a valid COLLADA document. You can run the document through a
xml schema aware validator and/or the COLLADA coherency tests (available
somewhere on www.collada.org). If it passes those tests then it's valid
COLLADA and we should post a bug against FeelingSoftware's implementation.

I have downloaded the coherency-test and get this (it´s running quite some time, I think most tests are passed):

$ coherencytest.exe -i cow.dae CHECK_schema Error msg=Element 'COLLADA': No matching global declaration available for the validation root.

CHECK_InstanceGeometry failed (type=node,id=group)
 no bind materials in instance geometry


The COLLADA_RT_Viewer should be able to load the output from the DAE
plugin. It is what I used to test the plugin as I was developing it. I
am sorry that the code on sourceforge is out of date. A lot of changes
have been made to the DOM and RT locally but we haven't pushed out the
RT changes nearly as often(if at all) as the DOM changes. We are going
to be releasing a new package of all of our software in the VERY near
future. I am hoping to do it by the end of the day but it might not make
it till Wed. The COLLADA_RT_Viewer is only available for Windows. The
makefiles will only build the COLLADA_RT libraries but no viewer. (if
somebody wants to port the viewer to linux that would be excellent :) )
The COLLADA RT libraries are a set of functions built on top of the DOM
that will convert the DOM data into something a little more runtime /
openGL friendly.

I am using windows, but I´m not using Visual C++. Could you provide binaries for that viewer? That would be nice. I am not a makefile-wizard, if I would try to build it with mingw, I would probably try to put together a dev-c++ project.

Thanks for the response,

Andreas
-Andy

Andreas Goebel wrote:
Hi Alberto,

Sorry, I wanted to say "import". We want to do the same. After
importing my .dae files generated with osgconv, I only see in Blender
3D window two coordinate systems called "matrixTransform"  and
"sceneRoot". You can verifiy that pressing SHIFT+F4 in the 3D window,
it will show you all the objects available in the scene, or displaying
the "outliner". In the console you will get a warning about the
importer of Blender reading 1.4.0 files and yours being 1.4.1.

My blender didn´t give me that warning. Are you running on linux? On
windows console-messages tend to get lost, though blender has a console
it runs from. I´ll look for those objects.
I have the following experiences with cow.osg so far:
- feeling viewer: stops with the error mentioned in my other post
- ColView: Works, but looks pretty bad
- Blender. Nothing happens (reports "import successful", but nothing
more)

I have not yet tried the collada_rt, have you?
There is a collada_rt package in the files-section of sourceforges
collada dom page.

I didn´t get it to compile on windows, but I guess it will compile on
linux without problems. It is said to be an example-viewer for collada,
it´s mentioned at the forum at khronos.

I did not know that it existed until you metioned it. The link at the
Khronos Group page has the COLLADA DOM Sourceforge page as its target.
Are them the same library?

Yes.

Regards,

Andreas
Regards,

Alberto
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/





_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to