|
|
"ingo" wrote:
> It's not a matter of right/wrong
Yes it is. The fisheye camera type should be dependent on the up and right
vectors just like the other camera types.
> Why should a user want a circular image in a rectangle?
> To have black areas to the left and right? Then he is in
> trouble, the same trouble as the user that currently
> wants black areas above and beneath.
Not correct. If he has set 'up' to 'y' and 'right' to '4/3*x' then that is
what he want. If he sets both up and right to have a length of 1 then he
wants the
current behavior. The user should decide, not be forced to have it one way.
> I can change the documentation to reflect the current behaviour.
> Maybe a warning could be added to POV-Ray that informs the user
> that should set the aspect ratio to 1 if he wants a circular image.
But setting the aspect ratio to 1 (using up and right vectors) doesn't give
a circular image - that's the whole problem.
I think it should work this way for maximum flexibility:
If right is set to have a length of 1 then the ellipsoid will touch the left
and right border of the image. If right is set to have a length of 4/3 then
the ellipsoid will go out 3/4 out to the borders of the image. For
consistency, if right is set to have a length of less than one, then the
ellipsoid should go out further than the borders of the image. the up vector
should work the exact same way. This would also mean that you could set both
up and right to be less than one, and then the ellipsoid will go further out
than the borders in all directions. If you set up and right to be small
enough you can get rid of the black borders entirely.
That would be consistent and allow for maximum flexibility and control.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|