POV-Ray : Newsgroups : povray.general : 4.0 Feature discussion : Re: 4.0 Feature discussion Server Time
9 Aug 2024 01:27:19 EDT (-0400)
  Re: 4.0 Feature discussion  
From: Chris Huff
Date: 7 Sep 2000 16:37:52
Message: <chrishuff-B14C76.15393807092000@news.povray.org>
In article <39B79FDF.16E6555D@my-dejanews.com>, 
gre### [at] my-dejanewscom wrote:

> I can imagine how to do this with a few zillion trace calls and counting
> cubes, but not immediately how to do with object pattern.

Use eval_pattern() with the object pattern, using the object you are 
calculating the volume of as the control object for the pattern. Check 
eval_pattern() multiple times in a 3D grid and use the results to 
calculate the volume.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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