Jeremy Moles wrote:
Well, about 2 hours after I had done the changes myself, Vincent sent me
an e-mail saying he had added they changes to CVS himself; I still have
a few fixes for warnings and whatnot (it's something I love about OSG
and it's friends--the ability to run with warnings turned all the way
up), so I can still give you those if you'd like.
Everything seems to be in order at a first glance. Here's an obligatory
screenshot of opening an .dae file in Linux:
http://cherustone.com/Screenshot.png
I'll keep poking around with it and the Blender exporter to see what
does and doesn't work; I know another person is also doing that, so
maybe we should collaborate.
Nice.
I am working on it also. One of my motivations on working on osgdb
Collada was
to exchange data between Blender and OSG.
If the Blender exporter works like a charm, the Blender importer needs
few fixes.
1/ Blender importer reads only 1.4.0
-----------------------------------------
osgdb Collada uses the Collada DOM in which '1.4.1' version is hard
coded :).
You have just to ease this condition on the python script.
2/ Blender importer can only handle polygons and not polylists
--------------------------------------------------------------------------------
I have added an export option for osgdb to export polygons instead of
polylists.
Blender reader handles strangely the polygons. After some python code
cleansing, I got it.
However, my polygon export code is not so Collada compliant,
so some work as to be done also in the osgdb exporter.
3/ transformation matrices
---------------------------------------
Blender exports them as Collada PositionAttitudeTransform.
No problem with osgdb Collada importer. But after a pass in the osgdb
exporter,
they are completely messed up.
I can send you my hacked version of Blender import plugin.
Nop
begin:vcard
fn:Vincent VIVANLOC
n:VIVANLOC;Vincent
org:Institut de Recherche en Informatique;Rendering and Visualisation / Computer Graphics and Virtual Reality
adr;quoted-printable:;;Universit=C3=A9 Paul Sabatier ;Toulouse;Haute-Garonne;;France
email;internet:[EMAIL PROTECTED]
title:Student (PhD)
tel;work:0561557420
tel;home:0561612436
version:2.1
end:vcard
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/