POV-Ray : Newsgroups : povray.general : Oblique projection : Re: Oblique projection Server Time
31 Jul 2024 08:20:57 EDT (-0400)
  Re: Oblique projection  
From: Alain
Date: 2 Jan 2008 20:25:07
Message: <477c3973$1@news.povray.org>
Tim Attwood nous apporta ses lumieres en ce 2008/01/02 17:27:
>> Sorry I wasn't clear, but I am using immensely distant camera positions, 
>> so the
>> view is essentially the same as when using the orthographic keyword. 
>> According
>> to Wikipedia, all I should need to do is change the up or right vector, 
>> but
>> this isn't working. I'll try some of your solutions.
> 
> The way I understand oblique projection the right (x) and up (y) axis are
> perpendicular, but the direction (z) is slanted at an angle. Theoretically
> you could define the correct right, up and direction in POV, but POV 3.6
> specifically disallows this.  The camera vectors must all be perpendicular
> to each other. The look_at command modifies the camera by rotating the
> axis vectors, so for clarity it probably should be after any specified
> camera axis vectors. 
> 
> 
The camera vectors don't need to all be perpendicular. That only a requierment 
to be able to use the vista buffer.
The following camera is perfectly legal, and the 3 vectors are not, by far, 
perpendiculars:
camera {
   location <0, 1, -4>
   direction <0.5,0.33,1.5>
   right<1.33,0.4,0.53>
   up<0.19,1,0.2>
}

You only have to set -uv on the command line to disable the vista buffer.

-- 
Alain
-------------------------------------------------
   Last night my wife met me at the front door. She was wearing a Sexy negligee. 
The only trouble was, she was coming home.
	Rodney Dangerfield


Post a reply to this message

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