I have never used Doctor John's macro but a quick look at it make me think it is
not supposed to work if the Y coordinates of you camera location and look_at do
not have the same value.
Changing your script as follow:
#declare CamHeight = 1;
#declare CamLoc = <2000.0, H+CamHeight, -2400.0>;
#declare CamLookAt = <2000-100, H+CamHeight, -2400+100>;
and testing with the same H values as you example and FC on gives me correct
images (as far as I understand), cf attachment.
I also don't know if you really need to have a look_at at a different height...
I hope this will help you.
Thomas de Groot <tho### [at] degrootorg> wrote:
> I need the help of a Matrix Master.
> I am a regular user of Doctor John's FieldCam macro which enables
> slanting architecture to look straight. It simulates the professional
> cameras where this adjustment can be done through the lenses.
> The macro works perfectly... as long as your scene camera is situated
> about the origin of the Y-axis. Recently, I have been working on scenes
> where the camera is situated at about y=170.00, and strange things
> happen: the camera is moved upwards and forwards, the more so as
> elevation gets greater.
> To illustrate this, I have attached a little test scene and an image
> showing the problem. H is the value for the elevation of the scene
> elements along the Y-axis.
> I can correct this by adding a translate after the "NoFall" transform in
> the camera code, but I assume that this could better be done within the
> "NoFall" matrix. I have not the slightest idea how to do this.
> Thanks for any help.
Post a reply to this message
Download 'test.png' (1255 KB)
Preview of image 'test.png'