POV-Ray : Newsgroups : povray.general : access object attributes : Re: access object attributes Server Time
29 Jul 2024 02:20:11 EDT (-0400)
  Re: access object attributes  
From: Nekar Xenos
Date: 15 May 2013 13:38:42
Message: <op.ww4zasp7ufxv4h@xena>
On Wed, 15 May 2013 19:19:54 +0200, s.day <s.d### [at] uelacuk> wrote:

> Hi,
>
> Is it possible to access an object attributes (position).
>
> e.g.
>
> I have declared an object that is an intersection of several objects and
> translated it to a location. This object is held in an array.
>
> Can I then access the x, y, z location of that object somehow?
>
> Thanks
>
> Seanb
>

ObjectCenter = min_extent(Object)+.5*(max_extent(Object)-minExtent(Object))


-- 
-Nekar Xenos-


Post a reply to this message

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