Here is the json output of the latest scenejs-pycollada using the dae.zip from the same location as above.
index b391505..cd11a89 100644
--- a/translator.py
+++ b/translator.py
@@ -492,10 +492,10 @@ def translate_camera(camera):
'type': 'camera',
'optics': {
'type': 'perspective', #TODO: type of camera can't be retrieved a.t.m. assuming "perspective" for now
- 'fovy': float(camera.yfov),
+ 'fovy': float(camera.fov),
'aspect': 1.0, # TODO: aspect ratio is not currently available
- 'near': float(camera.znear),
- 'far': float(camera.zfar)
+ 'near': float(camera.near),
+ 'far': float(camera.far)
}
}]
}
What is going wrong, you think?