POV-Ray : Newsgroups : povray.binaries.images : user_defined camera sample : user_defined camera sample Server Time
4 May 2024 13:08:29 EDT (-0400)
  user_defined camera sample  
From: ABX
Date: 18 Feb 2003 14:38:09
Message: <sh255vomna91r0d9htauhkuhl3p2harpcv@4ax.com>
Here is an example of rendering with user_definned camera (patch). Essentially
it is camera type where rays sended from camera are defined using functions.
Using user_defined camera you can mimic all already existing camera types as
well as you can average (coordinates, not result) two views, select subviews,
etc, etc. Rays can be placed at any place in any direction. Camera's 'surface'
can have discontinuity areas (correct word?). In posted example there is only
one camera. Four subviews are simple joined using function{select(,,,)} with
other functions. They are as follow:

  top-left     - perspective camera with low angle - nearly orthogonal
  top-right    - rays starts from wall of cylinder but are 'angled' like in 
                 perspective camera so rays are not parallel to plane
  bottom-left  - simple perspective camera
  bottom-right - averaging from spherical camera to orthogonal, from one 
                 location to another

Animated version in p.b.a. Any comments ?

ABX


Post a reply to this message


Attachments:
Download 'user_defined.png' (185 KB)

Preview of image 'user_defined.png'
user_defined.png


 

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