[Radiance-general] Image dimensions

Axel Jacobs a.jacobs at londonmet.ac.uk
Thu Mar 3 00:33:36 CET 2005


Dear all,

rpict with -vh 25.8083 -vv 18.6685 -x 512 -y 512 will create an image of
367x512 pixels.

If I calculate the y dimension by hand, I get:

y/18.6685 = 512/25.8083
-> y = 370.3565132

This number can be rounded up or down to the nearest integer, but how can
it be rounded to 367?

I started doing these hand calculation when I noticed that an image
generated with xwrays|rtrace had a couple of extra lines down the bottom
of it which are outside of the region specified in the view file (for a
parallel view, though).

Cheers

Axel





More information about the Radiance-general mailing list