POV-Ray : Newsgroups : povray.advanced-users : Vista buffer coordonates : Re: Vista buffer coordonates Server Time
29 Jul 2024 20:24:20 EDT (-0400)
  Re: Vista buffer coordonates  
From: Chris Colefax
Date: 5 Jan 2001 19:00:55
Message: <3a566037@news.povray.org>
Nicolet <Ste### [at] ensfr> wrote:
> Does anyone know if it would be possible to have PovRay output somewhere
> (standard console, file, whatever) the coordonates of the rectangles (in
> image pixels) it uses for the vista buffer feature ?
> Or alternatively, does anyone know how to get the coordinates (in the
> image) of the projection of the bounding boxes of objects ?

MegaPOV (http://nathan.kopp.com/patched.htm) includes a patch to return the
co-ordinates of objects' bounding boxes (min_extent and max_extent), which
will be included in POV 3.5.

I don't think there's any way to return the vista buffer co-ords (without
patching the source), but as I understand it the vista buffers are the 3D
bounding boxes projected onto the 2D camera space.  If you didn't want to
patch POV-Ray, it should be possible to duplicate the vista-buffer code in
POV-script....


Post a reply to this message

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