POV-Ray : Newsgroups : povray.general : Custom camera type required Server Time
19 Nov 2024 03:20:40 EST (-0500)
  Custom camera type required (Message 1 to 3 of 3)  
From: Vic
Subject: Custom camera type required
Date: 30 Apr 2002 15:16:52
Message: <3cceeda4@news.povray.org>
Stereoscopy: Harolddd wrote, that only parallel left and right cameras gives
good result when generation stereo pairs. He is right. Nonparallel direction
vectors causes eye divergence at large to infinite distances. Plus it's
impossible to use vista buffer because camera vectors are not perpendicular.

My conclusion: Cameras built into POV-Ray cannot render a stereo pair
properly.

Sterring of a proper stereo window requires:

- Stereo camera type (like StereoPov)
or
- Custom camera type with a user defined "ray vector function" (this can be
an universal solution to all camera related problems)
or
- Image shift (right and up vectors at different image plane positions than
0.5, as I mentioned in a thread some days ago)

A complicated solution employs camera ray perturbation and ortographic left
and right cameras. This is untested and too complicated.

Any suggestions?

Vic


Post a reply to this message

From: Rune
Subject: Re: Custom camera type required
Date: 30 Apr 2002 16:34:55
Message: <3cceffef@news.povray.org>
Vic wrote:
> Stereoscopy: Harolddd wrote, that only parallel left and right
> cameras gives good result when generation stereo pairs. He is right.
> Nonparallel direction vectors causes eye divergence at large to
> infinite distances. Plus it's impossible to use vista buffer because
> camera vectors are not perpendicular.
>
> My conclusion: Cameras built into POV-Ray cannot render a stereo pair
> properly.

Wrong, but it's correct that the vista buffer cannot be used. You can
use the matrix transformation to align your camera exactly as you want
to.

Rune


Post a reply to this message

From: Vic
Subject: Re: Custom camera type required
Date: 30 Apr 2002 16:58:12
Message: <3ccf0564@news.povray.org>
> Wrong, but it's correct that the vista buffer cannot be used. You can
> use the matrix transformation to align your camera exactly as you want
> to.

I've tried many combinations and I've theoretical problems with the camera
types integrated into POV. I think it's impossible to make such a camera
setting, because the right and up vectors are multiplied by
<-0.5,-0.5>-<0.5,0.5> when building ray vectors. If this range can be
modified, stereoscopy could be possible. A fully custom camera type could be
a good and straightforwerd solution.

Please send me an example camera statement that generates the left and right
camera from a location vector, a look_at vector, a stereo base and a
left/right switch value (-1 or +1). I'm 99% sure, that it can't be made by
the matrix modifier.

- Vic -


Post a reply to this message

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