POV-Ray : Newsgroups : povray.binaries.scene-files : Extension of screen.inc for orthographic cameras : Extension of screen.inc for orthographic cameras Server Time
3 Mar 2024 11:46:21 EST (-0500)
  Extension of screen.inc for orthographic cameras  
From: cbpypov
Date: 6 Nov 2017 05:10:01
Message: <web.5a00344aecd2fa6f80db62550@news.povray.org>
Find attached screen_ortho.inc, which extents the abilities of screen.inc in
order to use the orthographic camera. This is related to the thread


http://news.povray.org/povray.binaries.scene-files/thread/%3C4afccd8a%241%40news.povray.org%3E/?mtop=406850

started by SharkD, who is the one that wrote almost the entire code. The
attached version includes minor bug fixes and improved documentation.

Use
    Set_Camera(Location, LookAt, Angle, Ortho)
to define your camera instead of the traditional `camera { ... }`. The `Ortho`
parameter accepts `On` or `Off` and gives the expected results. Use e.g.
`Screen_Object` to add logos, watermarks, subtitles or any other object which is
meant to stay fixed in front of the camera. (Validated to work with animations.)

Best,
Carlo


Post a reply to this message


Attachments:
Download 'screen_ortho.inc.txt' (8 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.