add support for 3d camera in Python