diff --git a/CHANGELOG b/CHANGELOG index 2280d9d5..249205ec 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,11 @@ This is an abbreviated list of changes. The full/detailed list of changes can be * Blender Exporter (for Blender v2.7x): https://github.com/YafaRay/Blender-Exporter/commits/master +YafaRay v3.4.3 (2020-05-09) for Blender 2.79: +--------------------------------------------- +* Angular camera: added "Ortographic" projection. `[Blender Exporter + Core]` + + YafaRay v3.4.2 (2020-05-04) for Blender 2.79: --------------------------------------------- * Added Equirectangular camera. `[Blender Exporter + Core]` diff --git a/io/yaf_object.py b/io/yaf_object.py index e6bc2cf4..caadf6cf 100644 --- a/io/yaf_object.py +++ b/io/yaf_object.py @@ -163,6 +163,7 @@ def __init__ (self, camera, camera_name, view_name): elif camType == "angular": yi.paramsSetBool("circular", camera.circular) + yi.paramsSetBool("orthographic", camera.orthographic) yi.paramsSetBool("mirrored", camera.mirrored) yi.paramsSetFloat("max_angle", camera.max_angle) yi.paramsSetFloat("angle", camera.angular_angle) diff --git a/prop/yaf_camera.py b/prop/yaf_camera.py index b299583f..d44ecf91 100644 --- a/prop/yaf_camera.py +++ b/prop/yaf_camera.py @@ -66,6 +66,10 @@ def register(): name="Circular", default=False) + Camera.orthographic = BoolProperty( + name="Orthographic projection", + default=False) + Camera.use_clipping = BoolProperty( name="Use clipping", default=False) @@ -109,6 +113,7 @@ def unregister(): Camera.max_angle Camera.mirrored Camera.circular + Camera.orthographic Camera.use_clipping Camera.bokeh_type Camera.aperture diff --git a/ui/properties_yaf_camera.py b/ui/properties_yaf_camera.py index 3a1467f7..ba7f5b3a 100644 --- a/ui/properties_yaf_camera.py +++ b/ui/properties_yaf_camera.py @@ -41,6 +41,7 @@ def draw(self, context): layout.prop(camera, "max_angle") layout.prop(camera, "mirrored") layout.prop(camera, "circular") + layout.prop(camera, "orthographic") elif camera.camera_type == 'orthographic': layout.prop(camera, "ortho_scale")