POV-Ray : Newsgroups : povray.advanced-users : volume calculations : Re: volume calculations Server Time
6 Oct 2024 16:14:27 EDT (-0400)
  Re: volume calculations  
From: Rune
Date: 12 Jan 2007 14:05:45
Message: <45a7dc09$1@news.povray.org>
Warp wrote:
> Mark Weyer <nomail@nomail> wrote:
>> If you make the surface transparent and fill the interior with a
>> uniformly emitting medium, then the sum over the pixels of an
>> orthographic rendering should give you a reasonable approximation of
>> the volume.
>
>  How can a 2-dimensional projection of a 3-dimensional object give you
> the volume of the object?

Because each pixel's color represents the volume of the object contained 
within the confines of the area of the object that is behind that pixel? The 
volume-to-color mapping is non-linear though, so one would have to know or 
test the mapping used, but that should be quite simple.

Rune
-- 
http://runevision.com


Post a reply to this message

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