POV-Ray : Newsgroups : povray.newusers : Coordinates of an object : Re: Coordinates of an object Server Time
27 Jun 2024 17:19:59 EDT (-0400)
  Re: Coordinates of an object  
From: Warp
Date: 25 Feb 2012 13:28:22
Message: <4f492846@news.povray.org>
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


Post a reply to this message

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