POV-Ray : Newsgroups : povray.macintosh : Feature question Server Time
4 May 2024 05:55:17 EDT (-0400)
  Feature question (Message 1 to 3 of 3)  
From: Tom Stone
Subject: Feature question
Date: 15 May 2002 05:01:35
Message: <3CE223E5.ACBA1AE@swipnet.se>
Before you jump on me, notice that I wrote "question" and not "request"
:-)

I use POV-ray a lot for doing illustrations that are going to be
printed. And I'm using the metric system.

That means that if I want to do a 16 centimeter wide image at 300 dpi, I
have to convert the centimeters into inches, and then multiply with 300,
to get the correct size in pixels.

Would it be very complicated to make a dialogue in POV-ray, where the
dimensions in centimeters and the dpi could be entered, and have the
computer calculate the proper dimensions in pixels?

This is not a very important question, it would just be a nice touch to
the interface, so ignore it if it seems stupid.

Tom Stone


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Feature question
Date: 15 May 2002 13:23:49
Message: <3ce299a5@news.povray.org>
In article <3CE### [at] swipnetse> , Tom Stone <tom### [at] swipnetse>
wrote:

> I use POV-ray a lot for doing illustrations that are going to be
> printed. And I'm using the metric system.

Well, a very simple way without a calculator is to use a table.  Below you
find one that lists in the first column the length centimeters, in the second
the number of pixels for 300 dpi and the third column the number of pixels for
600 dpi.  The formula is "cm*dpi:2.54" which can be typed in a spreadsheet
application and then be printed and attached to your screen as quick reference
:-)

1 118 236
2 236 472
3 354 709
4 472 945
5 591 1181
6 709 1417
7 827 1654
8 945 1890
9 1063 2126
10 1181 2362
11 1299 2598
12 1417 2835
13 1535 3071
14 1654 3307
15 1772 3543
16 1890 3780
17 2008 4016
18 2126 4252
19 2244 4488
20 2362 4724
21 2480 4961
22 2598 5197
23 2717 5433
24 2835 5669
25 2953 5906
26 3071 6142
27 3189 6378
28 3307 6614
29 3425 6850
30 3543 7087
31 3661 7323
32 3780 7559
33 3898 7795
34 4016 8031
35 4134 8268
36 4252 8504
37 4370 8740
38 4488 8976
39 4606 9213
40 4724 9449
41 4843 9685
42 4961 9921
43 5079 10157
44 5197 10394
45 5315 10630
46 5433 10866
47 5551 11102
48 5669 11339
49 5787 11575
50 5906 11811


Post a reply to this message

From: Tom Stone
Subject: Re: Feature question
Date: 15 May 2002 16:01:58
Message: <3CE2BEAB.5B9B2B1A@swipnet.se>
Thorsten Froehlich wrote:

Well, a very simple way without a calculator is to use a table.  Below you

> find one that lists in the first column the length centimeters, in the second
> the number of pixels for 300 dpi and the third column the number of pixels for
> 600 dpi.  The formula is "cm*dpi:2.54" which can be typed in a spreadsheet
> application and then be printed and attached to your screen as quick reference

I think I'll drop this topic before the next suggestion; that I should staple
that list to my forehead. ;-)

Thanks for the reply Thorsten.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.