def METHOD_NAME(o, d, s_open=1.5, s_close=5):
    o = mi.scalar_rgb.Vector3f(o)
    d = mi.scalar_rgb.Vector3f(d)
    return mi.load_dict({
        'type': 'orthographic',
        'near_clip': 1.0,
        'far_clip': 35.0,
        'shutter_open': s_open,
        'shutter_close': s_close,
        'to_world': mi.scalar_rgb.Transform4f.look_at(
            origin=o,
            target=o + d,
            up=[0, 1, 0]
        ),
        'film': {
            'type': 'hdrfilm',
            'width': 512,
            'height': 256,
        },
    })