POV-Ray : Newsgroups : povray.newusers : Coordinates of an object : Re: Coordinates of an object Server Time
28 Sep 2024 07:46:03 EDT (-0400)
  Re: Coordinates of an object  
From: sniper
Date: 25 Feb 2012 14:05:00
Message: <web.4f49305b189521bc5643b5860@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> sniper <nomail@nomail> wrote:
> > I have made an object, say dodecahedron. I defined vertices, then faces and
> > finally the cell. Then I transform the cell to an object. And then I scaled and
> > rotated it. Is there a possibility to transform back changed object for
> > achieving its coordinates of vertices? If no, how I could do this
> > mathematically? Thanks.
>
>   You can #declare a 'transform' block identifier and then apply that
> transformation to both an object and a point (using vtransform()).
>
> --
>                                                           - Warp

It works! Thank you all!


Post a reply to this message

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