POV-Ray : Newsgroups : povray.newusers : Volume and Area : Re: Volume and Area Server Time
29 Jul 2024 20:22:07 EDT (-0400)
  Re: Volume and Area  
From: Warp
Date: 18 Mar 2005 16:22:39
Message: <423b469f@news.povray.org>
kmac99 <nomail@nomail> wrote:
> Are there any provisions for POVRay to output statistics such as area or
> volume of a single object or some other correlated measure?

  I believe that problem borders the impossible in the general case.

  You can approximate the volume of an object by taking samples, but that's
inaccurate and slow.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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