From 3d5274d0c00bc781d6265760dee7bf5999027474 Mon Sep 17 00:00:00 2001 From: archibate <1931127624@qq.com> Date: Sat, 15 Aug 2020 11:07:08 +0800 Subject: [PATCH] TAN_FOV to prevent artifect in #11 --- examples/ms_cloth.py | 1 - examples/transform_models.py | 1 - 2 files changed, 2 deletions(-) diff --git a/examples/ms_cloth.py b/examples/ms_cloth.py index 998a105..3d112f6 100644 --- a/examples/ms_cloth.py +++ b/examples/ms_cloth.py @@ -58,7 +58,6 @@ def substep(): scene.add_model(model) camera = t3.Camera(fov=24, pos=[0, 0, -1.5], target=[0, 0.25, 0]) scene.add_camera(camera) -camera.type = camera.TAN_FOV light = t3.Light([0.4, -1.5, 1.8]) scene.add_light(light) diff --git a/examples/transform_models.py b/examples/transform_models.py index d05173f..e9860d9 100644 --- a/examples/transform_models.py +++ b/examples/transform_models.py @@ -12,7 +12,6 @@ scene.add_model(torus) camera = t3.Camera() -camera.type = camera.ORTHO scene.add_camera(camera) light = t3.Light([0.4, -1.5, 1.8])