POV-Ray : Newsgroups : povray.binaries.images : unit meaning : Re: unit meaning Server Time
5 Nov 2024 11:20:36 EST (-0500)
  Re: unit meaning  
From: Zeger Knaepen
Date: 3 May 2009 14:50:25
Message: <49fde771@news.povray.org>
"maria" <mar### [at] gmailcom> wrote in message 
news:web.49fde016c23a6d96c4fcbca0@news.povray.org...
> Hello,
> I have an image and the total size looks like is 1 unit by 1 unit,
> but I could not find why and,
> what is the meaning of 1 unit?.
> Is 1 unit each square pixel?

1 unit is whatever you want it to be: 1 meter, 1 mile, 1 lightyear, 1 
nanometer

That being said, your first sentence isn't really clear.  I suppose you mean 
a height_field or an image_map? They're designed to by 1x1 unit in size by 
default.  Why?  Because anything else would be kind of arbitrary.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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