|
![](/i/fill.gif) |
Aek:
I'm not sure if this helps, but since your are already having to
calculate the witdth and height values in an external program, could
you maybe just use the image_width and image_height variables within
the scene file when it is rendered?
Just a thought...
Kyle
On Sun, 22 May 2005 15:01:33 EDT, "Aek Chomaitong"
<ach### [at] earthlink net> wrote:
>Hello, everybody.
>
>I would like to know if there is a way to specify the image dimensions from
>within the scene file (not using +W and +H).
>
>The reason I am asking for this is because the dimension of my images are
>not known in advanced. It is calculated from various parameters like the
>width of the object in 3d, the position of the camera, and so on.
>
>Right now, I have to perform the calculation twice. Once in an external
>program to determine the image dimension and another time in POV-Ray. If I
>can specify the image dimension in the scene file, like through some
>built-in function, I can get rid of the first calculation which will save
>lots of time and management.
>
>Empty spaces in the images are significant so cropping the image later using
>some external program would not help.
>
>I appreciate your advice.
>
>Thank you.
>
>Aek Chomaitong
>
Post a reply to this message
|
![](/i/fill.gif) |