Shrapnel-118 / blender2ogre

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

swap axis (export option) #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a somple mesh with a simple armature
2. export the scene 
3. change the swap axis in the export options and export again
4. compare the 2 skeleton files and notice that they are exactly the same

What is the expected output? What do you see instead?
- coordinate system is expected to change

What version of the product are you using? On what operating system?
- OS: win7 64bit
- blender: r36608
- ogreexporter: 0.3.4

Please provide any additional information below.
- changing the export option to swap axis does nothing, its always exported in 
default coordinate system.

Original issue reported on code.google.com by Graue...@gmail.com on 11 May 2011 at 8:12

GoogleCodeExporter commented 8 years ago
I noticed, that the armature seems to be swapped always. I tried to export a 
mesh with an armature animation without any axis swapping. This worked for the 
mesh, but the armature is still swapped (checked with Ogre Meshy). I used 0.3.6.

Original comment by alexande...@gmail.com on 23 May 2011 at 9:02

GoogleCodeExporter commented 8 years ago
axis swap needs improvement, accepted.

Original comment by goatman.py@gmail.com on 5 Jun 2011 at 10:25

GoogleCodeExporter commented 8 years ago
the new default axis swap (x,z,-y) is the only axis swap that will work 
correctly until this gets fixed.

Original comment by goatman.py@gmail.com on 18 Jun 2011 at 6:33

GoogleCodeExporter commented 8 years ago
You've changed the swap axis in 0.5.0 to the ogre default (-x,z,y), but I don't 
understand what you mean by that. IMO, (x,z,-y) makes the most sense since 
Ogre's z axis is the odd one out and that's the one that should change. X and Y 
are the screen axes (http://www.ogre3d.org/tikiwiki/Basic+Tutorial+1 - See 
coordinates and vectors) and I think it's strange and confusing when the X axis 
is swapped.

Also, why was the swap axis option removed?

Original comment by mohdakra...@gmail.com on 13 Aug 2011 at 7:51

GoogleCodeExporter commented 8 years ago
swap axis now fixed at x,z,-y
axis swap option can be put back after armature swap "class Skeleton" supports 
it.

Original comment by goatman.py@gmail.com on 18 Aug 2011 at 1:21