wirra wrote:
Hi,
Just wondering how you get the image to display at an angle like the image 'temp_sml_pov.jpg' in Kevin's post under the heading "And continuing to increase". This is very clever. Is this done via the script or in POV-Ray? I can't work out how this is done. I am a novice.
Appreciate your help.
Thanks
Bob
This is done in the POV-Ray scene file by controlling where the camera is located and what it's looking at:
Code:
/* The camera is initially placed directly in front of the picutre */
#declare camera_x = 380.000;
#declare camera_y = -254.000;
#declare camera_z = -460.000;
#declare look_at_x = 380.000;
#declare look_at_y = -254.000;
#declare look_at_z = 0.000;
camera {location <camera_x, camera_y, camera_z> look_at <look_at_x, look_at_y, look_at_z>}
If you change the value of camera_x from 380 to, say, 100, you move the camera (i.e. the point of view) to the left, so you'll be looking from the left hand side. Increasing camera_y (i.e. making it less negative = -54) you move the camera upwards. Increasing camera_z (making it less negative) gets you closer to the objects.
The top left of the picture is the point <0,0,0>
Kevin