POV-Ray : Newsgroups : povray.general : access object attributes : Re: access object attributes Server Time
29 Jul 2024 02:34:58 EDT (-0400)
  Re: access object attributes  
From: s day
Date: 15 May 2013 14:55:01
Message: <web.5193d9d98cb402123449e5060@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote:
> 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-

Thanks, just what I needed.

Sean


Post a reply to this message

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