POV-Ray : Newsgroups : povray.programming : Explanation of source code : Explanation of source code Server Time
24 Apr 2024 06:48:10 EDT (-0400)
  Explanation of source code  
From: queercore
Date: 8 Apr 2009 20:15:01
Message: <web.49dd3d09768cb580672cb3f90@news.povray.org>
Hi,

These are the normals and distances of the planes that define the 3D viewing
volume. Where is the origin of these vectors? Is it in the middle of the
projection plane?


const VECTOR VIEW_VX1 = {-0.8944271910, 0.0, -0.4472135955};
const VECTOR VIEW_VX2 = { 0.8944271910, 0.0, -0.4472135955};
const VECTOR VIEW_VY1 = {0.0, -0.8944271910, -0.4472135955};
const VECTOR VIEW_VY2 = {0.0,  0.8944271910, -0.4472135955};
const DBL VIEW_DX1 = 0.4472135955;
const DBL VIEW_DX2 = 0.4472135955;
const DBL VIEW_DY1 = 0.4472135955;
const DBL VIEW_DY2 = 0.4472135955;


Post a reply to this message

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