-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Labels
Description
Blender exporter seems to negate the value of the y
position of the camera.
Note: This is not related to the Flip YZ
feature.
Apart from this, the exporter works great.
Blender version: 2.69.0 (r60991)
Three.js revision: 63
The property pane of the default blender scene shows the camera position as: 7.48113, -6.50764, 5.34367
Blender exporter exports it as: 7.48113, 6.50764, 5.34367
Following is a snipped of the default blender scene exported using blender exporter. (Note that Flip YZ
is enabled.)
"Camera" : {
"type" : "PerspectiveCamera",
"fov" : 49.159264,
"aspect": 1.333000,
"near" : 0.100000,
"far" : 100.000000,
"position": [ 7.48113, 5.34367, 6.50764 ],
"target" : [ 0, 0, 0 ]
}
After digging into the python code, line number 2178 shows that the y
position is explicitly negated.
Wondering if there's any reason for negating it or maybe just a typo?