POV-Ray : Newsgroups : povray.binaries.scene-files : Extension of screen.inc for orthographic cameras : Re: Extension of screen.inc for orthographic cameras Server Time
2 Mar 2024 12:50:20 EST (-0500)
  Re: Extension of screen.inc for orthographic cameras  
From: Alain
Date: 6 Nov 2017 20:37:25
Message: <5a010e55@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
> 

Now, make a version that will also work with cylindrical (all 4 
varieties), spherical, fisheye, omnimax, panoramic, and ultrawhide_angle 
cameras...


Post a reply to this message

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