POV-Ray : Newsgroups : povray.binaries.images : unit meaning : Re: unit meaning Server Time
31 Jul 2024 20:12:46 EDT (-0400)
  Re: unit meaning  
From: Stephen
Date: 3 May 2009 14:59:38
Message: <pbqrv4dtcbsdr119fe2gd6f78ofqumo5jj@4ax.com>
On Sun,  3 May 2009 14:22:17 EDT, "maria" <mar### [at] gmailcom> wrote:

>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?
>

Hi Maria and welcome,

A Pov unit is whatever you want it to mean :)
It has no relation to real life units so it can be one meter, one kilometre one
centimetre or even a foot, yard or mile.
There is a problem if you mix very small and large distances so a scale model of
the solar system is a no-no.

If you are using a heightfield then the image fits into a 1 by 1 by 1 cube. So
scale the X-Y axis's by the image resolution and the z axis by the desired
height.
-- 

Regards
     Stephen


Post a reply to this message

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