POV-Ray : Newsgroups : povray.newusers : Rotating : Re: Rotating Server Time
30 Jul 2024 00:18:50 EDT (-0400)
  Re: Rotating  
From: Warp
Date: 9 Dec 2004 19:14:31
Message: <41b8ea67@news.povray.org>
Bryan Heit <bjh### [at] nospamucalgaryca> wrote:
>  What I was wondering is if there was a way to set-up 
> an object such that the "centre of rotation" was at a specified place, 
> rather then where the computer assigns it.

translate -CenterOfRotation
rotate Whatever
translate CenterOfRotation

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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