POV-Ray : Newsgroups : povray.general : Designing Sizes : Re: Designing Sizes Server Time
6 Aug 2024 17:02:23 EDT (-0400)
  Re: Designing Sizes  
From: Christoph Hormann
Date: 26 Feb 2002 15:39:24
Message: <3C7BF27D.19C6895E@gmx.de>
Lieut_Data wrote:
> 
> [...]
> 
> One other thing... I am trying to correctly position items based on other
> items position, but I am running into a pitfall... I need the center of my
> drawers to be at the center of my frame. Is there a way to access the
> "center" of an object, i.e.

In Povray 3.5 there is a 'Center_Trans()' macro (in transforms.inc) which
tries to achieve this using min_extend and max_extend, but this is not
perfect of course.  

When you design the objects it should not be that difficult to know where
the center is.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 21 Feb. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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