POV-Ray : Newsgroups : povray.general : # of objects in a model : Re: # of objects in a model Server Time
5 Aug 2024 00:20:05 EDT (-0400)
  Re: # of objects in a model  
From: Mark Wagner
Date: 17 Jan 2003 01:06:17
Message: <pan.2003.01.17.06.05.01.719347.302@gte.net>
On Thu, 16 Jan 2003 16:59:55 -0500, gonzo quoth:

> I've been building a pretty complex model using numerous #while loops
> and macros. Is there a way to tell how many parts are in the final
> model?
> 
> POV tells me there are 1047 frame level objects, but what does that
> mean? (It was over 1100 before I added a macro that I estimate added
> another 200-300 pieces.)
> 
> My guesstimate so far is about 3700 parts, but I'd really like to have a
> precise number.

In order to do this, you'll need to replace all "difference",
"intersection", and "merge" keywords with "union", then render.  The
resulting model won't look anything like your original model, but the
"frame level objects" count will be the number of parts in the model.

A "frame level" object is any object that is in the "top level" of the
scene; that is, not part of a difference, merge, or intersection, and that
is not a bounding or clipping object.

-- 
Mark


Post a reply to this message

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