mmonem / blender2ogre

Automatically exported from code.google.com/p/blender2ogre
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Replace "quaternion" with "rotation" in exporting scene #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Resulting rotation on exporting scene should look like:
<rotation w="0.924167" x="0.000000" y="0.381988" z="-0.000000"/>

And not like:
<quaternion w="0.924167" x="0.000000" y="0.381988" z="-0.000000"/>

(seems like line 4836 in .py file)

Original issue reported on code.google.com by jauthu on 26 Jul 2011 at 8:27

GoogleCodeExporter commented 8 years ago
I don't see rotation listed in the DTD, are you sure it should be "rotation" ?

<!ELEMENT orientation (quaternion | axisXYZ | angle_axis | direction) >

<!ELEMENT quaternion EMPTY>
<!ATTLIST quaternion
    x       CDATA #REQUIRED
    y       CDATA #REQUIRED
    z       CDATA #REQUIRED
    w       CDATA #REQUIRED
>

Original comment by goatman.py@gmail.com on 27 Jul 2011 at 2:16

GoogleCodeExporter commented 8 years ago
I used this http://www.ogre3d.org/tikiwiki/DotSceneFormat format

and this http://www.ogre3d.org/tikiwiki/RapidXML+Dotscene+Loader#The_Code as a 
loader

Maybe It's wrong, but both importers recently was made do not wait for 
<quaternion/>. (http://www.ogre3d.org/tikiwiki/New+DotScene+Loader this is the 
second)

Original comment by jauthu on 27 Jul 2011 at 10:08

GoogleCodeExporter commented 8 years ago
ok, looks like that DTD is more recent.  Will make the update in the next 
release 0.4.9

Original comment by goatman.py@gmail.com on 28 Jul 2011 at 11:04

GoogleCodeExporter commented 8 years ago
fixed in 0.4.9

Original comment by goatman.py@gmail.com on 8 Aug 2011 at 5:17