POV-Ray : Newsgroups : povray.newusers : How to change union or merge object's "center" ? : Re: How to change union or merge object's "center" ? Server Time
2 Nov 2024 05:19:24 EDT (-0400)
  Re: How to change union or merge object's "center" ?  
From: Slime
Date: 27 Aug 2004 18:28:35
Message: <412fb593@news.povray.org>
> that is, say for example I joined some objects together and wanted to make
> them rotate ... is there an easy way to reset what the (0,0,0) point of
the
> large, combined object is so that I don't have to do a bunch of voodoo in
> the rotate statement?

#declare center_point = <1,2,3>;

translate -center_point
// transformations...
translate center_point

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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