POV-Ray : Newsgroups : povray.newusers : Units of measure : Re: Units of measure Server Time
4 Nov 2024 12:59:37 EST (-0500)
  Re: Units of measure  
From: Alan Smith
Date: 26 Aug 2003 10:11:48
Message: <3f4b6aa4@news.povray.org>
I agree it should support both, and don't wish to open a debate about the
relative merits of
different measuring systems.   At the moment I would achieve this by :-

#declare mm = 0.1;
#declare cm = 1;
#declare m = 100;
#declare in = 2.51*cm;
#declare ft = 12 * in;

but it would be so much nicer (and standardized) if it was built in.

Alan Smith

PS - Note the use of the 'z' in standardized (see I'm really not bothered,
both spelllings work
and I would like to use both!)

"Ken" <tyl### [at] pacbellnet> wrote in message
news:3F4B67EB.8E194FAB@pacbell.net...
>
>
> Alan Smith wrote:
> >
> > Am I correct that POV-Ray does not support units of measurement
> > ie (mm, cm, m, km, in, ft etc)?
> >
> > Wouldn't it be nice if POV allowed something like :-
> > box { <-2cm, -1cm, 10mm>,  <2cm, 1cm, 1cm> }
>
> I'm all for it as long as it is in inches, feet and yards rather than that
> stupid metric system.
>
> -- 
> Ken Tyler


Post a reply to this message

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