POV-Ray : Newsgroups : povray.general : Modify already created object : Re: Modify already created object Server Time
8 Jul 2024 13:36:46 EDT (-0400)
  Re: Modify already created object  
From: clipka
Date: 29 Aug 2014 12:12:04
Message: <5400a654$1@news.povray.org>
Am 29.08.2014 16:21, schrieb bublible:

> BTW some other question: how can I access some array values? I mean vector
> values like ldd_camera_position variable consists of 3 values of x, y and z. Now
> how can I access them individually? I come from FLASH ActioScript2 scene and
> there you would do it easily like "ldd_camera_position[x]" where "x" is the
> index number beginning with 0...so how it is made in PovRay, please?

You can access the components of some vector MyVector as follows:

   MyVector.x
   MyVector.y
   MyVector.z


Post a reply to this message

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