POV-Ray : Newsgroups : povray.general : Oblique projection : Re: Oblique projection Server Time
31 Jul 2024 02:23:33 EDT (-0400)
  Re: Oblique projection  
From: SharkD
Date: 2 Jan 2008 14:45:00
Message: <web.477be8d5443d65d78fa1930b0@news.povray.org>
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.

"SharkD" <nomail@nomail> wrote:
> How do I achieve oblique projection using POV-Ray? I've tried messing around
> with the up and right vectors, but have achieved mixed results. Compare the
> following two blocks of code:
>
> camera
> {
>  location -z*(CameraDistance)
>  look_at 0
>  direction z*(CameraDistance)
>  up y*5/2
>  right x*5/2
>  rotate <asind(tand(30)),45,0>
> }
>
> camera
> {
>  location -z*(CameraDistance)
>  look_at 0
>  direction z*(CameraDistance)
>  up vnormalize(y-z)*5/2
>  right x*5/2
>  rotate <asind(tand(30)),45,0>
> }
>
> The latter results in no difference. Am I on the right track by messing with the
> up and right vectors?
>
> -Mike


Post a reply to this message

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