POV-Ray : Newsgroups : povray.newusers : Finding extents of an object : Re: Finding extents of an object Server Time
26 Sep 2021 22:12:04 EDT (-0400)
  Re: Finding extents of an object  
From: clipka
Date: 16 Jun 2021 05:16:05
Message: <60c9c155$1@news.povray.org>
Am 15.06.2021 um 22:27 schrieb Alain Martel:

> You can use max_extent(Object) and min_extent(Object) to relocate and 
> scale your objects correctly.
> Those return the far, top right and close bottom left of the bounding 
> box of Object.

Just for the records: It is worthy to note that the bounding box of an 
object is not necessarily a perfect fit; depending on the type of object 
and how it has been rotated, it might be noticeably larger.

The reason is that the bounding boxes' primary purpose is to be used 
internally during render to speed up calculations, but for that purpose 
they don't need to be perfect, as long as they contian the entire object.


Post a reply to this message

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