mrdoob/three.js — Issue #816: Scene transformation cancelled out
Author: rectalogic
Created: 2011-11-29 22:24:49+00:00
State: open

Now that Camera has to be a child of Scene, any transformation applied to the scene is effectively cancelled out because it is also applied to the camera child object.

i.e. I work around the "Flip YZ" Blender export toggle not functioning by undoing that flip on the scene:

scene.rotation.x = Math.PI / 2;
scene.updateMatrix();

This rotates the whole scene relative to the camera - and undoes the YZ flip the exporter applies to the mesh. Now this rotation is also applied to the camera child and so is a noop.

I have a pull request that fixes the Blender exporter "Flip YZ" toggle, for my use case at least this would make the above unecessary.
https://github.com/mrdoob/three.js/pull/561